*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overscroll-behavior:none}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:var(--tg-theme-bg-color, var(--qr-bg));color:var(--tg-theme-text-color, var(--qr-text));line-height:1.5;min-height:100vh;padding-bottom:env(safe-area-inset-bottom,0)}img{max-width:100%;display:block}button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}input[type=radio],input[type=checkbox]{accent-color:var(--qr-primary)}.app-shell{max-width:480px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column}.telegram-gate{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80vh;padding:32px 24px;text-align:center}.telegram-gate-icon{margin-bottom:16px}.telegram-gate-title{font-size:28px;font-weight:800;margin-bottom:12px}.telegram-gate-text{font-size:16px;color:#666;margin-bottom:4px}.telegram-gate-text-ar{font-size:16px;color:#666;direction:rtl}.loading-screen,.error-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:12px;color:var(--tg-theme-hint-color, #999999)}.spinner{width:32px;height:32px;border:3px solid var(--tg-theme-secondary-bg-color, #e0e0e0);border-top-color:var(--qr-primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes screenFadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.screen-enter{animation:screenFadeIn .2s ease-out}.img-fade{opacity:0;transition:opacity .25s ease}.img-fade.loaded{opacity:1}.error-icon{color:var(--tg-theme-destructive-text-color, #e53935);margin-bottom:4px}:root{--header-height: 61px;--qr-primary: #E8453C;--qr-primary-light: #FDE8E7;--qr-primary-rgb: 232, 69, 60;--qr-secondary: #F59E0B;--qr-secondary-light: #FEF3C7;--qr-success: #16A34A;--qr-success-light: #DCFCE7;--qr-bg: #FFFBF7;--qr-bg-secondary: #FFF5ED;--qr-border: #F5E6D8;--qr-text: #2D1F1A;--qr-text-secondary: #8C7569;--qr-text-on-primary: #ffffff;--qr-shadow-sm: 0 1px 4px rgba(139, 90, 43, .08);--qr-shadow-md: 0 2px 8px rgba(139, 90, 43, .12);--qr-shadow-lg: 0 4px 20px rgba(139, 90, 43, .16);--qr-shadow-xl: 0 4px 16px rgba(139, 90, 43, .2);--qr-primary-glow-sm: 0 0 0 4px rgba(232, 69, 60, .2);--qr-primary-glow-lg: 0 0 0 8px rgba(232, 69, 60, .1)}@media(prefers-color-scheme:dark){:root{--qr-primary: #F25C54;--qr-primary-light: #3D1F1D;--qr-primary-rgb: 242, 92, 84;--qr-secondary: #FBBF24;--qr-secondary-light: #3D3013;--qr-success: #22C55E;--qr-success-light: #1A3D26;--qr-bg: #1A1412;--qr-bg-secondary: #2A2220;--qr-border: #3D332D;--qr-text: #F5EDE8;--qr-text-secondary: #A89890;--qr-text-on-primary: #ffffff;--qr-shadow-sm: 0 1px 4px rgba(0, 0, 0, .2);--qr-shadow-md: 0 2px 8px rgba(0, 0, 0, .28);--qr-shadow-lg: 0 4px 20px rgba(0, 0, 0, .36);--qr-shadow-xl: 0 4px 16px rgba(0, 0, 0, .4);--qr-primary-glow-sm: 0 0 0 4px rgba(242, 92, 84, .25);--qr-primary-glow-lg: 0 0 0 8px rgba(242, 92, 84, .12)}}.header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--tg-theme-secondary-bg-color, #f0f0f0);position:sticky;top:0;background:var(--tg-theme-bg-color, #ffffff);z-index:20;box-shadow:var(--qr-shadow-sm)}.header-back{width:32px;height:32px;border-radius:50%;background:transparent;color:var(--tg-theme-text-color, #000000);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s}.header-back:active{background:var(--tg-theme-secondary-bg-color, #f0f0f0)}[dir=rtl] .header-back svg{transform:scaleX(-1)}.header-info{display:flex;align-items:center;gap:10px;min-width:0}.header-logo{width:36px;height:36px;border-radius:8px;object-fit:cover;flex-shrink:0}.header-logo-placeholder{width:36px;height:36px;border-radius:8px;background:var(--qr-primary);color:var(--qr-text-on-primary);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;flex-shrink:0}.header-name{font-size:18px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lang-toggle{font-size:13px;font-weight:600;padding:4px 12px;border-radius:14px;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--qr-primary);flex-shrink:0;transition:opacity .15s}.category-tabs{display:flex;gap:8px;padding:12px 16px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:sticky;top:var(--header-height, 61px);background:var(--tg-theme-bg-color, #ffffff);z-index:10}.category-tabs::-webkit-scrollbar{display:none}.category-tab{display:flex;align-items:center;gap:4px;padding:6px 16px;border-radius:16px;font-size:14px;font-weight:500;white-space:nowrap;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--tg-theme-text-color, #000000);transition:background .2s,color .2s}.category-tab-emoji{font-size:14px;line-height:1}.category-tab-icon{width:18px;height:18px;border-radius:4px;object-fit:cover}.category-tab.active{background:var(--qr-primary);color:var(--qr-text-on-primary)}.menu-screen{flex:1;padding-bottom:100px}.menu-sections{padding:0 16px}.menu-section{margin-bottom:8px;scroll-margin-top:calc(var(--header-height, 61px) + 48px)}.item-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.item-card{background:var(--tg-theme-secondary-bg-color, #f5f5f5);border-radius:14px;overflow:hidden;cursor:pointer;transition:transform .15s;box-shadow:var(--qr-shadow-sm)}.item-card:active{transform:scale(.97)}.item-card-image{position:relative}.item-card-image img,.item-card-placeholder{width:100%;aspect-ratio:10/7;height:auto;object-fit:cover}.item-card-placeholder{background:linear-gradient(135deg,var(--tg-theme-secondary-bg-color, #e0e0e0) 0%,var(--tg-theme-bg-color, #f5f5f5) 100%);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:var(--tg-theme-hint-color, #999999)}.item-card-body{padding:10px 12px 12px}.item-card-name{font-size:14px;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item-card-desc{font-size:12px;color:var(--tg-theme-hint-color, #999999);margin-top:2px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.item-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.item-card-price{font-size:14px;font-weight:700;color:var(--qr-primary)}.item-card-add{width:28px;height:28px;border-radius:50%;background:var(--qr-primary);color:var(--qr-text-on-primary);font-size:18px;font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1;transition:background .15s,transform .15s}.item-card-add:active{opacity:.8}.item-card-add.added{background:var(--qr-success);animation:addedPop .3s ease}@keyframes addedPop{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.item-card-stepper{display:flex;align-items:center;background:var(--qr-primary);border-radius:20px;overflow:hidden;flex-shrink:0}.item-card-step{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:none;border:none;color:var(--qr-text-on-primary);font-size:16px;font-weight:600;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}.item-card-step:active{opacity:.7}.item-card-step-qty{min-width:18px;text-align:center;color:var(--qr-text-on-primary);font-size:13px;font-weight:700;line-height:28px}.item-card-cal-badge{position:absolute;top:6px;right:6px;font-size:10px;font-weight:600;padding:2px 6px;border-radius:8px;background:#0009;color:#fff;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);line-height:1.3}[dir=rtl] .item-card-cal-badge{right:auto;left:6px}.item-card-heart{position:absolute;top:6px;left:6px;width:26px;height:26px;border-radius:50%;background:#ffffffe6;display:flex;align-items:center;justify-content:center;box-shadow:var(--qr-shadow-sm)}[dir=rtl] .item-card-heart{left:auto;right:6px}.item-card-heart.active{animation:heartPop .3s ease}@keyframes heartPop{0%{transform:scale(1)}50%{transform:scale(1.3)}to{transform:scale(1)}}.item-card-allergens{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.item-card-allergen-pill{font-size:9px;font-weight:600;padding:1px 6px;border-radius:6px;background:#e539351a;color:var(--tg-theme-destructive-text-color, #e53935);line-height:1.4}.popular-card-add.added{background:var(--qr-success);animation:addedPop .3s ease}.item-detail{flex:1;display:flex;flex-direction:column;position:relative}.item-detail-back{position:absolute;top:12px;left:12px;z-index:5;width:36px;height:36px;border-radius:50%;background:var(--tg-theme-bg-color, #ffffff);box-shadow:var(--qr-shadow-md);display:flex;align-items:center;justify-content:center;color:var(--tg-theme-text-color, #000000);transition:opacity .15s}[dir=rtl] .item-detail-back{left:auto;right:12px}[dir=rtl] .item-detail-back svg{transform:scaleX(-1)}.item-detail-image img,.item-detail-placeholder{width:100%;aspect-ratio:16/10;height:auto;object-fit:cover}.item-detail-placeholder{background:linear-gradient(135deg,var(--tg-theme-secondary-bg-color, #e0e0e0) 0%,var(--tg-theme-bg-color, #f5f5f5) 100%)}.item-detail-image{position:relative}.item-detail-heart{position:absolute;bottom:12px;right:12px;width:40px;height:40px;border-radius:50%;background:var(--tg-theme-bg-color, #ffffff);display:flex;align-items:center;justify-content:center;box-shadow:var(--qr-shadow-md);z-index:2}[dir=rtl] .item-detail-heart{right:auto;left:12px}.item-detail-heart.active{animation:heartPop .3s ease}.dietary-info-card{margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--tg-theme-secondary-bg-color, #f5f5f5);display:flex;flex-direction:column;gap:6px}.dietary-info-row{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--tg-theme-hint-color, #999999)}.dietary-info-allergens{color:var(--tg-theme-destructive-text-color, #e53935)}.item-detail-content{padding:16px;flex:1}.item-detail-name{font-size:22px;font-weight:800}.item-detail-desc{font-size:14px;color:var(--tg-theme-hint-color, #999999);margin-top:4px}.item-detail-price{display:block;font-size:18px;font-weight:600;color:var(--qr-primary);margin-top:8px}.item-detail-footer{padding:16px;border-top:1px solid var(--tg-theme-secondary-bg-color, #f0f0f0)}.modifier-group{margin-top:16px;border-top:1px solid var(--tg-theme-secondary-bg-color, #f0f0f0);padding-top:12px}.modifier-group-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.modifier-group-name{font-size:15px;font-weight:600}.modifier-group-badge{font-size:11px;padding:2px 8px;border-radius:10px;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--tg-theme-hint-color, #999999)}.modifier-group-badge.required{background:var(--qr-primary);color:var(--qr-text-on-primary)}.modifier-group-options{display:flex;flex-direction:column;gap:4px}.modifier-option{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;cursor:pointer;transition:background .15s}.modifier-option.selected{background:var(--tg-theme-secondary-bg-color, #f0f0f0)}.modifier-option-name{flex:1;font-size:14px}.modifier-option-price{font-size:13px;color:var(--tg-theme-hint-color, #999999)}.cart-bar{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom,0));left:12px;right:12px;max-width:456px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--qr-primary);color:var(--qr-text-on-primary);cursor:pointer;z-index:30;border-radius:16px;box-shadow:var(--qr-shadow-lg)}.cart-bar-info{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600}.cart-bar-badge{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#ffffff40;font-size:13px;font-weight:700}.cart-bar-total{font-size:15px;font-weight:700}.cart-screen{padding:16px;flex:1}.cart-items{display:flex;flex-direction:column;gap:12px}.cart-item{display:flex;align-items:center;justify-content:space-between;padding:12px;background:var(--tg-theme-secondary-bg-color, #f5f5f5);border-radius:10px}.cart-item-info{flex:1;min-width:0}.cart-item-modifiers{font-size:12px;color:var(--tg-theme-hint-color, #999999);margin-top:2px}.cart-item-name{font-size:14px;font-weight:600;display:block}.cart-item-total{font-size:13px;color:var(--tg-theme-hint-color, #999999)}.cart-item-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}.qty-btn{width:30px;height:30px;border-radius:50%;background:var(--tg-theme-bg-color, #ffffff);font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;border:1px solid var(--tg-theme-secondary-bg-color, #e0e0e0);transition:background .15s,border-color .15s,transform .15s}.qty-btn:active{background:var(--tg-theme-secondary-bg-color, #f0f0f0);transform:scale(.92)}.qty-value{font-size:15px;font-weight:600;min-width:20px;text-align:center}.cart-summary{margin-top:16px;padding:12px;background:var(--tg-theme-secondary-bg-color, #f5f5f5);border-radius:10px}.cart-summary-row{display:flex;justify-content:space-between;font-size:14px;padding:4px 0;color:var(--tg-theme-hint-color, #999999)}.cart-summary-total{font-size:16px;font-weight:700;color:var(--tg-theme-text-color, #000000);border-top:1px solid var(--tg-theme-bg-color, #e0e0e0);margin-top:4px;padding-top:8px}.cart-actions{margin-top:20px;display:flex;flex-direction:column;gap:10px}.checkout-screen{padding:16px;flex:1}.checkout-section{margin-bottom:20px}.checkout-label{font-size:15px;font-weight:600;margin-bottom:8px}.checkout-toggle{display:flex;gap:8px}.toggle-btn{flex:1;padding:10px;border-radius:10px;font-size:14px;font-weight:600;text-align:center;background:var(--tg-theme-secondary-bg-color, #f0f0f0);transition:background .2s,color .2s;position:relative}.toggle-btn.active{background:var(--qr-primary);color:var(--qr-text-on-primary)}.toggle-btn.disabled{opacity:.5;cursor:not-allowed}.coming-soon-badge{display:block;font-size:10px;font-weight:400;opacity:.7}.checkout-table{font-size:13px;color:var(--tg-theme-hint-color, #999999);margin-top:6px}.checkout-summary{display:flex;justify-content:space-between;align-items:center;padding:12px;background:var(--tg-theme-secondary-bg-color, #f5f5f5);border-radius:10px;margin-bottom:16px;font-size:15px}.checkout-total{font-weight:700;font-size:16px}.checkout-error{color:var(--tg-theme-destructive-text-color, #e53935);font-size:14px;margin-bottom:12px;text-align:center}.order-confirmation{padding:32px 16px;text-align:center;flex:1;display:flex;flex-direction:column;align-items:center}.order-confirmation-icon{width:64px;height:64px;border-radius:50%;background:var(--qr-success);color:#fff;font-size:32px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;animation:scaleIn .3s ease}@keyframes scaleIn{0%{transform:scale(0)}80%{transform:scale(1.1)}to{transform:scale(1)}}.order-confirmation-title{font-size:22px;font-weight:700;margin-bottom:4px}.order-confirmation-number{font-size:28px;font-weight:800;color:var(--qr-primary);margin-bottom:20px}.order-confirmation-items{width:100%;text-align:start;background:var(--tg-theme-secondary-bg-color, #f5f5f5);border-radius:10px;padding:12px;margin-bottom:24px}.order-confirmation-item{display:flex;justify-content:space-between;font-size:14px;padding:4px 0}.order-confirmation-total{display:flex;justify-content:space-between;font-size:16px;font-weight:700;border-top:1px solid var(--tg-theme-bg-color, #e0e0e0);margin-top:8px;padding-top:8px}.order-confirmation-actions{width:100%;display:flex;flex-direction:column;gap:10px}.order-tracking{padding:32px 16px;flex:1}.order-tracking-title{font-size:20px;font-weight:700;text-align:center}.order-tracking-number{text-align:center;font-size:24px;font-weight:800;color:var(--qr-primary);margin-bottom:32px}.order-tracking-timeline{display:flex;flex-direction:column;gap:0;padding:0 24px;margin-bottom:32px}.timeline-step{display:flex;align-items:center;gap:12px;padding:16px 0;position:relative}.timeline-step:not(:last-child):before{content:"";position:absolute;top:40px;width:2px;height:calc(100% - 24px);background:var(--tg-theme-secondary-bg-color, #e0e0e0)}[dir=ltr] .timeline-step:not(:last-child):before{left:9px}[dir=rtl] .timeline-step:not(:last-child):before{right:9px}.timeline-step.done:not(:last-child):before{background:var(--qr-success)}.timeline-step.current:not(:last-child):before{background:linear-gradient(to bottom,var(--qr-primary) 50%,var(--tg-theme-secondary-bg-color, #e0e0e0) 50%)}.timeline-dot{width:20px;height:20px;border-radius:50%;background:var(--tg-theme-secondary-bg-color, #e0e0e0);flex-shrink:0;position:relative;z-index:1}.timeline-step.done .timeline-dot{background:var(--qr-success)}.timeline-step.current .timeline-dot{background:var(--qr-primary);box-shadow:var(--qr-primary-glow-sm);animation:pulse 2s infinite}@keyframes pulse{0%,to{box-shadow:var(--qr-primary-glow-sm)}50%{box-shadow:var(--qr-primary-glow-lg)}}.timeline-label{font-size:15px;font-weight:500;color:var(--tg-theme-hint-color, #999999)}.timeline-step.done .timeline-label,.timeline-step.current .timeline-label{color:var(--tg-theme-text-color, #000000);font-weight:600}.order-tracking-cancelled{text-align:center;padding:24px}.status-cancelled{font-size:18px;font-weight:600;color:var(--tg-theme-destructive-text-color, #e53935)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 16px;text-align:center;min-height:40vh}.empty-state-title{font-size:18px;font-weight:600;margin-bottom:4px}.empty-state-subtitle{font-size:14px;color:var(--tg-theme-hint-color, #999999);margin-bottom:16px}.skeleton{background:linear-gradient(90deg,var(--tg-theme-secondary-bg-color, #f0f0f0) 25%,var(--tg-theme-bg-color, #e8e8e8) 50%,var(--tg-theme-secondary-bg-color, #f0f0f0) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;transition:opacity .2s ease}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:12px;font-size:15px;font-weight:600;transition:opacity .15s}.btn:active{opacity:.8}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--qr-primary);color:var(--qr-text-on-primary)}.btn-secondary{background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--tg-theme-text-color, #000000)}.btn-ghost{background:transparent;color:var(--tg-theme-destructive-text-color, #e53935)}.btn-full{width:100%}.btn-large{padding:14px 20px;font-size:16px}.discovery-screen{flex:1;display:flex;flex-direction:column;min-height:100vh}.discovery-search{position:relative;padding:12px 16px 0}.discovery-search-icon{position:absolute;top:50%;transform:translateY(-50%);color:var(--tg-theme-hint-color, #999999);pointer-events:none}[dir=ltr] .discovery-search-icon,:not([dir]) .discovery-search-icon{left:28px}[dir=rtl] .discovery-search-icon{right:28px}.discovery-search-input{width:100%;padding:10px 36px 10px 40px;border-radius:10px;border:1px solid var(--tg-theme-secondary-bg-color, #e0e0e0);background:var(--tg-theme-secondary-bg-color, #f5f5f5);color:var(--tg-theme-text-color, #000000);font-size:15px;font-family:inherit;outline:none;transition:border-color .2s}[dir=rtl] .discovery-search-input{padding:10px 40px 10px 36px}.discovery-search-input:focus{border-color:var(--qr-primary)}.discovery-search-input::placeholder{color:var(--tg-theme-hint-color, #999999)}.discovery-search-clear{position:absolute;top:50%;transform:translateY(-50%);font-size:20px;color:var(--tg-theme-hint-color, #999999);padding:4px 8px;line-height:1}[dir=ltr] .discovery-search-clear{right:20px}[dir=rtl] .discovery-search-clear{left:20px}.discovery-location-btn{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px 16px;padding:10px;border-radius:10px;background:var(--qr-primary);color:var(--qr-text-on-primary);font-size:14px;font-weight:600;font-family:inherit;transition:opacity .15s}.discovery-location-btn:active{opacity:.8}.discovery-location-btn:disabled{opacity:.6;cursor:not-allowed}.discovery-location-badge{margin:10px 16px;padding:6px 12px;border-radius:14px;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--qr-primary);font-size:13px;font-weight:600;display:inline-block;width:fit-content}.discovery-list{flex:1;padding:8px 16px 24px;display:flex;flex-direction:column;gap:8px}.discovery-skeleton-list{display:flex;flex-direction:column;gap:8px}.merchant-card{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;background:var(--tg-theme-secondary-bg-color, #f5f5f5);cursor:pointer;transition:transform .15s;box-shadow:var(--qr-shadow-sm)}.merchant-card:active{transform:scale(.98)}.merchant-card-closed{opacity:.5;cursor:default}.merchant-card-closed:active{transform:none}.merchant-card-logo{width:52px;height:52px;flex-shrink:0}.merchant-card-logo img{width:52px;height:52px;border-radius:10px;object-fit:cover}.merchant-card-logo-placeholder{width:52px;height:52px;border-radius:10px;background:var(--qr-primary);color:var(--qr-text-on-primary);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700}.merchant-card-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.merchant-card-name{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.merchant-card-type{font-size:12px;color:var(--tg-theme-hint-color, #999999);text-transform:capitalize}.merchant-card-address{font-size:12px;color:var(--tg-theme-hint-color, #999999);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.merchant-card-meta{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.merchant-card-distance{font-size:12px;font-weight:600;color:var(--qr-primary);white-space:nowrap}.merchant-card-closed-badge{font-size:11px;font-weight:600;padding:2px 8px;border-radius:8px;background:var(--tg-theme-destructive-text-color, #e53935);color:#fff}.merchant-card-rating{font-size:12px;font-weight:600;color:var(--tg-theme-text-color, #000000);white-space:nowrap}.merchant-card-rating .rating-count{color:var(--tg-theme-hint-color, #999999);font-weight:400}.merchant-card-chevron{font-size:22px;font-weight:300;line-height:1;color:var(--tg-theme-hint-color, #999999)}.checkout-notes{width:100%;min-height:80px;padding:10px 12px;border-radius:10px;border:1px solid var(--tg-theme-secondary-bg-color, #e0e0e0);background:var(--tg-theme-secondary-bg-color, #f5f5f5);color:var(--tg-theme-text-color, #000000);font-size:14px;font-family:inherit;resize:vertical;outline:none;transition:border-color .2s}.checkout-notes:focus{border-color:var(--qr-primary)}.checkout-notes::placeholder{color:var(--tg-theme-hint-color, #999999)}.toast{position:fixed;top:16px;left:16px;right:16px;max-width:448px;margin:0 auto;padding:12px 16px;border-radius:10px;font-size:14px;font-weight:500;z-index:50;animation:toastIn .25s ease;text-align:center}.toast-error{background:var(--tg-theme-destructive-text-color, #e53935);color:#fff}.toast-success{background:var(--qr-success);color:#fff}@keyframes toastIn{0%{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}.chat-fab{position:fixed;bottom:calc(80px + env(safe-area-inset-bottom,0));z-index:25;width:48px;height:48px;border-radius:50%;background:var(--qr-primary);color:var(--qr-text-on-primary);display:flex;align-items:center;justify-content:center;box-shadow:var(--qr-shadow-xl);transition:transform .15s}[dir=ltr] .chat-fab,:not([dir]) .chat-fab{right:16px}[dir=rtl] .chat-fab{left:16px}.chat-fab:active{transform:scale(.92)}.chat-fab-label{font-size:10px;font-weight:600;position:absolute;bottom:-16px;white-space:nowrap}.help-btn{width:36px;height:36px;border-radius:50%;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--tg-theme-text-color, #000000);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:opacity .15s}.help-btn:active{opacity:.7}.header-actions{display:flex;align-items:center;gap:8px}.header-cart-btn{position:relative;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--tg-theme-secondary-bg-color, #f0f0f0)}.header-cart-btn:active{transform:scale(.92)}.header-cart-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--qr-primary);color:var(--qr-text-on-primary, #fff);font-size:11px;font-weight:700;line-height:18px;text-align:center}.help-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:100;display:flex;align-items:flex-end;justify-content:center;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.help-modal{width:100%;max-width:480px;background:var(--tg-theme-bg-color, #ffffff);border-radius:16px 16px 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0));animation:slideUp .25s ease}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.help-modal-title{font-size:18px;font-weight:700;margin-bottom:12px}.help-options{display:flex;flex-direction:column;gap:8px}.help-option{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:12px;background:var(--tg-theme-secondary-bg-color, #f5f5f5);font-size:15px;font-weight:500;transition:background .15s}.help-option:active{background:var(--qr-primary);color:var(--qr-text-on-primary)}.help-option:disabled{opacity:.5;cursor:not-allowed}.help-option-icon{font-size:20px;flex-shrink:0}.help-option-other{background:transparent;border:1px dashed var(--tg-theme-hint-color, #cccccc);color:var(--tg-theme-hint-color, #999999)}.help-option-other:active{background:var(--tg-theme-secondary-bg-color, #f5f5f5);color:var(--tg-theme-text-color, #000000)}.help-modal-textarea{width:100%;min-height:100px;padding:10px 12px;border-radius:10px;border:1px solid var(--tg-theme-secondary-bg-color, #e0e0e0);background:var(--tg-theme-secondary-bg-color, #f5f5f5);color:var(--tg-theme-text-color, #000000);font-size:14px;font-family:inherit;resize:vertical;outline:none;margin-bottom:12px}.help-modal-textarea:focus{border-color:var(--qr-primary)}.help-modal-textarea::placeholder{color:var(--tg-theme-hint-color, #999999)}.menu-section-title{font-size:17px;font-weight:800;margin-bottom:10px;margin-top:16px}.menu-section:first-child .menu-section-title{margin-top:8px}.item-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.item-tag{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:500;padding:4px 10px;border-radius:12px;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--tg-theme-text-color, #333)}.item-allergen{display:inline-block;font-size:12px;font-weight:500;padding:3px 10px;border-radius:12px;background:var(--tg-theme-destructive-text-color, #e53935);color:#fff;opacity:.85}.checkout-items{background:var(--tg-theme-secondary-bg-color, #f5f5f5);border-radius:10px;padding:12px;margin-bottom:12px}.checkout-item-row{display:flex;justify-content:space-between;font-size:14px;padding:3px 0}.checkout-item-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.checkout-item-qty{flex-shrink:0;color:var(--tg-theme-hint-color, #999999)}.menu-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 16px;text-align:center;min-height:40vh;color:var(--tg-theme-hint-color, #999999)}.menu-empty-icon{font-size:48px;margin-bottom:12px}.merchant-info-bar{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:var(--tg-theme-secondary-bg-color, #f5f5f5);font-size:13px}.merchant-info-bar-details{display:flex;align-items:center;gap:8px}.merchant-info-type{font-weight:500;color:var(--tg-theme-hint-color, #999999);text-transform:capitalize}.merchant-info-table{font-weight:600;padding:2px 8px;border-radius:8px;background:var(--qr-primary);color:var(--qr-text-on-primary);font-size:12px}.merchant-info-status{font-size:12px;font-weight:600;padding:2px 8px;border-radius:8px}.merchant-info-status.open{background:var(--qr-success-light);color:var(--qr-success)}.merchant-info-status.closed{background:#e539351f;color:var(--tg-theme-destructive-text-color, #e53935)}.menu-search{position:relative;padding:10px 16px}.menu-search-icon{position:absolute;top:50%;transform:translateY(-50%);color:var(--tg-theme-hint-color, #999999);pointer-events:none}[dir=ltr] .menu-search-icon,:not([dir]) .menu-search-icon{left:28px}[dir=rtl] .menu-search-icon{right:28px}.menu-search-input{width:100%;padding:10px 36px 10px 40px;border-radius:10px;border:1px solid var(--tg-theme-secondary-bg-color, #e0e0e0);background:var(--tg-theme-secondary-bg-color, #f5f5f5);color:var(--tg-theme-text-color, #000000);font-size:15px;font-family:inherit;outline:none;transition:border-color .2s}[dir=rtl] .menu-search-input{padding:10px 40px 10px 36px}.menu-search-input:focus{border-color:var(--qr-primary)}.menu-search-input::placeholder{color:var(--tg-theme-hint-color, #999999)}.menu-search-clear{position:absolute;top:50%;transform:translateY(-50%);font-size:20px;color:var(--tg-theme-hint-color, #999999);padding:4px 8px;line-height:1}[dir=ltr] .menu-search-clear,:not([dir]) .menu-search-clear{right:20px}[dir=rtl] .menu-search-clear{left:20px}.popular-section{padding:0 16px 4px}.popular-title{font-size:17px;font-weight:800;margin-bottom:10px;margin-top:4px}.popular-scroll{display:flex;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:4px}.popular-scroll::-webkit-scrollbar{display:none}.popular-card{flex-shrink:0;width:140px;background:var(--tg-theme-secondary-bg-color, #f5f5f5);border-radius:14px;overflow:hidden;cursor:pointer;transition:transform .15s;box-shadow:var(--qr-shadow-sm);position:relative}.popular-card:active{transform:scale(.97)}.popular-card-image img,.popular-card-placeholder{width:100%;aspect-ratio:14/9;height:auto;object-fit:cover}.popular-card-placeholder{background:linear-gradient(135deg,var(--tg-theme-secondary-bg-color, #e0e0e0) 0%,var(--tg-theme-bg-color, #f5f5f5) 100%);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:var(--tg-theme-hint-color, #999999)}.popular-card-body{padding:8px 10px}.popular-card-name{font-size:13px;font-weight:600;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.popular-card-price{font-size:13px;font-weight:600;color:var(--qr-primary);display:block;margin-top:2px}.popular-card-add{position:absolute;top:6px;width:26px;height:26px;border-radius:50%;background:var(--qr-primary);color:var(--qr-text-on-primary);font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:var(--qr-shadow-md);transition:background .15s,transform .15s}[dir=ltr] .popular-card-add,:not([dir]) .popular-card-add{right:6px}[dir=rtl] .popular-card-add{left:6px}.popular-card-add:active{opacity:.8}@keyframes cartSlideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes badgeScale{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.cart-bar{animation:cartSlideUp .3s ease}.cart-bar-badge.animating{animation:badgeScale .3s ease}.checkout-progress{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px 16px 8px}.checkout-step{display:flex;align-items:center;gap:8px}.checkout-step-dot{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;background:var(--tg-theme-secondary-bg-color, #e0e0e0);color:var(--tg-theme-hint-color, #999999);transition:all .2s}.checkout-step-dot.active{background:var(--qr-primary);color:var(--qr-text-on-primary)}.checkout-step-dot.done{background:var(--qr-success);color:#fff}.checkout-step-line{width:32px;height:2px;background:var(--tg-theme-secondary-bg-color, #e0e0e0)}.checkout-step-line.done{background:var(--qr-success)}.checkout-type-cards{display:flex;gap:10px}.checkout-type-card{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 10px;border-radius:12px;background:var(--tg-theme-secondary-bg-color, #f0f0f0);transition:all .2s;border:2px solid transparent}.checkout-type-card.active{border-color:var(--qr-primary);background:rgba(var(--qr-primary-rgb),.08)}.checkout-type-icon{font-size:28px}.checkout-type-label{font-size:14px;font-weight:600}.checkout-pay-cards{display:flex;gap:10px}.checkout-pay-card{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 10px;border-radius:12px;background:var(--tg-theme-secondary-bg-color, #f0f0f0);transition:all .2s;border:2px solid transparent}.checkout-pay-card.active{border-color:var(--qr-primary);background:rgba(var(--qr-primary-rgb),.08)}.checkout-pay-card.disabled{opacity:.45;cursor:not-allowed}.checkout-pay-icon{font-size:24px}.checkout-pay-label{font-size:13px;font-weight:600}.checkout-est-time{text-align:center;font-size:13px;color:var(--tg-theme-hint-color, #999999);margin-bottom:16px}@keyframes checkDraw{0%{stroke-dashoffset:24}to{stroke-dashoffset:0}}@keyframes circleGrow{0%{transform:scale(0);opacity:0}60%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.order-confirm-check-wrap{width:80px;height:80px;border-radius:50%;background:var(--qr-success);display:flex;align-items:center;justify-content:center;margin-bottom:16px;animation:circleGrow .4s ease forwards}.order-confirm-check-wrap svg{stroke-dasharray:24;stroke-dashoffset:24;animation:checkDraw .3s .3s ease forwards}.order-confirm-hint{font-size:13px;color:var(--tg-theme-hint-color, #999999);margin-bottom:16px}.timeline-step-time{font-size:11px;color:var(--tg-theme-hint-color, #999999);margin-top:2px}.order-tracking-help{text-align:center;margin-top:16px}.rating-section{text-align:center;padding:20px 0;animation:fadeIn .3s ease}.rating-title{font-size:16px;font-weight:600;margin-bottom:12px}.rating-stars{display:flex;justify-content:center;gap:8px;margin-bottom:12px}.rating-star{font-size:32px;cursor:pointer;transition:transform .15s;opacity:.3}.rating-star.active{opacity:1}.rating-star:active{transform:scale(1.2)}.rating-textarea{width:100%;min-height:60px;padding:10px 12px;border-radius:10px;border:1px solid var(--tg-theme-secondary-bg-color, #e0e0e0);background:var(--tg-theme-secondary-bg-color, #f5f5f5);color:var(--tg-theme-text-color, #000000);font-size:14px;font-family:inherit;resize:vertical;outline:none;margin-bottom:12px}.rating-textarea:focus{border-color:var(--qr-primary)}.rating-thank-you{font-size:15px;font-weight:600;color:var(--qr-success);animation:scaleIn .3s ease}.feedback-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px}.feedback-tag{padding:8px 16px;border-radius:20px;font-size:13px;font-weight:600;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--tg-theme-text-color, #000000);border:2px solid transparent;transition:all .15s}.feedback-tag.active{border-color:var(--qr-primary);background:rgba(var(--qr-primary-rgb),.08);color:var(--qr-primary)}.feedback-tag:active{transform:scale(.95)}.item-detail-add-row{display:flex;align-items:center;gap:12px}.item-detail-qty{display:flex;align-items:center;gap:8px}.item-detail-qty .qty-btn{width:36px;height:36px;font-size:18px}.item-detail-qty .qty-value{font-size:18px;font-weight:700;min-width:28px}.item-detail-add-btn{flex:1}.chat-fab-toast{position:fixed;bottom:calc(140px + env(safe-area-inset-bottom,0));z-index:26;padding:8px 16px;border-radius:20px;background:#000000bf;color:#fff;font-size:13px;font-weight:500;animation:fadeIn .2s ease;white-space:nowrap}[dir=ltr] .chat-fab-toast,:not([dir]) .chat-fab-toast{right:16px}[dir=rtl] .chat-fab-toast{left:16px}.reorder-section{padding:0 16px 8px}.reorder-card{background:var(--tg-theme-secondary-bg-color, #f5f5f5);border-radius:12px;padding:12px}.reorder-title{font-size:15px;font-weight:700;margin-bottom:8px}.reorder-items{font-size:13px;color:var(--tg-theme-hint-color, #999999);margin-bottom:8px}.reorder-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:10px;border-radius:10px;background:var(--qr-primary);color:var(--qr-text-on-primary);font-size:14px;font-weight:600;transition:opacity .15s}.reorder-btn:active{opacity:.8}.offline-banner{position:sticky;top:0;z-index:50;padding:8px 16px;background:#e53935;color:#fff;text-align:center;font-size:13px;font-weight:600;animation:slideDown .3s ease}@keyframes slideDown{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.session-warning-banner{position:sticky;top:0;z-index:49;padding:8px 16px;background:#ff9800;color:#fff;text-align:center;font-size:13px;font-weight:600;animation:slideDown .3s ease}.session-expired-screen{text-align:center}.session-expired-title{font-size:20px;font-weight:700;margin-bottom:8px}.session-expired-hint{font-size:14px;color:var(--tg-theme-hint-color, #999999);margin-bottom:20px;line-height:1.5}.poll-error-banner{display:block;width:100%;padding:10px 16px;margin-bottom:12px;border-radius:10px;background:#fff3e0;color:#e65100;font-size:13px;font-weight:600;text-align:center;cursor:pointer;border:1px solid #ffe0b2;transition:background .15s}.poll-error-banner:active{background:#ffe0b2}.order-tracking-cancel{text-align:center;margin-top:12px}.btn-danger-outline{padding:10px 24px;border-radius:10px;border:1px solid #e53935;color:#e53935;background:transparent;font-size:14px;font-weight:600;cursor:pointer;transition:all .15s}.btn-danger-outline:active{background:#e5393514}.btn-danger{padding:10px 24px;border-radius:10px;background:#e53935;color:#fff;font-size:14px;font-weight:600;cursor:pointer;border:none}.btn-danger:disabled{opacity:.5}.cancel-confirm-sheet{margin-top:16px;padding:16px;border-radius:12px;background:var(--tg-theme-secondary-bg-color, #f5f5f5);animation:fadeIn .2s ease}.cancel-confirm-text{font-size:15px;font-weight:600;text-align:center;margin-bottom:12px}.cancel-confirm-actions{display:flex;gap:10px;justify-content:center}.cancel-confirm-actions .btn{min-width:80px}.checkout-item-unavailable{opacity:.4;text-decoration:line-through}.btn:focus-visible,.item-card-add:focus-visible,.popular-card-add:focus-visible,.qty-btn:focus-visible,.toggle-btn:focus-visible,.category-tab:focus-visible,.chat-fab:focus-visible,.help-btn:focus-visible,.feedback-tag:focus-visible{outline:2px solid var(--qr-primary);outline-offset:2px}.btn-primary:focus-visible{box-shadow:var(--qr-primary-glow-sm)}.discovery-search-input:focus,.menu-search-input:focus,.checkout-notes:focus,.help-modal-textarea:focus,.rating-textarea:focus{box-shadow:0 0 0 3px rgba(var(--qr-primary-rgb),.1)}.textarea-counter{text-align:end;font-size:12px;color:var(--tg-theme-hint-color, #999999);margin-top:4px}.textarea-counter.near-limit{color:var(--tg-theme-destructive-text-color, #e53935)}.reorder-banner{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:8px 16px;background:var(--tg-theme-secondary-bg-color, var(--qr-card));border-radius:12px;border:1px solid rgba(0,0,0,.06)}.reorder-banner-content{flex:1;min-width:0}.reorder-banner-label{display:block;font-size:12px;font-weight:600;color:var(--tg-theme-hint-color, #999999);text-transform:uppercase;letter-spacing:.5px}.reorder-banner-items{display:block;font-size:14px;color:var(--tg-theme-text-color, var(--qr-text));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reorder-btn{flex-shrink:0;padding:6px 16px;font-size:13px;font-weight:600;color:var(--tg-theme-button-text-color, #ffffff);background:var(--tg-theme-button-color, var(--qr-primary));border-radius:8px}.reorder-btn:disabled{opacity:.6}.discovery-location-clear{display:inline-flex;align-items:center;justify-content:center;margin-inline-start:6px;width:18px;height:18px;font-size:14px;line-height:1;color:var(--tg-theme-hint-color, #999999);background:#00000014;border-radius:50%}.filter-bar{padding:0 16px}.filter-triggers{display:flex;gap:8px;padding:8px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.filter-triggers::-webkit-scrollbar{display:none}.filter-trigger{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:10px;font-size:13px;font-weight:600;white-space:nowrap;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--tg-theme-text-color, #000000);border:1.5px solid transparent;transition:all .15s;flex-shrink:0}.filter-trigger.active{border-color:var(--qr-primary);color:var(--qr-primary)}.filter-trigger.open{background:rgba(var(--qr-primary-rgb),.08);border-color:var(--qr-primary);color:var(--qr-primary)}.filter-trigger:active{transform:scale(.96)}.filter-trigger-emoji{font-size:13px;line-height:1}.filter-trigger-arrow{font-size:10px;line-height:1;opacity:.6}.filter-dropdown{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0;animation:filterDropIn .15s ease}@keyframes filterDropIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.filter-dropdown-option{display:inline-flex;align-items:center;gap:4px;padding:6px 14px;border-radius:20px;font-size:13px;font-weight:500;white-space:nowrap;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--tg-theme-text-color, #000000);border:1.5px solid transparent;transition:all .15s}.filter-dropdown-option.selected{background:rgba(var(--qr-primary-rgb),.1);color:var(--qr-primary);border-color:var(--qr-primary)}.filter-dropdown-option:active{transform:scale(.95)}.filter-dropdown-emoji{font-size:13px;line-height:1}.filter-dropdown-check{font-size:12px;font-weight:700;color:var(--qr-primary)}.filter-badges{display:flex;flex-wrap:wrap;gap:6px;padding:4px 0 8px}.filter-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:14px;background:var(--tg-theme-secondary-bg-color, #f0f0f0);color:var(--qr-primary);font-size:13px;font-weight:600}.filter-badge-emoji{font-size:12px;line-height:1}.filter-badge-dismiss{display:inline-flex;align-items:center;justify-content:center;margin-inline-start:2px;width:18px;height:18px;font-size:14px;line-height:1;color:var(--tg-theme-hint-color, #999999);background:#00000014;border-radius:50%}.filter-badge-dismiss:active{background:#00000026}.filter-badge-clear{width:26px;height:26px;border-radius:50%;background:var(--tg-theme-destructive-text-color, #e53935);color:#fff;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1;transition:transform .15s}.filter-badge-clear:active{transform:scale(.9)}.filter-results-count{padding:0 16px 4px;font-size:12px;color:var(--tg-theme-hint-color, #999999)}.merchant-card-cuisine{font-size:11px;font-weight:600;color:var(--qr-primary);text-transform:capitalize}.cart-item-edit{display:inline;margin-inline-start:8px;font-size:12px;font-weight:600;color:var(--tg-theme-link-color, var(--qr-primary));text-decoration:underline}
