:root{--bg-cream:#f8f9fa;--bg-subtle:#f1f3f5;--surface:#fff;--surface-elevated:#fff;--surface-warm:#f4f6f8;--surface-hover:#eceff2;--surface-border:#e2e8f0;--crimson:#9b1b29;--crimson-hover:#801421;--crimson-subtle:#fdf2f4;--crimson-glow:#9b1b2914;--olive:#4f631b;--olive-hover:#3e4e14;--olive-subtle:#f2f5e8;--brass:#b37d28;--brass-soft:#f9f4eb;--text-main:#111827;--text-muted:#4b5563;--text-subtle:#6b7280;--text-inverse:#fff;--status-pending:#b37d28;--status-prep:#2563eb;--status-grill:#dc2626;--status-delivering:#7c3aed;--status-delivered:#16a34a;--status-cancelled:#dc2626;--radius-sm:8px;--radius-md:12px;--radius-lg:18px;--radius-xl:24px;--radius-full:9999px;--shadow-sm:0 1px 3px #0000000d, 0 1px 2px #00000008;--shadow-md:0 4px 12px #0000000f;--shadow-lg:0 12px 30px #00000014;--shadow-glow:0 4px 16px var(--crimson-glow);--font-display:"Alexandria", -apple-system, sans-serif;--font-body:"Cairo", -apple-system, sans-serif;--container-max-width:1240px;--app-max-width:600px;--safe-bottom:env(safe-area-inset-bottom,16px);--safe-top:env(safe-area-inset-top,16px)}[data-theme=dark]{--bg-cream:#0f1218;--bg-subtle:#161a22;--surface:#1b202b;--surface-elevated:#222936;--surface-warm:#1e232f;--surface-hover:#262d3c;--surface-border:#2b3342;--crimson:#e03e50;--crimson-hover:#f04f62;--crimson-subtle:#2a161a;--crimson-glow:#e03e5033;--olive:#8ca335;--olive-hover:#9fb83e;--olive-subtle:#1c2410;--brass:#d4a346;--brass-soft:#282216;--text-main:#f3f4f6;--text-muted:#9ca3af;--text-subtle:#6b7280;--text-inverse:#0f1218;--shadow-sm:0 1px 3px #0000004d;--shadow-md:0 6px 16px #0006;--shadow-lg:0 16px 36px #00000080}*,:before,:after{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html{font-family:var(--font-body);background-color:var(--bg-cream);color:var(--text-main);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:rtl;width:100%;overflow-x:hidden}body{background-color:var(--bg-cream);width:100%;max-width:100vw;min-height:100vh;color:var(--text-main);margin:0;overflow-x:hidden}#root{background-color:var(--bg-cream);flex-direction:column;width:100%;max-width:100vw;min-height:100vh;transition:background-color .3s,color .3s;display:flex;position:relative;overflow-x:hidden}.responsive-container{width:100%;max-width:var(--container-max-width);box-sizing:border-box;margin:0 auto;padding:0 16px}@media (min-width:768px){.responsive-container{padding:0 24px}}h1,h2,h3,h4,h5,h6,.font-display{font-family:var(--font-display);color:var(--text-main);letter-spacing:-.02em;font-weight:700;line-height:1.25}p,span,input,button,textarea{font-family:var(--font-body)}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--surface-border);border-radius:99px}button{cursor:pointer;font-family:var(--font-body);background:0 0;border:none;transition:transform .15s,opacity .15s,background .2s}button:active{transform:scale(.97)}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes pulseGlow{0%,to{box-shadow:0 0 #9b1b2966}50%{box-shadow:0 0 0 10px #9b1b2900}}.animate-fade-in{animation:.28s cubic-bezier(.16,1,.3,1) forwards fadeIn}.animate-slide-up{animation:.32s cubic-bezier(.16,1,.3,1) forwards slideUp}h1,h2,h3{text-wrap:balance}.opt-picture{width:100%;height:100%;display:block}.opt-img-fallback{background:linear-gradient(135deg, var(--surface-warm), var(--bg-subtle));width:100%;height:100%;color:var(--text-subtle);justify-content:center;align-items:center;display:flex}.food-card{background:var(--surface);border:1px solid var(--surface-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);cursor:pointer;content-visibility:auto;contain-intrinsic-size:122px;gap:12px;padding:12px;transition:transform .18s cubic-bezier(.16,1,.3,1),border-color .18s,box-shadow .18s;display:flex;overflow:hidden}.food-card:hover{box-shadow:var(--shadow-md);border-color:var(--crimson);transform:translateY(-2px)}.food-thumb-wrap{border-radius:var(--radius-md);background:var(--bg-subtle);flex-shrink:0;width:96px;height:96px;position:relative;overflow:hidden}.food-thumb-img{object-fit:cover;width:100%;height:100%;transition:transform .32s cubic-bezier(.16,1,.3,1)}.food-card:hover .food-thumb-img{transform:scale(1.06)}.popular-badge{color:#fff;border-radius:var(--radius-full);background:#9b1b29eb;align-items:center;gap:3px;padding:2px 6px;font-size:.62rem;font-weight:700;display:flex;position:absolute;top:6px;right:6px}.food-info{flex-direction:column;flex:1;justify-content:space-between;min-width:0;display:flex}.food-title{color:var(--text-main);margin-bottom:3px;font-size:.96rem;font-weight:700;line-height:1.25}.food-title-btn{font-family:var(--font-display);font-size:inherit;font-weight:inherit;color:inherit;text-align:right;line-height:inherit;width:100%;padding:0}.food-desc{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:6px;font-size:.74rem;line-height:1.35;display:-webkit-box;overflow:hidden}.food-footer{justify-content:space-between;align-items:center;margin-top:auto;display:flex}.price-tag{font-variant-numeric:tabular-nums;align-items:baseline;gap:3px;display:flex}.price-amount{font-family:var(--font-display);color:var(--crimson);font-size:1.05rem;font-weight:800}.price-currency{color:var(--crimson);font-size:.72rem;font-weight:700}.price-prefix{color:var(--text-subtle);margin-right:2px;font-size:.68rem}.add-quick-btn{background:var(--crimson-subtle);width:40px;height:40px;color:var(--crimson);border-radius:50%;justify-content:center;align-items:center;transition:transform .15s,background .18s,color .18s;display:flex}.add-quick-btn:hover:not(:disabled){background:var(--crimson);color:#fff}.food-card.is-out-of-stock{opacity:.6;cursor:not-allowed;filter:grayscale(.4)}.discount-badge-card{color:#fff;border-radius:var(--radius-full);background:#c28d38;padding:2px 6px;font-size:.65rem;font-weight:800;position:absolute;top:6px;right:6px;box-shadow:0 2px 4px #0003}.out-of-stock-overlay{color:#fff;background:#000000a6;justify-content:center;align-items:center;font-size:.72rem;font-weight:800;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.card-discount-box{align-items:baseline;gap:4px;display:flex}.card-old-price{color:var(--text-muted);font-size:.72rem;text-decoration:line-through}.add-quick-btn:disabled{opacity:.4;cursor:not-allowed}.pwa-install-btn{border-radius:var(--radius-full);background:var(--crimson);color:#fff;white-space:nowrap;height:38px;box-shadow:var(--shadow-sm);flex-shrink:0;align-items:center;gap:6px;padding:0 12px;font-size:.78rem;font-weight:700;transition:background .18s,transform .15s;display:inline-flex}.pwa-install-btn:hover{background:var(--crimson-hover)}.pwa-install-label{display:none}@media (min-width:640px){.pwa-install-label{display:inline}}.pwa-ios-backdrop{z-index:150;background:#0f1218ad;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.pwa-ios-dialog{background:var(--surface);border:1px solid var(--surface-border);border-radius:var(--radius-xl);width:100%;max-width:380px;box-shadow:var(--shadow-lg);color:var(--text-main);padding:20px}.pwa-ios-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.pwa-ios-head h3{font-size:1rem;font-weight:800}.pwa-ios-close{width:34px;height:34px;color:var(--text-muted);background:var(--bg-subtle);border-radius:50%;justify-content:center;align-items:center;display:flex}.pwa-ios-sub{color:var(--text-muted);margin-bottom:14px;font-size:.82rem;line-height:1.5}.pwa-ios-steps{flex-direction:column;gap:10px;margin-bottom:16px;list-style:none;display:flex}.pwa-ios-steps li{color:var(--text-main);background:var(--bg-subtle);border-radius:var(--radius-md);align-items:flex-start;gap:8px;padding:10px 12px;font-size:.82rem;display:flex}.pwa-ios-done-btn{border-radius:var(--radius-md);background:var(--crimson);color:#fff;width:100%;height:44px;font-size:.88rem;font-weight:700}.offline-indicator-banner{z-index:110;border-radius:var(--radius-full);color:#fffbeb;box-shadow:var(--shadow-md);background:#92400e;align-items:center;gap:8px;max-width:calc(100vw - 24px);padding:8px 14px;font-size:.78rem;font-weight:700;display:inline-flex;position:fixed;bottom:84px;left:50%;transform:translate(-50%)}@media (min-width:820px){.offline-indicator-banner{bottom:20px}}.lazy-view-skeleton{flex-direction:column;gap:14px;padding:24px 0;display:flex}.skeleton-stage{border-radius:var(--radius-xl);background:linear-gradient(110deg, var(--surface) 25%, var(--bg-subtle) 50%, var(--surface) 75%);border:1px solid var(--surface-border);width:100%;height:420px;color:var(--text-muted);background-size:200% 100%;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:.86rem;font-weight:700;animation:1.3s ease-in-out infinite skeletonSweep;display:flex}.skeleton-row{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--surface-border);height:72px}@keyframes skeletonSweep{0%{background-position:200% 0}to{background-position:-200% 0}}.lazy-error-fallback{border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--surface-border);text-align:center;max-width:440px;color:var(--text-main);flex-direction:column;align-items:center;gap:10px;margin:24px auto;padding:28px 20px;display:flex}.lazy-error-fallback p{color:var(--text-muted);font-size:.84rem}.lazy-retry-btn{border-radius:var(--radius-full);background:var(--crimson);color:#fff;align-items:center;gap:6px;padding:10px 18px;font-size:.84rem;font-weight:700;display:inline-flex}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
