:root{
  --font-heading:"Sora",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --font-body:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --text-xs:.75rem;--text-sm:.875rem;--text-base:1rem;--text-lg:1.125rem;--text-xl:1.25rem;--text-2xl:1.5rem;--text-3xl:clamp(1.75rem,4vw,2.5rem);--text-4xl:clamp(2.25rem,5vw,3.35rem);
  --orange-500:#ff7a00;--orange-600:#e86f00;--yellow-400:#ffb800;--green-500:#22c55e;--red-500:#ef4444;--blue-500:#3b82f6;--purple-500:#8b5cf6;
  --gray-50:#f9fafb;--gray-100:#f3f4f6;--gray-200:#e5e7eb;--gray-300:#d1d5db;--gray-500:#6b7280;--gray-700:#374151;--gray-900:#111827;
  --orange-soft:#fff4e6;--surface:#fff;--surface-warm:#fffaf3;
  --radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:22px;--radius-2xl:28px;
  --shadow-sm:0 6px 16px rgba(17,24,39,.06);--shadow-md:0 14px 32px rgba(17,24,39,.09);--shadow-lg:0 28px 70px rgba(17,24,39,.14);--shadow-card:0 16px 36px rgba(17,24,39,.08);
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:28px;--space-8:32px;--space-9:36px;--space-10:40px;--space-11:44px;--space-12:48px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;max-width:100%;overflow-x:hidden}
body{max-width:100%;overflow-x:hidden;margin:0;background:linear-gradient(180deg,#fff 0,#fff7ed 360px,var(--gray-50) 361px);color:var(--gray-900);font-family:var(--font-body);font-size:var(--text-base);line-height:1.5}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.icon{width:20px;height:20px;flex:0 0 auto}.icon.small{width:16px;height:16px}
.app-header{position:sticky;top:0;z-index:70;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:var(--space-4);padding:var(--space-3) clamp(var(--space-4),4vw,56px);background:rgba(255,255,255,.9);border-bottom:1px solid rgba(229,231,235,.86);backdrop-filter:blur(18px)}
.brand{display:flex;align-items:center;gap:var(--space-3);min-width:0}.brand-logo{width:172px;height:auto}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:linear-gradient(135deg,var(--orange-500),var(--yellow-400));color:#fff;font-family:var(--font-heading);font-weight:800;box-shadow:0 10px 22px rgba(255,122,0,.26)}.brand strong{display:block;font-family:var(--font-heading);font-size:var(--text-lg);line-height:1}.brand small{display:block;color:var(--gray-500);font-size:var(--text-xs);font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.header-status{justify-self:start;display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border:1px solid var(--gray-200);border-radius:999px;background:#fff;box-shadow:var(--shadow-sm)}.header-status b{font-size:var(--text-sm);color:#15803d}.header-status small{color:var(--gray-500);font-size:var(--text-sm)}.status-dot{width:9px;height:9px;border-radius:50%;background:var(--green-500);box-shadow:0 0 0 4px rgba(34,197,94,.14)}
.header-action{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);border:1px solid var(--gray-200);border-radius:999px;padding:0 var(--space-4);background:#fff;font-weight:900;box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.header-action:hover{transform:translateY(-1px);box-shadow:var(--shadow-md);border-color:#fed7aa}.cart-pill{background:var(--gray-900);border-color:var(--gray-900);color:#fff}.cart-pill b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--orange-500);font-size:var(--text-xs)}
.app-layout{max-width:1480px;margin:0 auto;padding:var(--space-5) clamp(var(--space-4),4vw,56px) 140px}
.restaurant-card{display:grid;grid-template-columns:minmax(300px,.86fr) minmax(360px,1.14fr);align-items:center;gap:var(--space-5);padding:var(--space-4);border:1px solid rgba(229,231,235,.9);border-radius:var(--radius-2xl);background:rgba(255,255,255,.86);box-shadow:var(--shadow-lg);overflow:hidden}.restaurant-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(var(--space-3),3vw,var(--space-7));min-height:420px}.pill-row{display:flex;gap:var(--space-2);flex-wrap:wrap;min-width:0}.pill{display:inline-flex;align-items:center;gap:var(--space-2);width:max-content;max-width:100%;padding:9px 12px;border:1px solid var(--gray-200);border-radius:999px;background:#fff;color:var(--gray-700);font-size:var(--text-sm);font-weight:900;white-space:nowrap}.pill.strong{border-color:#fed7aa;background:var(--orange-soft);color:var(--orange-600)}
h1{font-family:var(--font-heading);font-size:var(--text-4xl);line-height:.98;letter-spacing:0;margin:var(--space-5) 0 var(--space-3)}.restaurant-card p{max-width:680px;margin:0;color:var(--gray-500);font-size:var(--text-lg)}
.service-facts{display:grid;grid-template-columns:1fr;gap:var(--space-3);margin-top:var(--space-6)}.service-facts span{min-width:0;display:grid;grid-template-columns:auto 1fr;column-gap:var(--space-2);row-gap:2px;align-items:center;padding:var(--space-3);border:1px solid var(--gray-200);border-radius:var(--radius-lg);background:var(--gray-50)}.service-facts b{min-width:0;font-size:var(--text-sm)}.service-facts small{grid-column:2;color:var(--gray-500);font-size:var(--text-xs);font-weight:800;text-transform:uppercase}
.restaurant-media{position:relative;border-radius:var(--radius-xl);overflow:hidden;background:var(--orange-soft);height:420px}.restaurant-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,122,0,.08))}.restaurant-media img{width:100%;height:100%;object-fit:cover}
.menu-workspace{margin-top:var(--space-5)}.menu-column{min-width:0}.sticky-menu-tools{position:sticky;top:69px;z-index:50;margin:0 0 var(--space-4);padding:var(--space-3) 0;background:linear-gradient(180deg,rgba(249,250,251,.98),rgba(249,250,251,.92));backdrop-filter:blur(14px)}
.search-box{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:var(--space-3);min-height:58px;padding:0 var(--space-4);border:1px solid var(--gray-200);border-radius:var(--radius-xl);background:#fff;box-shadow:var(--shadow-sm)}.search-box span{color:var(--gray-500);font-size:var(--text-xs);font-weight:900;letter-spacing:.08em;text-transform:uppercase}.search-box input{width:100%;border:0;outline:0;color:var(--gray-900);font-size:var(--text-lg);font-weight:700;background:transparent}
.category-tabs{position:relative;display:flex;gap:var(--space-2);overflow-x:auto;scrollbar-width:none;padding:var(--space-3) 0 var(--space-1)}.category-tabs::-webkit-scrollbar{display:none}.category-tabs button{position:relative;flex:0 0 auto;min-height:42px;border:1px solid var(--gray-200);border-radius:999px;background:#fff;color:var(--gray-700);padding:0 var(--space-4);font-size:var(--text-sm);font-weight:900;white-space:nowrap;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}.category-tabs button:hover{transform:translateY(-1px);border-color:#fed7aa}.category-tabs button.active{background:var(--orange-500);border-color:var(--orange-500);color:#fff;box-shadow:0 10px 22px rgba(255,122,0,.22)}
.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4);align-items:stretch}.product-card{min-height:390px;display:grid;grid-template-rows:auto 1fr;background:#fff;border:1px solid rgba(229,231,235,.92);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);overflow:hidden;animation:cardIn .28s ease both;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:#fed7aa}.product-media{position:relative;background:linear-gradient(135deg,#fff7ed,#fff);overflow:hidden}.product-media img{width:100%;aspect-ratio:1.12;object-fit:cover}.product-media .badge{position:absolute;left:var(--space-3);top:var(--space-3)}
.product-body{display:grid;grid-template-rows:auto auto 1fr auto;gap:var(--space-2);padding:var(--space-4)}.product-card h3{margin:0;font-family:var(--font-heading);font-size:var(--text-lg);line-height:1.18}.product-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;margin:0;color:var(--gray-500);font-size:var(--text-sm);overflow:hidden}.product-foot{align-self:end;display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding-top:var(--space-2)}.price{font-family:var(--font-heading);font-size:var(--text-xl);font-weight:800}.badge{display:inline-flex;align-items:center;gap:var(--space-1);width:max-content;border-radius:999px;background:#fff;color:var(--orange-600);border:1px solid #fed7aa;font-size:var(--text-xs);font-weight:900;padding:6px 9px;box-shadow:var(--shadow-sm)}
.add-btn,.stepper button,.icon-button{display:grid;place-items:center;border:0;border-radius:50%;background:var(--orange-500);color:#fff;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}.add-btn{width:46px;height:46px;box-shadow:0 12px 24px rgba(255,122,0,.24)}.add-btn:hover{background:var(--orange-600);transform:scale(1.04)}.stepper{display:inline-flex;align-items:center;gap:var(--space-2);border:1px solid #fed7aa;border-radius:999px;background:var(--orange-soft);padding:5px}.stepper button{width:34px;height:34px}.stepper b{min-width:22px;text-align:center}
.empty-card,.loading-card,.skeleton-card{grid-column:1/-1;border:1px dashed var(--gray-200);border-radius:var(--radius-xl);background:#fff;padding:var(--space-8);text-align:center;color:var(--gray-500);font-weight:800}.skeleton-card{min-height:350px;background:linear-gradient(90deg,#fff,#f3f4f6,#fff);background-size:220% 100%;animation:skeleton 1.1s linear infinite}
.sheet-backdrop{position:fixed;inset:0;z-index:80;background:rgba(17,24,39,.38);opacity:0;pointer-events:none;transition:opacity .22s ease}.cart-open .sheet-backdrop{opacity:1;pointer-events:auto}.cart-sheet{position:fixed;right:0;top:0;z-index:90;width:min(468px,100%);height:100dvh;display:flex;flex-direction:column;background:#fff;box-shadow:var(--shadow-lg);transform:translateX(100%);transition:transform .24s ease}.cart-open .cart-sheet{transform:translateX(0)}
.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-5);border-bottom:1px solid var(--gray-200)}.sheet-head b{display:block;font-family:var(--font-heading);font-size:var(--text-xl)}.sheet-head small{display:block;color:var(--gray-500)}.eyebrow{display:block;margin-bottom:2px;color:var(--orange-600);font-size:var(--text-xs);font-weight:900;letter-spacing:.08em;text-transform:uppercase}.icon-button{width:42px;height:42px;background:var(--gray-100);color:var(--gray-900)}.icon-button:hover{background:var(--gray-200)}
.cart-items{padding:var(--space-4) var(--space-5);overflow:auto;max-height:30vh}.cart-row{display:grid;grid-template-columns:1fr auto;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--gray-200)}.cart-row b{display:block;font-weight:900}.cart-row strong{font-family:var(--font-heading)}.qty{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-2)}.qty button{width:30px;height:30px;border:1px solid var(--gray-200);border-radius:50%;background:#fff;color:var(--gray-900)}.empty{margin:0;padding:var(--space-4);border-radius:var(--radius-lg);background:var(--gray-50);color:var(--gray-500);font-weight:800;text-align:center}
.checkout-form{display:grid;gap:var(--space-3);padding:0 var(--space-5) max(var(--space-5),env(safe-area-inset-bottom));overflow:auto}.checkout-block{display:grid;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--gray-200);border-radius:var(--radius-xl);background:#fff}.delivery-box{background:linear-gradient(180deg,#fff7ed,#fff)}.block-title{display:flex;align-items:center;gap:var(--space-2);font-family:var(--font-heading)}.checkout-form label{display:grid;gap:7px;color:var(--gray-700);font-size:var(--text-sm);font-weight:900}.checkout-form input,.checkout-form textarea,.checkout-form select{width:100%;border:1px solid var(--gray-200);border-radius:var(--radius-md);padding:12px 13px;background:#fff;color:var(--gray-900);outline:0;transition:border-color .18s ease,box-shadow .18s ease}.checkout-form input:focus,.checkout-form textarea:focus,.checkout-form select:focus{border-color:var(--orange-500);box-shadow:0 0 0 4px rgba(255,122,0,.12)}.checkout-form textarea{min-height:80px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3)}
.secondary-button,.submit-order{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);border:0;border-radius:var(--radius-md);font-weight:950}.secondary-button{background:var(--gray-100);color:var(--gray-900);padding:0 var(--space-4)}.submit-order{width:100%;background:linear-gradient(135deg,var(--orange-500),var(--orange-600));color:#fff;padding:0 var(--space-5);box-shadow:0 14px 28px rgba(255,122,0,.24)}.submit-order.loading{pointer-events:none;opacity:.85}.submit-order.loading:after{content:"";width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;animation:spin .7s linear infinite}
.totals{display:grid;gap:var(--space-2);padding:var(--space-4);border:1px solid var(--gray-200);border-radius:var(--radius-xl);background:var(--gray-50)}.totals div{display:flex;align-items:center;justify-content:space-between}.totals span{color:var(--gray-500);font-weight:800}.totals b{font-family:var(--font-heading)}.totals .grand{padding-top:var(--space-2);border-top:1px solid var(--gray-200);font-size:var(--text-xl)}.form-message{min-height:22px;margin:0;color:var(--red-500);font-weight:800}
.mobile-cart{position:fixed;left:var(--space-4);right:var(--space-4);bottom:max(var(--space-4),env(safe-area-inset-bottom));z-index:65;display:none;grid-template-columns:auto auto 1fr;align-items:center;gap:var(--space-3);min-height:58px;border:0;border-radius:var(--radius-xl);background:var(--gray-900);color:#fff;padding:0 var(--space-4);box-shadow:var(--shadow-lg)}.mobile-cart span{display:grid;place-items:center;min-width:30px;height:30px;border-radius:999px;background:var(--orange-500);font-weight:950}.mobile-cart b{text-align:left;white-space:nowrap}.mobile-cart small{justify-self:end;color:#d1d5db;font-weight:900}
.toast{position:fixed;left:50%;bottom:88px;z-index:120;max-width:calc(100vw - 32px);padding:12px 16px;border-radius:999px;background:var(--gray-900);color:#fff;font-weight:900;box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;transform:translateX(-50%) translateY(16px);transition:opacity .2s ease,transform .2s ease}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.cart-bounce{animation:bounce .28s ease}.pulse{animation:pulse .32s ease}
.success-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 0,#fff4e6,#fff 42%,var(--gray-50));padding:var(--space-5)}.success-card{width:min(560px,100%);display:grid;justify-items:center;text-align:center;gap:var(--space-3);padding:var(--space-9);border:1px solid var(--gray-200);border-radius:var(--radius-2xl);background:#fff;box-shadow:var(--shadow-lg)}.success-card h1{margin:0;font-size:var(--text-3xl)}.success-card p{margin:0;color:var(--gray-500)}.success-icon{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:var(--green-500);color:#fff;animation:successPop .45s ease both}.success-icon .icon{width:36px;height:36px}.success-actions{display:flex;gap:var(--space-3);flex-wrap:wrap;margin-top:var(--space-3)}.success-actions .submit-order,.success-actions .secondary-button{width:auto;padding:0 var(--space-5)}
@keyframes cardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes skeleton{to{background-position:-220% 0}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes bounce{50%{transform:scale(1.12)}}@keyframes pulse{50%{transform:scale(1.06)}}@keyframes successPop{0%{opacity:0;transform:scale(.72)}70%{transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}
@media(min-width:1180px){.app-layout{padding-right:512px}.cart-sheet{top:92px;right:clamp(var(--space-4),3vw,40px);height:calc(100dvh - 120px);border:1px solid var(--gray-200);border-radius:var(--radius-2xl);transform:none}.sheet-backdrop,.sheet-head .icon-button{display:none}.checkout-form{padding-bottom:var(--space-5)}}
@media(max-width:1040px){.restaurant-card{grid-template-columns:1fr}.restaurant-copy{min-height:auto}.restaurant-media{height:260px}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-facts{grid-template-columns:1fr 1fr}.header-status small{display:none}}
@media(max-width:720px){.app-header{grid-template-columns:auto;padding:10px var(--space-3)}.brand-logo{width:158px}.support,.cart-pill{display:none}.header-status{justify-self:end;padding:8px 10px}.brand small{display:none}.app-layout{padding:var(--space-3) var(--space-3) 128px;overflow-x:hidden}.restaurant-card{grid-template-columns:1fr;border-radius:var(--radius-xl);padding:var(--space-3);gap:var(--space-3)}.restaurant-copy{min-height:auto;padding:var(--space-3);overflow:hidden}.restaurant-card h1{font-size:2rem;line-height:1.04;margin:var(--space-4) 0 var(--space-2);overflow-wrap:anywhere}.restaurant-card p{font-size:var(--text-base);overflow-wrap:anywhere}.service-facts{grid-template-columns:1fr;gap:var(--space-2);margin-top:var(--space-4)}.restaurant-media{height:190px}.sticky-menu-tools{top:65px}.search-box{grid-template-columns:auto 1fr;min-height:54px}.search-box span{display:none}.search-box input{font-size:var(--text-base)}.menu-grid{grid-template-columns:1fr;gap:var(--space-3)}.product-card{min-height:0;grid-template-columns:118px 1fr;grid-template-rows:auto}.product-media img{height:100%;aspect-ratio:auto;min-height:154px}.product-body{padding:var(--space-3)}.product-card p{min-height:auto}.mobile-cart{display:grid}.mobile-cart small{justify-self:end;white-space:nowrap}.cart-sheet{top:auto;bottom:0;height:min(90dvh,760px);border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;transform:translateY(100%)}.cart-open .cart-sheet{transform:translateY(0)}.cart-items{max-height:22vh}.form-grid{grid-template-columns:1fr}.checkout-form{padding-left:var(--space-4);padding-right:var(--space-4)}}
@media(max-width:430px){body{overflow-x:hidden}.brand-logo{width:150px}.brand-mark{width:40px;height:40px;border-radius:13px}.brand strong{font-size:var(--text-base)}.header-status,.rating-pill{display:none!important}.header-action{min-width:42px;padding:0 12px}.restaurant-card h1{font-size:1.82rem}.pill-row{gap:6px}.pill{font-size:.78rem;padding:7px 9px}.mobile-cart small{font-size:0}.mobile-cart small:after{content:"Panier";font-size:var(--text-sm)}.product-card{grid-template-columns:104px 1fr}.product-media img{min-height:148px}.product-card h3{font-size:1rem}.price{font-size:1.05rem}.add-btn{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Smart menu finish */
.app-loading{position:fixed;inset:0;z-index:999;display:grid;place-items:center;gap:18px;background:radial-gradient(circle at 50% 38%,#fff4e6,#fff 48%,#f9fafb);transition:opacity .32s ease,visibility .32s ease}.app-loading img{width:min(230px,70vw);filter:drop-shadow(0 18px 32px rgba(255,122,0,.18));animation:loaderPop .72s ease both}.app-loading span{width:min(260px,70vw);height:5px;border-radius:999px;background:linear-gradient(90deg,#ffb800,#ff7a00,#e86f00);background-size:180% 100%;animation:loaderBar 1s ease infinite}.app-ready .app-loading{opacity:0;visibility:hidden;pointer-events:none}
.hero-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-5)}.hero-cta{min-height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 var(--space-5);font-weight:950;box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease}.hero-cta:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}.hero-cta.primary{background:linear-gradient(135deg,var(--orange-500),var(--orange-600));color:#fff}.hero-cta.secondary{border:1px solid #fed7aa;background:#fff;color:var(--orange-600)}
.clear-search{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:var(--gray-100);color:var(--gray-700)}.search-box{grid-template-columns:auto auto 1fr auto}.search-box.searching{border-color:#fed7aa;box-shadow:0 0 0 4px rgba(255,122,0,.1),var(--shadow-sm)}
.quick-chips{display:flex;gap:var(--space-2);overflow-x:auto;scrollbar-width:none;padding:var(--space-3) 0 0}.quick-chips::-webkit-scrollbar{display:none}.quick-chips button{flex:0 0 auto;min-height:36px;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;color:var(--orange-600);font-size:var(--text-sm);font-weight:950;padding:0 var(--space-3);transition:transform .18s ease,background .18s ease}.quick-chips button:hover{transform:translateY(-1px);background:#fff}
.menu-context{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) 0 0;color:var(--gray-500);font-size:var(--text-sm);font-weight:850}.menu-context span{font-size:var(--text-xs);letter-spacing:.08em;text-transform:uppercase}.menu-context b{color:var(--gray-900);font-family:var(--font-heading);font-size:var(--text-base)}.menu-context small{margin-left:auto;border:1px solid var(--gray-200);border-radius:999px;background:#fff;padding:5px 9px;color:var(--gray-500);font-size:var(--text-xs);font-weight:900}
.menu-grid{display:grid;grid-template-columns:1fr;gap:var(--space-8)}.category-section{scroll-margin-top:194px;display:grid;gap:var(--space-4)}.category-section-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:var(--space-4);padding:var(--space-4);border:1px solid rgba(229,231,235,.92);border-radius:var(--radius-xl);background:linear-gradient(135deg,#fff,#fffaf3);box-shadow:var(--shadow-sm)}.category-section-head>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--orange-soft);color:var(--orange-600);font-family:var(--font-heading);font-weight:950}.category-section-head h2{margin:0;font-family:var(--font-heading);font-size:var(--text-2xl);line-height:1.08}.category-section-head p{margin:4px 0 0;color:var(--gray-500);font-size:var(--text-sm)}.category-section-head b{justify-self:end;border-radius:999px;background:#fff;border:1px solid var(--gray-200);padding:8px 11px;color:var(--gray-700);font-size:var(--text-xs);font-weight:950;white-space:nowrap}
.category-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4);align-items:stretch}.no-results{display:grid;justify-items:center;gap:var(--space-2)}.no-results .icon{color:var(--orange-500)}.no-results h3{margin:0;font-family:var(--font-heading);font-size:var(--text-2xl);color:var(--gray-900)}.no-results p{margin:0}.no-results button{min-height:42px;border:0;border-radius:999px;background:var(--orange-500);color:#fff;font-weight:950;padding:0 var(--space-5)}
@keyframes loaderPop{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}@keyframes loaderBar{50%{background-position:100% 0}}
@media(max-width:1040px){.category-products{grid-template-columns:repeat(2,minmax(0,1fr))}.category-section{scroll-margin-top:190px}}
@media(max-width:720px){.hero-actions{display:grid;grid-template-columns:1fr;gap:var(--space-2)}.hero-cta{width:100%;min-height:44px;padding:0 var(--space-3);font-size:var(--text-sm)}.restaurant-card p{max-width:100%;overflow-wrap:break-word}.search-box{grid-template-columns:auto 1fr auto}.quick-chips{padding-top:var(--space-2)}.menu-context{gap:6px;align-items:flex-start}.menu-context span{display:none}.menu-context small{margin-left:0}.category-section{scroll-margin-top:214px;gap:var(--space-3)}.category-section-head{grid-template-columns:auto 1fr;padding:var(--space-3);gap:var(--space-3)}.category-section-head b{grid-column:2;justify-self:start}.category-section-head h2{font-size:var(--text-xl)}.category-section-head p{font-size:var(--text-xs)}.category-products{grid-template-columns:1fr;gap:var(--space-3)}}
@media(max-width:430px){.app-loading img{width:210px}.category-section{scroll-margin-top:224px}.category-section-head>span{width:36px;height:36px;border-radius:12px}.quick-chips button{font-size:.82rem;padding:0 11px}.menu-context b{font-size:.95rem}.restaurant-media{height:178px}}
@media(prefers-reduced-motion:reduce){.app-loading{display:none}.app-ready .app-loading{display:none}}

/* Smart cart checkout flow */
.cart-sheet{overflow:hidden}.cart-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-2);padding:var(--space-3) var(--space-5);border-bottom:1px solid var(--gray-200);background:#fff}.cart-progress span{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;border:1px solid var(--gray-200);border-radius:999px;background:var(--gray-50);padding:8px 6px;color:var(--gray-500);font-size:var(--text-xs);font-weight:950;white-space:nowrap}.cart-progress b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:var(--gray-700);font-size:var(--text-xs)}.cart-progress span.active{background:var(--orange-soft);border-color:#fed7aa;color:var(--orange-600)}.cart-progress span.active b{background:var(--orange-500);color:#fff}
.cart-items{max-height:none;flex:1 1 auto;padding:var(--space-4) var(--space-5);overflow:auto}.cart-list{display:grid;gap:var(--space-3)}.smart-cart-item{display:grid;grid-template-columns:82px 1fr;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--gray-200);border-radius:var(--radius-xl);background:#fff;box-shadow:var(--shadow-sm);transition:opacity .18s ease,transform .18s ease}.smart-cart-item.removing{opacity:0;transform:translateX(18px)}.smart-cart-item.qty-pulse{animation:pulse .24s ease}.smart-cart-item img{width:82px;height:82px;border-radius:var(--radius-lg);object-fit:cover;background:var(--orange-soft)}.smart-cart-main{min-width:0;display:grid;gap:var(--space-3)}.smart-cart-title{display:grid;grid-template-columns:1fr auto;gap:var(--space-2);align-items:start}.smart-cart-title b{display:block;font-family:var(--font-heading);font-size:var(--text-base);line-height:1.15}.smart-cart-title small{display:block;margin-top:3px;color:var(--gray-500);font-size:var(--text-xs);font-weight:850}.remove-item{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--gray-200);border-radius:50%;background:var(--gray-50);color:var(--red-500)}.smart-cart-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.smart-cart-foot strong{font-family:var(--font-heading);font-size:var(--text-lg)}.empty-cart-state{min-height:320px;display:grid;place-items:center;text-align:center;align-content:center;gap:var(--space-3);padding:var(--space-8);border:1px dashed var(--gray-200);border-radius:var(--radius-xl);background:linear-gradient(180deg,#fff,#fff7ed)}.empty-cart-state .icon{width:42px;height:42px;color:var(--orange-500)}.empty-cart-state h3{margin:0;font-family:var(--font-heading);font-size:var(--text-2xl)}.empty-cart-state p{margin:0;color:var(--gray-500);font-weight:800}.empty-cart-state button{min-height:44px;border:0;border-radius:999px;background:var(--orange-500);color:#fff;font-weight:950;padding:0 var(--space-5)}
.checkout-form{flex:1 1 auto;min-height:0}.cart-pane{display:none;animation:cardIn .22s ease both}.cart-pane.active{display:grid}.delivery-badge{display:inline-flex;width:max-content;align-items:center;border:1px solid #fed7aa;border-radius:999px;background:var(--orange-soft);color:var(--orange-600);padding:7px 10px;font-size:var(--text-xs);font-weight:950}.delivery-box #deliveryHint{margin:0;color:var(--gray-500);font-weight:850}.delivery-box #deliveryHint.success{color:#15803d}.delivery-box #deliveryHint.error{color:var(--red-500)}.delivery-box #deliveryHint.loading-text{color:var(--orange-600)}.final-review{display:grid;gap:var(--space-2);padding:var(--space-3);border:1px solid var(--gray-200);border-radius:var(--radius-lg);background:var(--gray-50)}.final-review>b{font-family:var(--font-heading)}.final-review span{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.final-review small{color:var(--gray-500);font-weight:850}.final-review strong{font-family:var(--font-heading)}.minimum-warning{margin:var(--space-2) 0 0;padding:9px 10px;border-radius:var(--radius-md);background:#fff7ed;color:var(--orange-600);font-weight:950}.cart-actions{position:sticky;bottom:0;z-index:5;display:grid;grid-template-columns:auto 1fr;gap:var(--space-2);padding-top:var(--space-2);background:linear-gradient(180deg,rgba(255,255,255,.7),#fff 34%)}.cart-actions .submit-order{grid-column:1/-1}.cart-actions #addMoreItems{grid-column:1/-1}.cart-actions #cartBack[hidden]+#addMoreItems{grid-column:1/-1}.submit-order.success{background:var(--green-500)}
@media(min-width:1180px){.cart-sheet{display:flex}.cart-items{max-height:none}.totals{position:sticky;bottom:72px}.cart-actions{padding-bottom:0}}
@media(max-width:720px){.cart-progress{padding:var(--space-3) var(--space-4);gap:6px}.cart-progress span{font-size:.7rem;padding:7px 4px}.cart-progress b{width:20px;height:20px}.cart-items{padding:var(--space-3) var(--space-4)}.smart-cart-item{grid-template-columns:72px 1fr;padding:10px}.smart-cart-item img{width:72px;height:72px}.smart-cart-title b{font-size:.96rem}.smart-cart-foot strong{font-size:var(--text-base)}.checkout-form{padding-bottom:max(var(--space-4),env(safe-area-inset-bottom))}.cart-actions{margin-left:calc(var(--space-4) * -1);margin-right:calc(var(--space-4) * -1);padding:var(--space-3) var(--space-4) max(var(--space-3),env(safe-area-inset-bottom));border-top:1px solid var(--gray-200);box-shadow:0 -12px 28px rgba(17,24,39,.07)}.totals{position:sticky;bottom:76px;z-index:4}.sheet-head{position:sticky;top:0;z-index:7;background:#fff}.cart-progress{position:sticky;top:82px;z-index:6}}
@media(max-width:430px){.cart-progress span{gap:4px}.smart-cart-item{grid-template-columns:64px 1fr}.smart-cart-item img{width:64px;height:64px}.remove-item{width:30px;height:30px}.cart-actions{grid-template-columns:1fr}.cart-actions .secondary-button,.cart-actions .submit-order{grid-column:1/-1}}

/* Cart scroll and category navigation hardening */
[hidden]{display:none!important}
.cart-sheet{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto auto;overflow:hidden;overscroll-behavior:contain}.sheet-head{grid-row:1}.cart-progress{grid-row:2}.cart-items{grid-row:3;min-height:0;max-height:none!important;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.checkout-form{display:contents!important}.cart-pane{grid-row:3;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;margin:0 var(--space-5);padding:var(--space-4) 0}.totals{grid-row:4;margin:0 var(--space-5) var(--space-2);position:static!important}.cart-actions{grid-row:5;position:static!important;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-5) max(var(--space-4),env(safe-area-inset-bottom));border-top:1px solid rgba(229,231,235,.9);background:rgba(255,255,255,.92);backdrop-filter:blur(16px);box-shadow:0 -16px 34px rgba(17,24,39,.08)}.cart-actions .secondary-button{min-height:44px;border:1px solid var(--gray-200);background:#fff;color:var(--gray-700);box-shadow:none}.cart-actions .submit-order{grid-column:auto;width:100%;min-height:52px;border-radius:var(--radius-lg)}.cart-actions #addMoreItems{grid-column:auto}.cart-actions #cartBack{grid-column:auto}.cart-actions #cartNext,.cart-actions #submitOrder{grid-column:2}.cart-actions #cartBack:not([hidden])+#addMoreItems{display:none!important}
.category-tabs button{display:inline-flex;align-items:center;gap:8px}.category-tabs button small{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--gray-100);color:var(--gray-500);font-size:var(--text-xs);font-weight:950}.category-tabs button.active small{background:rgba(255,255,255,.2);color:#fff}.category-menu-button{display:none;min-height:38px;border:1px solid #fed7aa;border-radius:999px;background:#fff;color:var(--orange-600);font-weight:950;padding:0 var(--space-4);box-shadow:var(--shadow-sm)}
.category-sheet{position:fixed;inset:0;z-index:110;display:grid;align-items:end;background:rgba(17,24,39,.34);opacity:0;pointer-events:none;transition:opacity .2s ease}.category-open .category-sheet{opacity:1;pointer-events:auto}.category-sheet-panel{width:100%;max-height:min(72dvh,620px);display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;background:#fff;box-shadow:var(--shadow-lg);transform:translateY(16px);transition:transform .22s ease}.category-open .category-sheet-panel{transform:translateY(0)}.category-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:var(--space-4);border-bottom:1px solid var(--gray-200)}.category-sheet-head b{font-family:var(--font-heading);font-size:var(--text-xl)}.category-sheet-list{display:grid;gap:var(--space-2);padding:var(--space-4);overflow:auto;-webkit-overflow-scrolling:touch}.category-sheet-list button{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:48px;border:1px solid var(--gray-200);border-radius:var(--radius-lg);background:#fff;padding:0 var(--space-4);color:var(--gray-900);font-weight:950}.category-sheet-list button b{display:grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:var(--gray-100);color:var(--gray-500);font-size:var(--text-xs)}.category-sheet-list button.active{border-color:#fed7aa;background:var(--orange-soft);color:var(--orange-600)}.category-sheet-list button.active b{background:var(--orange-500);color:#fff}
@media(min-width:1180px){.cart-sheet{grid-template-rows:auto auto minmax(0,1fr) auto auto}.cart-pane{margin:0 var(--space-5)}.cart-actions{padding-bottom:var(--space-5)}}
@media(max-width:720px){body.cart-open{overflow:hidden}.cart-open .cart-sheet,.cart-open .cart-sheet *{touch-action:auto}.cart-sheet{height:min(92dvh,780px)!important;max-height:92dvh}.cart-pane{margin:0 var(--space-4);padding:var(--space-3) 0}.totals{margin:0 var(--space-4) var(--space-2)}.cart-actions{grid-template-columns:auto 1fr;margin:0!important;padding:var(--space-3) var(--space-4) max(var(--space-3),env(safe-area-inset-bottom))}.cart-actions .secondary-button{min-height:42px;padding:0 var(--space-3);font-size:var(--text-sm)}.cart-actions .submit-order{min-height:52px}.category-menu-button{display:inline-flex;align-items:center;justify-content:center;margin-top:var(--space-2)}.category-tabs{padding-bottom:var(--space-2)}.category-section{scroll-margin-top:238px}}
@media(max-width:430px){.cart-actions{grid-template-columns:auto 1fr}.cart-actions .secondary-button{white-space:nowrap}.cart-actions #cartNext,.cart-actions #submitOrder{grid-column:2}.cart-actions #addMoreItems{grid-column:1}.cart-actions #cartBack{grid-column:1}.cart-progress span{font-size:.66rem}.category-tabs button{padding:0 12px}.category-tabs button small{min-width:22px;height:22px}}

/* Urgent scroll bug fix: scroll-spy must never lock normal page scrolling. */
html,body{height:auto;min-height:100%;overflow-y:auto}
.category-tabs{overscroll-behavior-x:contain;touch-action:pan-x pan-y}
@media(max-width:720px){body.cart-open{overflow:hidden;touch-action:auto}.cart-open .cart-sheet{overscroll-behavior:contain}.cart-open .cart-items,.cart-open .cart-pane{touch-action:pan-y}}

/* Reference-style final public UI */
body{background:#fff;color:#151515}.app-header{height:68px;grid-template-columns:auto 1fr auto auto;padding:10px clamp(16px,4vw,52px);background:rgba(255,255,255,.94);box-shadow:0 8px 26px rgba(17,24,39,.06)}.brand-logo{width:164px}.location-pill{justify-self:start;display:inline-flex;align-items:center;gap:7px;width:max-content;border:1px solid #f2e3d6;border-radius:999px;background:#fff7ed;color:#bd5800;padding:9px 12px;font-size:var(--text-sm);font-weight:950}.location-pill .icon{width:17px;height:17px}.app-layout{max-width:1500px;padding-top:var(--space-5);padding-bottom:170px}.restaurant-card{position:relative;grid-template-columns:minmax(290px,.78fr) minmax(360px,1.22fr);gap:var(--space-5);padding:var(--space-5);border:0;border-radius:32px;background:linear-gradient(135deg,#fff,#fff7ed);box-shadow:0 28px 80px rgba(17,24,39,.13)}.restaurant-copy{min-height:390px;padding:clamp(18px,3vw,40px)}.restaurant-card h1{max-width:650px;font-size:clamp(2.45rem,5vw,4.8rem);line-height:.9;margin:18px 0 14px;letter-spacing:0}.restaurant-card h1 span{display:block;color:var(--orange-500)}.restaurant-card p{max-width:520px;color:#4b5563;font-size:var(--text-lg);font-weight:650}.restaurant-media{height:430px;border-radius:28px;background:#2a1309;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 22px 46px rgba(68,29,7,.24)}.restaurant-media:after{background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.16))}.delivery-info-card{display:flex;align-items:center;gap:12px;margin-top:16px;padding:14px;border:1px solid #fed7aa;border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.delivery-info-card .icon{color:var(--orange-500)}.delivery-info-card b{display:block;font-family:var(--font-heading)}.delivery-info-card small{display:block;color:var(--gray-500);font-weight:800}.service-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.service-facts span{background:#fff;border-color:#f1e8df;border-radius:18px}
.sticky-menu-tools{top:68px;margin-top:18px;padding:14px 0;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(229,231,235,.72)}.search-box{min-height:62px;border-radius:24px;border-color:#eee3d8;box-shadow:0 16px 34px rgba(17,24,39,.08);grid-template-columns:auto auto 1fr auto auto}.filter-button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:16px;background:#111827;color:#fff}.quick-chips button{min-height:38px;background:#fff;border-color:#f2dfce;color:#9a4b00}.section-title-row{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 12px}.section-title-row span,.full-menu-head span{display:block;color:var(--orange-600);font-size:var(--text-xs);font-weight:950;text-transform:uppercase;letter-spacing:.08em}.section-title-row h2,.full-menu-head h2{margin:2px 0 0;font-family:var(--font-heading);font-size:clamp(1.25rem,3vw,1.8rem)}.category-card-section,.popular-section{margin-top:18px}.category-card-rail,.popular-rail{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 10px;overscroll-behavior-x:contain}.category-card-rail::-webkit-scrollbar,.popular-rail::-webkit-scrollbar{display:none}.category-card{position:relative;flex:0 0 132px;display:grid;justify-items:start;gap:8px;border:1px solid #f1e8df;border-radius:24px;background:#fff;padding:10px;box-shadow:0 12px 28px rgba(17,24,39,.08);text-align:left;transition:transform .18s ease,border-color .18s ease,background .18s ease}.category-card:hover{transform:translateY(-2px)}.category-card.active{border-color:var(--orange-500);background:#fff7ed}.category-card img{width:100%;aspect-ratio:1.18;object-fit:cover;border-radius:18px;background:#fff4e6}.category-card span{min-height:34px;font-weight:950;line-height:1.1}.category-card small{color:var(--gray-500);font-size:var(--text-xs);font-weight:900}.popular-card{flex:0 0 240px;border:1px solid #f1e8df;border-radius:26px;background:#fff;box-shadow:0 16px 34px rgba(17,24,39,.1);overflow:hidden;animation:cardIn .24s ease both}.popular-media{position:relative;background:#fff4e6}.popular-media img{width:100%;aspect-ratio:1.18;object-fit:cover}.popular-media span{position:absolute;left:12px;top:12px;border-radius:999px;background:#111827;color:#fff;padding:6px 9px;font-size:11px;font-weight:950;text-transform:uppercase}.popular-body{display:grid;gap:7px;padding:14px}.popular-body small{color:var(--gray-500);font-weight:900}.popular-body h3{margin:0;font-family:var(--font-heading);font-size:1.05rem;line-height:1.12}.popular-body>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.popular-body b{font-family:var(--font-heading);font-size:1.16rem}.popular-add{min-height:38px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:999px;background:var(--orange-500);color:#fff;font-weight:950;padding:0 12px}.popular-add .icon{width:16px;height:16px}.mini-stepper{display:inline-flex;align-items:center;gap:6px;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;padding:4px}.mini-stepper button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:var(--orange-500);color:#fff}.mini-stepper b{min-width:18px;text-align:center;font-size:.9rem}.full-menu-head{margin:20px 0 14px}.category-section-head{border-radius:24px;background:#fff;box-shadow:0 12px 28px rgba(17,24,39,.06)}.product-card{border-radius:24px}.product-media img{aspect-ratio:1.08}.mobile-cart{grid-template-columns:auto 1fr auto;min-height:64px;border-radius:24px;background:#111827}.mobile-cart b{font-family:var(--font-heading);font-size:1.05rem}.mobile-cart small{justify-self:end;border-radius:999px;background:var(--orange-500);padding:9px 12px;color:#fff;font-weight:950}.category-menu-button{border-radius:999px}
@media(min-width:1180px){.popular-card{flex-basis:250px}.category-card{flex-basis:142px}.app-layout{padding-right:512px}.restaurant-card{grid-template-columns:1fr}.restaurant-media{height:300px}.service-facts{grid-template-columns:1fr}.restaurant-copy{min-height:auto}.cart-sheet{top:84px}}
@media(min-width:1380px){.restaurant-card{grid-template-columns:minmax(330px,.84fr) minmax(420px,1.16fr)}.restaurant-media{height:430px}.service-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.app-header{grid-template-columns:auto 1fr auto;height:64px}.brand-logo{width:148px}.location-pill{justify-self:center;font-size:.78rem;padding:7px 9px}.app-layout{padding:12px 12px 142px}.restaurant-card{border-radius:28px;padding:12px;gap:12px}.restaurant-copy{padding:12px}.restaurant-card h1{font-size:2.35rem}.restaurant-card p{font-size:1rem}.restaurant-media{height:210px;border-radius:22px;order:-1}.service-facts{grid-template-columns:1fr;gap:8px}.delivery-info-card{align-items:flex-start}.sticky-menu-tools{top:64px;padding:12px 0}.search-box{min-height:58px;border-radius:22px;grid-template-columns:auto 1fr auto auto}.filter-button{width:38px;height:38px;border-radius:14px}.category-card{flex-basis:118px;border-radius:22px}.category-card img{border-radius:16px}.popular-card{flex-basis:224px}.category-tabs button small{display:none}.category-section{scroll-margin-top:248px}.mobile-cart{display:grid}}
@media(max-width:430px){.restaurant-card h1{font-size:2.06rem}.restaurant-media{height:188px}.location-pill{max-width:112px;overflow:hidden}.category-card{flex-basis:108px}.popular-card{flex-basis:210px}.mobile-cart{left:12px;right:12px;bottom:12px}.mobile-cart small{font-size:.8rem;padding:8px 10px}}

/* Exact listed product images: fill the existing card media frame. */
.item-americain-cordon-bleu .product-media img,
.item-americain-supreme .product-media img,
.item-americain-crunchy .product-media img,
.item-americain-chili-chili .product-media img,
.item-americain-long-beef .product-media img,
.item-chicken-rings-4-pieces .product-media img,
.item-chili-cheese-4-pieces .product-media img,
.item-camembert-bites-4-pieces .product-media img,
.item-mozza-stick-4-pieces .product-media img,
.item-onion-rings-5-pieces .product-media img,
.item-coca-cola .product-media img,
.item-fanta .product-media img,
.item-sprite .product-media img,
.item-jus-orange .product-media img,
.item-jus-citron .product-media img,
.item-americain-cordon-bleu .popular-media img,
.item-americain-supreme .popular-media img,
.item-americain-crunchy .popular-media img,
.item-americain-chili-chili .popular-media img,
.item-americain-long-beef .popular-media img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center!important;
  padding:0!important;
  display:block!important;
}
.menu-row-card.item-coca-cola .product-media,
.menu-row-card.item-fanta .product-media,
.menu-row-card.item-sprite .product-media,
.menu-row-card.item-jus-orange .product-media,
.menu-row-card.item-jus-citron .product-media,
.menu-row-card.item-chicken-rings-4-pieces .product-media,
.menu-row-card.item-chili-cheese-4-pieces .product-media,
.menu-row-card.item-camembert-bites-4-pieces .product-media,
.menu-row-card.item-mozza-stick-4-pieces .product-media,
.menu-row-card.item-onion-rings-5-pieces .product-media,
.menu-row-card.item-americain-cordon-bleu .product-media,
.menu-row-card.item-americain-supreme .product-media,
.menu-row-card.item-americain-crunchy .product-media,
.menu-row-card.item-americain-chili-chili .product-media,
.menu-row-card.item-americain-long-beef .product-media{
  overflow:hidden!important;
  background:#fff4e6;
}

/* Final QA hardening: keep the reference-style hero stacked before the fixed cart desktop breakpoint. */
@media(max-width:1179px){
  .app-layout{padding-right:clamp(12px,4vw,56px)}
  .restaurant-card{grid-template-columns:1fr}
  .restaurant-copy{min-height:auto}
  .restaurant-card h1{font-size:clamp(1.82rem,3.2vw,2.55rem);line-height:.98;max-width:100%;overflow-wrap:anywhere}
  .restaurant-card p{max-width:100%;overflow-wrap:break-word}
  .restaurant-media{order:-1}
  .service-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  .service-facts{grid-template-columns:1fr}
  .mobile-cart small{font-size:0;padding:8px 10px}
  .mobile-cart small:after{content:"Panier";font-size:.82rem}
  .mobile-cart b{min-width:0}
  .mobile-cart small{min-width:56px;text-align:center;white-space:nowrap}
}
@media(max-width:430px){
  .app-layout,.restaurant-card,.restaurant-copy,.menu-workspace,.menu-column,.sticky-menu-tools{min-width:0;width:100%;max-width:100%;overflow-x:hidden}
  .restaurant-card{padding:12px;border-radius:26px}
  .restaurant-card h1{font-size:1.82rem;line-height:.98;max-width:100%;overflow-wrap:anywhere}
  .restaurant-card p{font-size:.96rem;max-width:100%;overflow-wrap:break-word}
  .hero-actions,.hero-cta{max-width:100%}
  .mobile-cart{grid-template-columns:auto 1fr auto;padding:0 12px;gap:10px}
  .mobile-cart small{font-size:0;padding:8px 10px}
  .mobile-cart small:after{content:"Panier";font-size:.82rem}
}

/* Local focused update: hero backgrounds, ordering pause, tacos sauces, and cleaner checkout. */
.reference-hero-bg{position:absolute;inset:0;z-index:-2;display:block}
.reference-hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center}
.reference-feature-list span{grid-template-columns:28px 1fr auto}
.reference-feature-list svg{filter:drop-shadow(0 6px 12px rgba(255,121,0,.28))}
.ordering-closed-card{display:grid;grid-template-columns:58px 1fr;gap:16px;align-items:center;margin:18px 0;padding:18px;border:1px solid rgba(255,122,0,.24);border-radius:26px;background:linear-gradient(135deg,#111827 0%,#1f1308 56%,#ff7a00 180%);color:#fff;box-shadow:0 22px 46px rgba(17,24,39,.18)}
.ordering-closed-card[hidden]{display:none}
.ordering-closed-card h2{margin:0;font-family:var(--font-heading);font-size:clamp(1.05rem,3vw,1.45rem);line-height:1.15;color:#fff}
.ordering-closed-card p{margin:5px 0 0;color:#ffe4c7;font-weight:750}
.closed-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:20px;background:rgba(255,122,0,.18);color:#ffb800;border:1px solid rgba(255,255,255,.18)}
.closed-icon svg{width:30px;height:30px}
.ordering-disabled .add-btn,.ordering-disabled .popular-add{opacity:.62;filter:saturate(.72)}
.closed-cart-state{display:grid;justify-items:center;text-align:center;gap:10px;min-height:260px;padding:28px 18px;border:1px solid rgba(255,122,0,.18);border-radius:24px;background:linear-gradient(180deg,#fff8f0,#fff)}
.closed-cart-state .closed-icon{background:#111827;color:#ffb800}
.closed-cart-state h3{max-width:330px;margin:0;font-family:var(--font-heading);font-size:1.15rem;line-height:1.2}
.closed-cart-state p{max-width:340px;margin:0;color:var(--gray-500);font-weight:750}
.delivery-mode-row{display:grid;grid-template-columns:1fr;gap:10px}
.delivery-mode{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #fed7aa;border-radius:18px;background:#fff7ed;color:#111827}
.delivery-mode .icon{color:var(--orange-500)}
.delivery-mode b{display:block;font-weight:950}
.delivery-mode small{display:block;color:#9a4b00;font-weight:850}
.checkout-clean{gap:12px}
.checkout-clean textarea{min-height:72px}
.sauce-picker{display:grid;gap:8px;margin:6px 0 2px;padding:10px;border:1px solid #fed7aa;border-radius:16px;background:#fff7ed;box-sizing:border-box;max-width:100%;overflow:hidden}
.sauce-picker>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sauce-picker b{font-size:.86rem;font-weight:950}
.sauce-picker small{color:#9a4b00;font-size:.72rem;font-weight:850}
/* Sauce options: compact grid layout for tacos sauces */
.sauce-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  overflow:hidden;
}
.sauce-options label{
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:30px;
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px 8px;
  border-radius:12px;
  border:1px solid #f4ddc4;
  background:#fff;
  color:#2b2118;
  font-size:.68rem;
  font-weight:900;
  box-sizing:border-box;
  overflow:hidden;
}
.sauce-options label.selected{
  border-color:var(--orange-500);
  background:#fff7ed;
  color:#9a3412;
  box-shadow:inset 0 0 0 1px rgba(255,122,0,.18);
}
.sauce-options label.locked{
  opacity:.46;
  cursor:not-allowed;
  filter:saturate(.7);
}
.sauce-options input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.sauce-icon{
  width:20px;
  height:20px;
  flex:0 0 20px;
  object-fit:cover;
  border-radius:4px;
  background:#fff7ed;
}
.order-items small{display:block;margin-top:3px;color:#9a4b00;font-size:.78rem;font-weight:850}
@media(min-width:1180px){
  .ordering-closed-card{margin-right:0}
  .checkout-clean textarea{min-height:68px}
}
@media(max-width:720px){
  .reference-hero{min-height:560px}
  .reference-hero-copy{min-height:560px;padding:28px 18px 112px}
  .reference-hero-img{object-position:center top}
  .reference-hero h1{max-width:330px;font-size:clamp(2.1rem,11vw,3.4rem)}
  .reference-feature-list{width:100%}
  .reference-feature-list span{grid-template-columns:24px 1fr;gap:8px}
  .reference-feature-list small{grid-column:2}
  .ordering-closed-card{grid-template-columns:48px 1fr;margin:14px 0;padding:14px;border-radius:22px}
  .closed-icon{width:48px;height:48px;border-radius:17px}
  .closed-icon svg{width:25px;height:25px}
  .checkout-clean textarea{min-height:64px}
  .sauce-picker{padding:9px;border-radius:15px;overflow:hidden!important}
  .sauce-picker>div:first-child{display:grid;gap:1px}
  .sauce-options{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .sauce-options label{
    min-height:28px!important;
    padding:4px 6px!important;
    font-size:.62rem!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    display:flex!important;
    align-items:center!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .reference-delivery-card{grid-template-columns:48px minmax(0,1fr);margin-left:12px;margin-right:12px}
  .delivery-card-copy{min-width:0}
  .delivery-card-meta{display:flex;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%;overflow:hidden}
  .delivery-card-meta span{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
}

/* Reference match final rebuild: compact mobile delivery-app structure. */
:root{--ref-orange:#ff7900;--ref-orange-dark:#e56600;--ref-dark:#101827;--ref-ink:#101010;--ref-muted:#68707d;--ref-border:#eee3d8;--ref-warm:#fff7ed}
body{background:#fff;color:var(--ref-ink)}
.app-header{height:72px;grid-template-columns:auto 1fr auto;gap:10px;padding:10px 16px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(16,24,39,.06)}
.brand-logo{width:118px}
.location-pill{justify-self:end;max-width:142px;padding:8px 10px;border-color:#f2dec9;background:#fff8f0;color:#b65000;font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-pill{display:inline-flex!important;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:16px;background:var(--ref-dark);color:#fff;box-shadow:0 12px 26px rgba(16,24,39,.16)}
.cart-pill span{display:none}
.cart-pill b{position:absolute;right:-4px;top:-5px;min-width:21px;height:21px;font-size:.7rem}
.app-layout{max-width:980px;padding:16px 16px calc(150px + env(safe-area-inset-bottom))}
.reference-hero{position:relative;min-height:520px;border-radius:26px;overflow:hidden;background:#160c07;box-shadow:0 26px 70px rgba(74,33,8,.26);isolation:isolate}
.reference-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:72% center;z-index:-2;filter:saturate(1.08) contrast(1.04)}
.reference-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,8,5,.96) 0%,rgba(16,10,6,.88) 38%,rgba(18,11,6,.46) 67%,rgba(18,11,6,.12) 100%),linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.55))}
.reference-hero-copy{position:relative;min-height:520px;display:flex;flex-direction:column;justify-content:flex-end;gap:14px;padding:26px 20px 116px;color:#fff}
.reference-status{display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:100%;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.13);backdrop-filter:blur(14px);padding:8px 11px;color:#fff;font-weight:950}
.reference-hero h1{max-width:310px;margin:0;font-family:var(--font-heading);font-size:clamp(2.45rem,10vw,4.6rem);line-height:.9;letter-spacing:0;color:#fff;text-shadow:0 10px 28px rgba(0,0,0,.26)}
.reference-hero h1 span{display:block;color:var(--ref-orange)}
.reference-hero h1 em{display:block;font-style:normal;font-size:.88em}
.reference-hero p{margin:0;color:#fff3e8;font-size:1rem;font-weight:900}
.reference-feature-list{display:grid;gap:8px;width:min(320px,100%);margin-top:2px}
.reference-feature-list span{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:9px;min-height:42px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.11);padding:8px 10px;backdrop-filter:blur(14px)}
.reference-feature-list .icon{width:18px;height:18px;color:#ffb85c}
.reference-feature-list b{font-size:.9rem}
.reference-feature-list small{color:#ffe0c2;font-size:.75rem;font-weight:900;text-transform:uppercase}
.reference-delivery-card{position:relative;z-index:3;display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;margin:-58px 16px 18px;padding:14px;border:1px solid #fed7aa;border-radius:22px;background:#fff;box-shadow:0 18px 42px rgba(16,24,39,.15)}
.reference-delivery-card>.icon{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:var(--ref-warm);color:var(--ref-orange)}
.reference-delivery-card b{display:block;font-family:var(--font-heading);font-size:1rem}
.reference-delivery-card small{display:flex;flex-wrap:wrap;gap:2px 8px;color:var(--ref-muted);font-weight:850;line-height:1.35;white-space:normal;overflow-wrap:break-word}
.reference-delivery-card small span{display:inline-block}
.menu-workspace{margin-top:0}
.sticky-menu-tools{position:sticky;top:72px;z-index:45;margin:0 -16px 20px;padding:0 16px 12px;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(238,227,216,.72);backdrop-filter:blur(16px)}
.search-box{min-height:60px;grid-template-columns:auto 1fr auto;border:1px solid var(--ref-border);border-radius:22px;background:#fff;padding:0 12px 0 16px;box-shadow:0 14px 32px rgba(16,24,39,.08)}
.search-box span{display:none}
.search-box input{font-size:.98rem;font-weight:800}
.filter-button{width:42px;height:42px;border-radius:16px;background:var(--ref-dark);color:#fff}
.clear-search{width:32px;height:32px;border:0;border-radius:50%;background:#f3f4f6;color:#111827}
.reference-category-rail{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:14px 0 6px;overscroll-behavior-x:contain}
.reference-category-rail::-webkit-scrollbar{display:none}
.reference-category-rail button{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;border:1px solid var(--ref-border);border-radius:999px;background:#fff;color:#803b00;padding:0 15px;font-weight:950;box-shadow:0 8px 18px rgba(16,24,39,.05)}
.reference-category-rail button:before{content:"";width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#ffe0b2,#ff7900);box-shadow:inset 0 0 0 5px #fff7ed}
.reference-category-rail button.active{background:var(--ref-orange);border-color:var(--ref-orange);color:#fff;box-shadow:0 14px 28px rgba(255,121,0,.24)}
.reference-category-rail button.active:before{background:#fff;box-shadow:inset 0 0 0 6px #ffd2a3}
.category-card-section,.category-card-rail{display:none!important}
.popular-section{margin-top:14px}
.section-title-row{align-items:center;margin:0 0 12px}
.section-title-row span,.full-menu-head span{color:var(--ref-orange);letter-spacing:.04em}
.section-title-row h2,.full-menu-head h2{font-size:1.35rem;line-height:1.1}
.popular-rail{gap:12px;margin-right:-16px;padding:2px 16px 12px 0;scroll-snap-type:x proximity}
.popular-card{flex:0 0 calc((100vw - 54px) / 2.2);max-width:178px;min-height:238px;border-radius:22px;border:1px solid var(--ref-border);box-shadow:0 16px 34px rgba(16,24,39,.1);scroll-snap-align:start}
.popular-media img{aspect-ratio:1.12}
.popular-media span{left:9px;top:9px;padding:5px 8px;background:var(--ref-dark);font-size:.62rem}
.popular-body{padding:11px;gap:6px}
.popular-body small{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.popular-body h3{min-height:38px;font-size:.95rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.popular-body>div{align-items:end}
.popular-body b{font-size:1rem}
.popular-add{min-height:34px;padding:0 10px;font-size:.78rem;background:var(--ref-orange)}
.popular-add span{display:none}
.menu-context{display:none}
.category-tabs{display:none}
.full-menu-head{margin:18px 0 12px}
.menu-grid{display:grid;grid-template-columns:1fr;gap:24px}
.category-section{scroll-margin-top:220px;display:grid;gap:10px}
.category-section-head{grid-template-columns:1fr auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.category-section-head>span{display:none}
.category-section-head h2{font-size:1.2rem}
.category-section-head p{display:none}
.category-section-head b{grid-column:auto;align-self:center;border:1px solid var(--ref-border);background:#fff7ed;color:#a44900;font-size:.75rem;padding:7px 10px}
.category-products{display:grid;grid-template-columns:1fr;gap:10px}
.menu-row-card.product-card{min-height:0;display:grid;grid-template-columns:82px minmax(0,1fr);grid-template-rows:auto;border:1px solid var(--ref-border);border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(16,24,39,.07);overflow:hidden}
.menu-row-card .product-media{min-height:100%;background:#fff4e6}
.menu-row-card .product-media img{height:100%;min-height:112px;aspect-ratio:auto;object-fit:cover}
.menu-row-card .product-media .badge{left:6px;top:6px;padding:4px 6px;font-size:.58rem}
.menu-row-card .product-body{grid-template-rows:auto auto auto;gap:5px;padding:10px 10px 10px 12px}
.menu-row-card h3{font-size:.98rem;line-height:1.15}
.menu-row-card p{min-height:0;font-size:.78rem;line-height:1.25;-webkit-line-clamp:2}
.menu-row-card .product-foot{padding-top:2px}
.menu-row-card .price{font-size:1rem}
.add-btn{width:40px;height:40px;background:var(--ref-orange)}
.stepper button{width:30px;height:30px;background:var(--ref-orange)}
.mobile-cart{display:grid;left:16px;right:16px;bottom:max(14px,env(safe-area-inset-bottom));grid-template-columns:auto 1fr auto;min-height:64px;border-radius:24px;background:var(--ref-dark);box-shadow:0 18px 44px rgba(16,24,39,.25);padding:0 12px;color:#fff}
.mobile-cart span{min-width:32px;height:32px;background:var(--ref-orange)}
.mobile-cart b{font-size:1rem}
.mobile-cart small{min-width:92px;border-radius:999px;background:var(--ref-orange);color:#fff;text-align:center;font-size:.82rem;padding:9px 11px}
.mobile-cart small:after{content:none}
.sheet-backdrop{background:rgba(16,24,39,.38)}
.cart-sheet{left:0;right:0;top:auto;bottom:0;width:100%;max-width:100vw;overflow:hidden;height:auto!important;max-height:90dvh;border-radius:28px 28px 0 0;display:grid!important;grid-template-rows:auto auto minmax(0,auto) auto auto;background:#fff;transform:translateY(100%);box-shadow:0 -28px 70px rgba(16,24,39,.2)}
.cart-open .cart-sheet{transform:translateY(0)}
.cart-open{overflow:hidden}
.sheet-head{padding:16px 18px;border-bottom:1px solid var(--ref-border)}
.sheet-head b{font-size:1.15rem}
.cart-progress{padding:10px 14px;background:#fff}
.cart-progress span{min-width:0;min-height:34px;padding:6px 4px;font-size:.66rem;overflow:hidden;text-overflow:ellipsis}
.cart-progress span.active{background:#fff7ed;color:var(--ref-orange);border-color:#fed7aa}
.cart-progress span.active b{background:var(--ref-orange)}
.cart-items{padding:12px 14px;min-height:0;max-height:34dvh!important;overflow:auto}
.cart-list{gap:9px}
.smart-cart-item{grid-template-columns:62px 1fr;border-radius:18px;padding:9px;box-shadow:none}
.smart-cart-item img{width:62px;height:62px;border-radius:14px}
.smart-cart-title b{font-size:.92rem}
.smart-cart-title small{font-size:.72rem}
.smart-cart-foot strong{font-size:.96rem}
.checkout-form{display:contents!important}
.cart-pane{margin:0 14px;padding:12px 0;max-height:42dvh;overflow:auto}
.checkout-block{border-radius:20px;padding:14px}
.location-button{position:relative;border:1px solid var(--ref-border)!important;background:#fff!important;color:#111827!important;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.location-button .icon{color:var(--ref-orange)}
.location-button.loading{border-color:#fed7aa!important;background:#fff7ed!important;color:#c95b00!important}
.location-button.loading:after{content:"";width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,121,0,.25);border-top-color:var(--ref-orange);animation:spin .75s linear infinite}
.location-button.success{border-color:rgba(34,197,94,.34)!important;background:#f0fdf4!important;color:#15803d!important;box-shadow:0 0 0 4px rgba(34,197,94,.08)}
.location-button.success .icon{color:#22c55e}
.location-button.error{border-color:rgba(239,68,68,.28)!important;background:#fff5f5!important;color:#b91c1c!important}
.location-button.error .icon{color:#ef4444}
.delivery-box #deliveryHint{border-radius:14px;padding:10px 12px;background:#f9fafb;color:#64748b;font-weight:850;line-height:1.35}
.delivery-box #deliveryHint.loading-text{background:#fff7ed;color:#c95b00}
.delivery-box #deliveryHint.success{background:#f0fdf4;color:#15803d}
.delivery-box #deliveryHint.error{background:#fff5f5;color:#b91c1c}
.totals{margin:0 14px 8px;border-radius:18px;padding:12px;background:#fff8f0}
.totals div{gap:12px}.totals b{text-align:right;font-size:.98rem}
.cart-actions{grid-template-columns:1fr;padding:10px 14px max(12px,env(safe-area-inset-bottom));gap:8px;background:#fff;border-top:1px solid var(--ref-border);box-shadow:0 -12px 26px rgba(16,24,39,.07)}
.cart-actions .secondary-button,.cart-actions .submit-order{grid-column:1/-1;min-height:48px;border-radius:16px}
.submit-order{background:linear-gradient(135deg,var(--ref-orange),var(--ref-orange-dark))}
.empty-cart-state{min-height:220px;padding:24px;border-radius:20px}
@media(min-width:760px){
  .app-layout{max-width:1120px;padding-left:28px;padding-right:28px}
  .reference-hero{min-height:560px}
  .reference-hero-copy{min-height:560px;padding:40px 38px 118px}
  .reference-hero h1{max-width:520px}
  .reference-delivery-card{margin-left:38px;margin-right:38px}
  .sticky-menu-tools{margin-left:-28px;margin-right:-28px;padding-left:28px;padding-right:28px}
  .popular-card{flex-basis:220px;max-width:220px}
  .menu-row-card.product-card{grid-template-columns:112px 1fr}
  .menu-row-card .product-media img{min-height:128px}
}
@media(min-width:1180px){
  .app-layout{padding-right:520px}
  .cart-sheet{top:84px;right:28px;bottom:auto;width:460px;height:calc(100dvh - 112px)!important;max-height:none;border-radius:28px;transform:none}
  .sheet-backdrop{display:none}
}
@media(max-width:720px){
  .brand-logo{width:98px}
  .location-pill{max-width:112px;font-size:.74rem;padding:7px 8px}
  .cart-pill{width:40px;height:40px;min-height:40px;border-radius:14px}
  .reference-hero h1{font-size:2.22rem;max-width:282px}
  .reference-hero h1 em{font-size:.7em}
  .reference-delivery-card{grid-template-columns:38px 1fr;padding:12px}
  .reference-delivery-card>.icon{width:38px;height:38px;border-radius:14px}
  .reference-delivery-card b{font-size:.96rem}
  .reference-delivery-card small{font-size:.78rem;gap:1px 6px}
}
@media(max-width:430px){
  .app-header{padding-left:14px;padding-right:14px}
  .app-layout{padding-left:14px;padding-right:14px}
  .reference-hero{min-height:500px;border-radius:24px}
  .reference-hero-copy{min-height:500px;padding:22px 18px 108px}
  .reference-feature-list span{grid-template-columns:22px 1fr auto;padding:8px}
  .reference-delivery-card{margin-left:10px;margin-right:10px}
  .popular-card{flex-basis:calc((100vw - 54px) / 2.2)}
  .menu-row-card.product-card{grid-template-columns:78px minmax(0,1fr)}
  .mobile-cart{left:14px;right:14px}
  .mobile-cart small{min-width:76px}
}

/* Focused UI correction pass */
.app-header{
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-items:center!important;
  height:72px!important;
  padding:12px 16px!important;
  background:#fff!important;
  border-bottom:1px solid rgba(238,227,216,.86)!important;
  box-shadow:0 8px 22px rgba(16,24,39,.045)!important;
}
.app-header .brand{justify-self:center!important;display:inline-flex!important;margin:0 auto!important}
.app-header .brand-logo{width:122px!important;height:auto!important}
.app-loading img,.brand-logo{object-fit:contain!important}
.app-header .location-pill,.app-header .cart-pill{display:none!important}
.reference-status{display:none!important}
.reference-delivery-card{
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:center!important;
  margin:-64px 16px 18px!important;
  padding:16px!important;
  border:1px solid rgba(255,121,0,.22)!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#fff 0%,#fffaf5 58%,#fff3e2 100%)!important;
  box-shadow:0 20px 48px rgba(16,24,39,.14),0 8px 22px rgba(255,121,0,.08)!important;
}
.delivery-card-icon{
  position:relative;
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:22px;
  background:linear-gradient(135deg,#ff7900,#ffb14a);
  color:#fff;
  box-shadow:0 14px 28px rgba(255,121,0,.28);
}
.delivery-card-icon:after{
  content:"";
  position:absolute;
  inset:-5px;
  border-radius:26px;
  border:1px solid rgba(255,121,0,.18);
}
.delivery-card-icon .icon{width:28px;height:28px;stroke-width:2.2}
.delivery-card-copy{min-width:0;display:grid;gap:4px}
.delivery-card-kicker{
  color:#c95b00;
  font-size:.68rem;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.reference-delivery-card b{
  font-size:1.08rem!important;
  line-height:1.12!important;
  color:#121826!important;
}
.delivery-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 8px;
  margin-top:5px;
}
.delivery-card-meta span{
  display:inline-flex!important;
  align-items:center;
  gap:5px;
  min-height:26px;
  border:1px solid rgba(238,227,216,.9);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:#657081;
  padding:4px 8px;
  font-size:.75rem;
  font-weight:900;
  line-height:1;
}
.delivery-card-meta .icon{width:14px;height:14px;color:#ff7900;stroke-width:2.2}
.sticky-menu-tools{
  margin-left:0!important;
  margin-right:0!important;
  padding:0 0 12px!important;
  top:72px!important;
  background:rgba(255,255,255,.97)!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.search-box{
  width:min(100%,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr) auto auto!important;
  gap:8px!important;
  align-items:center!important;
  margin:0!important;
  min-height:60px!important;
  padding:0 8px 0 14px!important;
  overflow:hidden!important;
}
.search-box input{min-width:0!important;width:100%!important}
.search-box .clear-search[hidden]{display:none!important}
.search-box .clear-search{flex:0 0 auto}
.filter-button{flex:0 0 auto;width:38px!important;height:38px!important;border-radius:14px!important}
.cat-icon{
  display:inline-grid!important;
  place-items:center;
  width:24px;
  height:24px;
  flex:0 0 24px;
  border-radius:50%;
  background:#fff5e8;
  color:#ff7900;
}
.cat-icon svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.reference-category-rail button:before{content:none!important}
.reference-category-rail button{
  gap:8px!important;
  padding:0 14px 0 10px!important;
}
.reference-category-rail button.active .cat-icon{
  background:#fff;
  color:#ff7900;
  box-shadow:inset 0 0 0 4px #ffe0bd;
}
.category-section-head{
  grid-template-columns:40px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
}
.category-section-head>.cat-icon{
  width:40px!important;
  height:40px!important;
  border-radius:16px!important;
  background:#fff5e8!important;
}
.category-section-head>.cat-icon svg{width:21px;height:21px}
.category-sheet-list button{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr) auto!important;
}
.category-sheet-list .cat-icon{
  width:32px!important;
  height:32px!important;
  border-radius:13px!important;
}
@media(max-width:430px){
  .app-header .brand-logo{width:128px!important;max-height:50px!important;object-fit:contain!important}
  .reference-delivery-card{
    grid-template-columns:52px minmax(0,1fr)!important;
    margin-left:10px!important;
    margin-right:10px!important;
    padding:14px!important;
    border-radius:24px!important;
  }
  .delivery-card-icon{width:52px;height:52px;border-radius:20px}
  .delivery-card-icon .icon{width:25px;height:25px}
  .reference-delivery-card b{font-size:1rem!important}
  .delivery-card-meta{gap:5px}
  .delivery-card-meta span{font-size:.7rem;padding:4px 7px}
  .search-box{grid-template-columns:20px minmax(0,1fr) auto auto!important;padding-left:14px!important;padding-right:9px!important}
  .filter-button{width:36px!important;height:36px!important}
  .mobile-cart{left:14px!important;right:auto!important;width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;overflow:hidden!important}
  .mobile-cart{gap:8px!important;padding-left:10px!important;padding-right:10px!important}
  .mobile-cart small{min-width:54px!important;padding:7px 8px!important;font-size:.74rem!important}
  .mobile-cart b{font-size:.95rem!important}
}

/* Premium order success screen */
.premium-success-page{
  min-height:100vh;
  display:block;
  background:
    radial-gradient(circle at 50% -10%,#fff0dc 0,#fff 34%,transparent 58%),
    linear-gradient(180deg,#fff 0,#fff8f0 100%);
  padding:18px;
}
.premium-success-shell{
  width:min(760px,100%);
  margin:0 auto;
  display:grid;
  gap:14px;
  padding:12px 0 28px;
}
.success-hero-card,.success-panel{
  border:1px solid rgba(238,227,216,.95);
  border-radius:28px;
  background:rgba(255,255,255,.92);
  box-shadow:0 22px 54px rgba(16,24,39,.1);
  animation:successSlide .42s ease both;
}
.success-hero-card{
  display:grid;
  justify-items:center;
  text-align:center;
  gap:10px;
  padding:28px 20px 24px;
  overflow:hidden;
  position:relative;
}
.success-hero-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 0,rgba(34,197,94,.16),transparent 38%),radial-gradient(circle at 80% 15%,rgba(255,121,0,.12),transparent 34%);
  pointer-events:none;
}
.success-hero-card>*{position:relative}
.success-icon-premium{
  width:76px;
  height:76px;
  border-radius:50%;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
  box-shadow:0 18px 34px rgba(34,197,94,.28);
}
.success-icon-premium .icon{width:36px;height:36px;stroke-width:2.5}
.success-label{
  color:#e56600;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.success-hero-card h1,.success-panel h2{
  margin:0;
  font-family:var(--font-heading);
  color:#111827;
}
.success-hero-card h1{font-size:clamp(1.65rem,7vw,2.4rem);line-height:1.05}
.success-hero-card p,.success-panel p{
  margin:0;
  color:#64748b;
  font-weight:750;
  line-height:1.5;
}
.order-badge{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  border-radius:999px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#c95b00;
  padding:0 14px;
  font-family:var(--font-heading);
}
.success-panel{padding:16px}
.prep-panel{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:14px;
  align-items:center;
}
.prep-illustration{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:22px;
  background:linear-gradient(135deg,#ff7900,#ffb14a);
  color:#fff;
  box-shadow:0 14px 30px rgba(255,121,0,.24);
}
.prep-illustration .icon{width:30px;height:30px}
.status-chips{
  grid-column:1/-1;
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-top:2px;
}
.status-chips span{
  flex:0 0 auto;
  border:1px solid #dcfce7;
  border-radius:999px;
  background:#f0fdf4;
  color:#15803d;
  padding:7px 10px;
  font-size:.78rem;
  font-weight:950;
}
.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.panel-head b{font-family:var(--font-heading);color:#111827}
.receipt-panel dl{display:grid;gap:8px;margin:0}
.receipt-panel dl div{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:10px;
  padding:9px 0;
  border-top:1px solid rgba(238,227,216,.82);
}
.receipt-panel dt{color:#64748b;font-weight:850}
.receipt-panel dd{margin:0;color:#111827;font-weight:900;overflow-wrap:anywhere}
.delivery-note-panel{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:start;
  background:linear-gradient(135deg,#fff,#fff7ed);
}
.delivery-note-panel>.icon{
  width:42px;
  height:42px;
  padding:10px;
  border-radius:16px;
  background:#fff;
  color:#ff7900;
  box-shadow:0 10px 22px rgba(255,121,0,.12);
}
.contact-panel{display:grid;gap:12px}
.contact-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.contact-actions a{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid rgba(238,227,216,.95);
  border-radius:18px;
  background:#fff;
  color:#111827;
  font-weight:950;
  box-shadow:0 10px 22px rgba(16,24,39,.05);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.contact-actions a:hover{transform:translateY(-1px);border-color:#fed7aa;box-shadow:0 14px 28px rgba(16,24,39,.08)}
.contact-actions .icon{width:19px;height:19px;color:#ff7900}
.success-main-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.success-main-actions .submit-order,.success-main-actions .secondary-button{
  min-height:54px;
  border-radius:18px;
}
@keyframes successSlide{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(min-width:720px){
  .premium-success-page{padding:32px}
  .premium-success-shell{gap:16px}
  .success-main-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
  .premium-success-page{padding:12px}
  .success-hero-card,.success-panel{border-radius:24px}
  .success-hero-card{padding-left:16px;padding-right:16px}
  .success-hero-card p{font-size:.94rem}
  .contact-actions{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .success-hero-card,.success-panel{animation:none!important}
}

@media(max-width:720px){
  .cart-actions{
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
  }
  .cart-actions .secondary-button,
  .cart-actions .submit-order,
  .cart-actions #cartNext,
  .cart-actions #submitOrder,
  .cart-actions #addMoreItems,
  .cart-actions #cartBack{
    grid-column:1/-1!important;
    width:100%!important;
    max-width:100%!important;
  }
}
/* Final production polish: customer info cache note and responsive completion. */
.saved-info-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:10px 12px;border:1px solid #fed7aa;border-radius:14px;background:#fff7ed;color:#9a3412;font-size:.78rem;font-weight:850}
.saved-info-note button{border:0;border-radius:999px;background:#fff;color:#c2410c;padding:6px 10px;font-weight:950}
@media(min-width:1180px){
  .main-shell,.app-layout{max-width:1480px;margin-left:auto!important;margin-right:auto!important}
  .restaurant-card,.menu-shell,.popular-section,.category-deck{max-width:980px}
  .category-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cart-sheet{width:min(460px,calc(100vw - 56px))!important}
  .mobile-cart{width:auto;min-width:280px;max-width:360px;left:auto!important;right:28px!important}
}
@media(min-width:1536px){
  .main-shell,.app-layout{max-width:1600px}
  .restaurant-card,.menu-shell,.popular-section,.category-deck{max-width:1040px}
}
@media(min-width:760px) and (max-width:1179px){
  .app-layout{max-width:920px;margin:0 auto!important;padding-left:22px!important;padding-right:22px!important}
  .restaurant-card{grid-template-columns:1.05fr .95fr!important;align-items:center}
  .category-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cart-sheet{left:50%!important;right:auto!important;width:min(620px,calc(100vw - 44px))!important;transform:translate(-50%,110%)!important}
  .cart-open .cart-sheet{transform:translate(-50%,0)!important}
}
@media(max-width:720px){
  .saved-info-note{display:grid;grid-template-columns:1fr auto}
  .app-header{min-height:64px}
  .app-header .brand{justify-self:center}
  .cart-actions{grid-template-columns:1fr!important;width:100%!important;max-width:100%!important}
  .cart-actions .secondary-button,.cart-actions .submit-order,.cart-actions #cartNext,.cart-actions #submitOrder,.cart-actions #addMoreItems,.cart-actions #cartBack{grid-column:1/-1!important;width:100%!important;max-width:100%!important}
}

/* Final responsive polish: fix desktop blank space, premium logo header, and controlled cart drawer. */
.app-header{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:82px!important;
  padding:12px clamp(18px,4vw,56px)!important;
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid rgba(229,231,235,.9)!important;
  box-shadow:0 10px 28px rgba(17,24,39,.05)!important;
}
.app-header .brand{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0 auto!important}
.app-header .brand-logo{width:clamp(156px,15vw,224px)!important;max-height:68px!important;height:auto!important;object-fit:contain!important;filter:drop-shadow(0 10px 18px rgba(17,24,39,.08))}
.app-layout{width:100%!important;max-width:1320px!important;margin:0 auto!important;padding:24px clamp(16px,3vw,40px) 132px!important}
.reference-hero,.reference-delivery-card,.menu-workspace,.popular-section,.full-menu-head{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
.reference-hero{min-height:clamp(430px,52vw,620px)!important}
.sticky-menu-tools{max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
@media(min-width:1180px){
  .app-layout{padding-right:clamp(16px,3vw,40px)!important}
  .category-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .popular-rail{max-width:1180px!important;margin-right:0!important}
  .mobile-cart{display:grid!important;left:auto!important;right:32px!important;bottom:28px!important;width:auto!important;min-width:286px!important;max-width:360px!important;border-radius:22px!important}
  .sheet-backdrop{display:block!important}
  .cart-sheet{
    top:96px!important;
    right:32px!important;
    left:auto!important;
    bottom:auto!important;
    width:min(500px,calc(100vw - 64px))!important;
    height:min(820px,calc(100dvh - 128px))!important;
    max-height:calc(100dvh - 128px)!important;
    border:1px solid rgba(229,231,235,.95)!important;
    border-radius:28px!important;
    box-shadow:0 28px 80px rgba(17,24,39,.18)!important;
    transform:translateX(calc(100% + 56px))!important;
    transition:transform .24s ease!important;
    overflow:hidden!important;
  }
  .cart-open .cart-sheet{transform:translateX(0)!important}
  .cart-open .sheet-backdrop{opacity:1!important;pointer-events:auto!important}
  .sheet-head .icon-button{display:grid!important}
}
@media(min-width:1440px){
  .app-layout{max-width:1400px!important}
  .reference-hero,.reference-delivery-card,.menu-workspace,.popular-section,.full-menu-head,.sticky-menu-tools{max-width:1240px!important}
}
@media(min-width:1600px){
  .category-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(min-width:760px) and (max-width:1179px){
  .app-header{min-height:78px!important}
  .app-header .brand-logo{width:clamp(160px,22vw,210px)!important;max-height:66px!important}
  .app-layout{max-width:980px!important;padding:22px clamp(18px,4vw,34px) 132px!important}
  .reference-hero,.reference-delivery-card,.menu-workspace,.popular-section,.full-menu-head,.sticky-menu-tools{max-width:900px!important}
  .reference-hero{min-height:clamp(390px,58vw,560px)!important}
  .category-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mobile-cart{display:grid!important;left:auto!important;right:24px!important;bottom:24px!important;width:auto!important;min-width:270px!important;max-width:340px!important}
  .cart-sheet{
    left:50%!important;
    right:auto!important;
    bottom:24px!important;
    top:auto!important;
    width:min(640px,calc(100vw - 44px))!important;
    height:min(86dvh,760px)!important;
    max-height:86dvh!important;
    border-radius:28px!important;
    transform:translate(-50%,calc(100% + 48px))!important;
  }
  .cart-open .cart-sheet{transform:translate(-50%,0)!important}
}
@media(max-width:720px){
  .app-header{min-height:68px!important;padding:9px 14px!important}
  .app-header .brand-logo{width:clamp(142px,42vw,174px)!important;max-height:54px!important}
  .app-layout{max-width:100%!important;padding:14px 12px 128px!important}
  .reference-hero,.reference-delivery-card,.menu-workspace,.popular-section,.full-menu-head{max-width:100%!important}
  .cart-sheet{left:0!important;right:0!important;top:auto!important;bottom:0!important;width:100%!important;height:min(88dvh,760px)!important;max-height:88dvh!important;border-radius:26px 26px 0 0!important;transform:translateY(100%)!important}
  .cart-open .cart-sheet{transform:translateY(0)!important}
  .mobile-cart{display:grid!important}
}

/* Final logo size correction: the PNG includes transparent padding, so render it larger safely. */
.app-header{min-height:96px!important}
.app-header .brand-logo{width:clamp(220px,20vw,310px)!important;max-height:86px!important}
@media(min-width:760px) and (max-width:1179px){.app-header{min-height:90px!important}.app-header .brand-logo{width:clamp(210px,28vw,286px)!important;max-height:80px!important}}
@media(max-width:720px){.app-header{min-height:76px!important}.app-header .brand-logo{width:clamp(184px,54vw,228px)!important;max-height:68px!important}}

/* Local update: keep the delivery info card inside 390px mobile screens. */
@media(max-width:720px){
  .reference-delivery-card{
    width:auto!important;
    max-width:calc(100vw - 24px)!important;
    margin-left:12px!important;
    margin-right:12px!important;
    grid-template-columns:48px minmax(0,1fr)!important;
    overflow:hidden!important;
  }
  .delivery-card-copy{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .delivery-card-meta{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .delivery-card-meta span{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    justify-content:flex-start!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}
@media(min-width:520px) and (max-width:720px){
  .delivery-card-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Focused cart + sauces + checkout polish. */
.cart-sheet{
  background:linear-gradient(180deg,#fff,#fffaf5)!important;
  box-sizing:border-box!important;
}
.cart-sheet *{box-sizing:border-box}
.cart-progress{
  gap:6px!important;
  padding:10px 14px!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.cart-progress span{
  min-height:34px!important;
  padding:6px 8px!important;
  border-radius:14px!important;
  font-size:.74rem!important;
}
.cart-progress span.active{
  box-shadow:0 10px 22px rgba(255,122,0,.12)!important;
}
.cart-progress span.done{
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
  color:#15803d!important;
}
.cart-items{
  padding:10px 14px!important;
  width:100%!important;
  max-width:100%!important;
}
.cart-list{
  gap:8px!important;
}
.smart-cart-item{
  grid-template-columns:54px minmax(0,1fr)!important;
  gap:9px!important;
  padding:8px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.96)!important;
  border-color:#f1e7dc!important;
  box-shadow:0 8px 20px rgba(17,24,39,.045)!important;
}
.smart-cart-item img{
  width:54px!important;
  height:54px!important;
  border-radius:13px!important;
}
.smart-cart-main{
  gap:7px!important;
}
.smart-cart-title{
  gap:6px!important;
}
.smart-cart-title b{
  font-size:.92rem!important;
  line-height:1.1!important;
}
.smart-cart-title small{
  margin-top:1px!important;
  font-size:.68rem!important;
}
.sauce-summary{
  margin:3px 0 0!important;
  color:#a34100!important;
  font-size:.7rem!important;
  font-weight:850!important;
  line-height:1.2!important;
}
.remove-item{
  width:28px!important;
  height:28px!important;
}
.smart-cart-foot{
  gap:8px!important;
}
.smart-cart-foot .qty{
  margin-top:0!important;
  gap:5px!important;
}
.smart-cart-foot .qty button{
  width:27px!important;
  height:27px!important;
}
.smart-cart-foot .qty span{
  min-width:18px!important;
  text-align:center!important;
  font-size:.85rem!important;
  font-weight:950!important;
}
.smart-cart-foot strong{
  font-size:.94rem!important;
}
.sauce-picker{
  gap:7px!important;
  margin:0!important;
  padding:8px!important;
  border-radius:14px!important;
  border-color:#fde2bd!important;
  background:linear-gradient(180deg,#fffaf5,#fff)!important;
}
.sauce-picker-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
.sauce-picker-head span{
  display:grid!important;
  gap:1px!important;
}
.sauce-picker-head b{
  font-size:.78rem!important;
}
.sauce-picker-head small{
  color:#9a4b00!important;
  font-size:.66rem!important;
}
.sauce-picker-head em{
  flex:0 0 auto!important;
  border-radius:999px!important;
  background:#111827!important;
  color:#fff!important;
  padding:4px 7px!important;
  font-size:.65rem!important;
  font-style:normal!important;
  font-weight:950!important;
}
.sauce-options{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  overflow:hidden!important;
  padding-bottom:0!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.sauce-options label{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:30px!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:5px 8px!important;
  border-radius:12px!important;
  border:1px solid #f4ddc4!important;
  background:#fff!important;
  color:#2b2118!important;
  font-size:.68rem!important;
  font-weight:900!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.sauce-options label.selected{
  border-color:var(--ref-orange,var(--orange-500))!important;
  background:#fff7ed!important;
  color:#9a3412!important;
  box-shadow:inset 0 0 0 1px rgba(255,122,0,.18)!important;
}
.sauce-options label.locked{
  opacity:.46!important;
  cursor:not-allowed!important;
  filter:saturate(.7)!important;
}
.sauce-options input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
.sauce-icon{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  object-fit:cover!important;
  border-radius:4px!important;
  background:#fff7ed!important;
}
.totals{
  display:grid!important;
  gap:4px!important;
  margin:0 14px!important;
  padding:9px 12px!important;
  border-radius:16px!important;
  background:#111827!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 14px 30px rgba(17,24,39,.12)!important;
  width:auto!important;
  max-width:calc(100% - 28px)!important;
}
.totals div{
  min-height:22px!important;
}
.totals span{
  color:rgba(255,255,255,.72)!important;
  font-size:.76rem!important;
}
.totals b{
  color:#fff!important;
  font-size:.85rem!important;
}
.totals .grand{
  margin-top:3px!important;
  padding-top:6px!important;
  border-top:1px solid rgba(255,255,255,.14)!important;
  font-size:1rem!important;
}
.totals .grand b{
  color:#ffb800!important;
  font-size:1.08rem!important;
}
.checkout-block{
  gap:10px!important;
  padding:12px!important;
  border-radius:18px!important;
  box-shadow:0 8px 20px rgba(17,24,39,.04)!important;
}
.checkout-form label{
  gap:5px!important;
  font-size:.78rem!important;
}
.checkout-form input,.checkout-form textarea,.checkout-form select{
  min-height:42px!important;
  padding:10px 11px!important;
  border-radius:13px!important;
  font-size:.88rem!important;
}
.checkout-form textarea{
  min-height:58px!important;
}
.delivery-mode{
  padding:10px!important;
  border-radius:15px!important;
}
.delivery-fee-preview{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:42px!important;
  padding:0 12px!important;
  border:1px solid #fed7aa!important;
  border-radius:14px!important;
  background:#fff7ed!important;
}
.delivery-fee-preview span{
  color:#9a4b00!important;
  font-size:.78rem!important;
  font-weight:900!important;
}
.delivery-fee-preview b{
  color:#111827!important;
  font-size:.95rem!important;
  font-weight:950!important;
}
.delivery-fee-preview.active b{
  color:var(--ref-orange,var(--orange-500))!important;
}
.final-review.compact-review{
  gap:6px!important;
  padding:10px!important;
  border-radius:14px!important;
}
.final-review.compact-review>b{
  font-size:.86rem!important;
}
.final-review.compact-review span{
  min-height:22px!important;
}
.final-review.compact-review small{
  font-size:.72rem!important;
}
.final-review.compact-review strong{
  max-width:58%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:.84rem!important;
}
.final-review.compact-review .review-total{
  margin-top:3px!important;
  padding-top:6px!important;
  border-top:1px solid var(--gray-200)!important;
}
.final-review.compact-review .review-total strong{
  color:var(--ref-orange,var(--orange-500))!important;
  font-size:1rem!important;
}
.cart-actions{
  padding:9px 14px max(10px,env(safe-area-inset-bottom))!important;
  gap:7px!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.cart-actions .secondary-button,.cart-actions .submit-order{
  min-height:44px!important;
  border-radius:14px!important;
}
@media(max-width:720px){
  .cart-sheet{
    left:8px!important;
    right:8px!important;
    width:auto!important;
    max-width:calc(100vw - 16px)!important;
    height:min(86dvh,720px)!important;
    max-height:86dvh!important;
    grid-template-rows:auto auto minmax(0,1fr) auto auto!important;
  }
  .cart-progress{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .cart-progress span{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:.68rem!important;
  }
  .totals{
    margin-left:10px!important;
    margin-right:10px!important;
    max-width:calc(100% - 20px)!important;
  }
  .cart-items{
    max-height:none!important;
  }
  .cart-pane{
    max-height:none!important;
    margin:0 12px!important;
    padding:10px 0!important;
  }
  .checkout-form{
    min-height:0!important;
    overflow:hidden!important;
  }
  .sauce-options{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(min-width:760px){
  .cart-sheet{
    width:min(480px,calc(100vw - 56px))!important;
  }
  .smart-cart-item{
    grid-template-columns:58px minmax(0,1fr)!important;
  }
  .smart-cart-item img{
    width:58px!important;
    height:58px!important;
  }
}

/* Final bug-fix pass: stable cart, simple delivery, last order, install prompt, footer. */
.cart-sheet{max-width:520px!important;overflow:hidden!important}
.cart-items{overflow-y:auto!important;overflow-x:hidden!important}
.cart-list{min-width:0!important}
.smart-cart-item{width:100%!important;min-width:0!important;overflow:hidden!important}
.smart-cart-title{grid-template-columns:minmax(0,1fr) auto!important}
.smart-cart-title>div{min-width:0!important}
.smart-cart-title b,.smart-cart-title small,.sauce-summary{overflow:hidden!important;text-overflow:ellipsis!important}
.sauce-picker{min-width:0!important;overflow:hidden!important}
.sauce-options{max-width:100%!important;overflow:hidden!important}
.sauce-options label{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.sauce-icon{width:20px!important;height:20px!important;border-radius:4px!important;object-fit:cover!important;background:#fff7ed!important}
.checkout-form{overflow:hidden!important}
.cart-pane{overflow-y:auto!important;overflow-x:hidden!important}
.totals{position:relative!important;bottom:auto!important;z-index:3!important}
.delivery-box{background:linear-gradient(180deg,#fffaf5,#fff)!important}
.delivery-box .location-button{justify-content:center!important}
.last-order-card{position:fixed;right:16px;bottom:88px;z-index:62;width:min(380px,calc(100vw - 32px));display:grid;gap:10px;pointer-events:none}
.last-order-card[hidden]{display:none!important}
.last-order-card>*{pointer-events:auto}
.last-order-trigger{min-height:44px;border:1px solid #fed7aa;border-radius:999px;background:#fff;color:#9a3412;font-weight:950;box-shadow:0 14px 34px rgba(17,24,39,.12);padding:0 16px}
.last-order-panel{display:grid;gap:10px;border:1px solid #fed7aa;border-radius:22px;background:#fffaf5;padding:14px;box-shadow:0 22px 54px rgba(17,24,39,.16)}
.last-order-panel h3{margin:0;font-family:var(--font-heading);font-size:1.05rem}
.last-order-panel p{margin:0;color:#6b7280;font-size:.82rem;font-weight:800}
.last-order-lines{display:grid;gap:6px}
.last-order-lines span{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #f3e5d8;padding-top:6px}
.last-order-lines small{font-weight:850;color:#374151}
.last-order-lines strong{font-family:var(--font-heading);white-space:nowrap}
.last-order-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.last-order-actions .secondary-button{min-height:38px;border-radius:14px}
.install-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:130;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;max-width:620px;margin:auto;border:1px solid #fed7aa;border-radius:22px;background:#fff;box-shadow:0 24px 64px rgba(17,24,39,.2);padding:14px}
.install-banner[hidden]{display:none!important}
.install-banner b{font-family:var(--font-heading)}
.install-banner p{margin:3px 0 0;color:#6b7280;font-size:.86rem;font-weight:750}
.install-banner>div:last-child{display:flex;gap:8px}
.install-banner .secondary-button,.install-banner .submit-order{width:auto;min-height:40px;border-radius:14px;padding:0 14px}
.public-footer{margin:44px auto 116px;width:min(1120px,calc(100% - 32px));padding:20px;border-top:1px solid #f3e5d8;text-align:center;color:#6b7280;font-weight:800}
.public-footer p{margin:5px 0}
.public-footer a{color:#9a3412;text-decoration:none}
.public-footer a:hover{text-decoration:underline}
@media(max-width:720px){
  .cart-sheet{left:8px!important;right:8px!important;width:auto!important;max-width:calc(100vw - 16px)!important;max-height:92dvh!important;height:min(92dvh,760px)!important}
  .sheet-head{padding:13px 14px!important}
  .cart-progress{padding:8px 10px!important}
  .cart-items{padding:8px 10px!important}
  .smart-cart-item{grid-template-columns:50px minmax(0,1fr)!important;padding:8px!important}
  .smart-cart-item img{width:50px!important;height:50px!important}
  .sauce-picker-head{align-items:start!important}
  .sauce-picker-head em{font-size:.62rem!important}
  .sauce-options{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
    padding-bottom:2px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .sauce-options label{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:28px!important;
    padding:4px 6px!important;
    font-size:.62rem!important;
    gap:4px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .sauce-icon{width:16px!important;height:16px!important}
  .totals{margin:0 10px!important;max-width:calc(100% - 20px)!important;padding:8px 10px!important}
  .totals div{min-height:20px!important}
  .cart-actions{padding:8px 10px max(10px,env(safe-area-inset-bottom))!important}
  .cart-actions .secondary-button,.cart-actions .submit-order{min-height:42px!important}
  .last-order-card{left:12px;right:12px;bottom:86px;width:auto}
  .install-banner{grid-template-columns:1fr;bottom:84px;padding:12px;border-radius:20px}
  .install-banner>div:last-child{justify-content:flex-end}
  .public-footer{margin-bottom:126px}
}
@media(min-width:1180px){
  .cart-sheet{width:500px!important}
  .sauce-options{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    overflow:hidden!important;
  }
}
@media(min-width:760px) and (max-width:1179px){
  .sauce-options{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    overflow:hidden!important;
  }
}

/* CODEx final sauce cart overflow fix: compact grid, no overlay, no horizontal rail. */
.cart-open .install-banner{display:none!important}
.cart-sheet,.cart-sheet *{box-sizing:border-box!important}
.cart-sheet{overflow:hidden!important}
.cart-items,.cart-list,.smart-cart-item,.smart-cart-main,.sauce-picker,.sauce-options,.totals,.cart-actions{min-width:0!important;max-width:100%!important}
.smart-cart-item{overflow:hidden!important}
.smart-cart-main{overflow:hidden!important}
.sauce-picker{
  width:100%!important;
  padding:7px!important;
  margin:0!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
.sauce-picker-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:6px!important;
}
.sauce-picker-head span{min-width:0!important}
.sauce-picker-head b{font-size:.75rem!important;line-height:1.1!important}
.sauce-picker-head small{font-size:.62rem!important;line-height:1.15!important}
.sauce-picker-head em{
  white-space:nowrap!important;
  font-size:.6rem!important;
  padding:3px 6px!important;
}
.sauce-options{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
  padding:0!important;
  scrollbar-width:none!important;
}
.sauce-options label{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:30px!important;
  padding:4px 5px!important;
  gap:5px!important;
  overflow:hidden!important;
  white-space:normal!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
}
.sauce-options label span{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  white-space:normal!important;
  line-height:1.05!important;
  font-size:.6rem!important;
}
.sauce-options img.sauce-icon{
  display:block!important;
  flex:0 0 18px!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  object-fit:contain!important;
  border-radius:50%!important;
}
.cat-sandwich-americain .product-media img,
.item-pasticcio-fruits-de-mer .product-media img{
  object-fit:cover!important;
  object-position:center center!important;
}
.cat-sandwich-americain .product-media{
  background:linear-gradient(135deg,#fff7ed,#fff8f0)!important;
}
.cat-boissons .product-media img,
.cat-jus .product-media img{
  object-fit:contain!important;
  object-position:center!important;
  padding:10px!important;
  background:#fff!important;
}
.item-coca-cola .product-media img,
.item-fanta .product-media img,
.item-sprite .product-media img,
.item-jus-orange .product-media img,
.item-jus-citron .product-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  padding:0!important;
}
@media(min-width:760px){
  .sauce-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:430px){
  .cart-progress span{font-size:.62rem!important;gap:3px!important}
  .cart-progress b{width:18px!important;height:18px!important}
  .smart-cart-item{grid-template-columns:48px minmax(0,1fr)!important}
}
