 :root {
      --bg-cream: #fdfaf5; --bg-white: #ffffff;
      --text-primary: #1a1a1a; --text-secondary: #5c5c5c; --text-tertiary: #999;
      --accent: #d4743a; --accent-hover: #b85f2e; --accent-soft: #fff3e9;
      --accent-glow: rgba(212,116,58,0.18); --green: #22c55e; --green-soft: #f0faf3;
      --red: #ef4444; --red-soft: #fef2f2; --yellow: #eab308; --yellow-soft: #fefce8;
      --shadow-xs: 0 1px 3px rgba(0,0,0,0.03); --shadow-sm: 0 4px 14px rgba(0,0,0,0.06);
      --shadow-md: 0 8px 28px rgba(0,0,0,0.08); --shadow-lg: 0 16px 48px rgba(0,0,0,0.11);
      --shadow-xl: 0 24px 64px rgba(0,0,0,0.14);
      --radius-sm: 12px; --radius-md: 18px; --radius-lg: 24px; --radius-xl: 32px;
      --font: 'Inter', system-ui, -apple-system, sans-serif;
      --transition-fast: 0.18s cubic-bezier(0.4,0,0.2,1);
      --transition-spring: 0.45s cubic-bezier(0.22,1.05,0.36,1);
      --safe-bottom: env(safe-area-inset-bottom,16px);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
    body {
      font-family: var(--font); background: var(--bg-cream); color: var(--text-primary);
      line-height: 1.5; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; letter-spacing: -0.01em;
    }
    .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
    .hide-scrollbar::-webkit-scrollbar { display: none; }

    .splash {
      position: fixed; inset: 0; z-index: 9999; background: #fdfaf5;
      display: flex; align-items: center; justify-content: center; flex-direction: column;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }
    .splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
    .splash-logo { width: 72px; height: 72px; background: var(--accent); border-radius: 22px; display: flex; align-items: center; justify-content: center; animation: splashPulse 1.5s ease-in-out infinite; box-shadow: 0 20px 48px var(--accent-glow); }
    .splash-logo svg { width: 36px; height: 36px; color: #fff; }
    .splash-title { margin-top: 18px; font-size: 1.6rem; font-weight: 750; letter-spacing: -0.03em; }
    @keyframes splashPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.07)} }

    .app-container { max-width: 900px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--bg-white); position: relative; box-shadow: var(--shadow-xl); display: flex; flex-direction: column; }
    @media (min-width:768px) { .app-container { border-radius: var(--radius-xl); margin: 20px auto; min-height: calc(100vh - 40px); overflow: hidden; } }
    .screen { display: none; flex-direction: column; flex: 1; animation: screenIn 0.4s cubic-bezier(0.22,1.05,0.36,1); }
    .screen.active { display: flex; }
    @keyframes screenIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    .header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.75); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); padding: 10px 18px; border-bottom: 1px solid rgba(0,0,0,0.04); }
    .header-top { display: flex; align-items: center; justify-content: space-between; }
    .restaurant-info { display: flex; align-items: center; gap: 12px; }
    .restaurant-avatar { width: 48px; height: 48px; border-radius: var(--radius-sm); background: #1a1a1a; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
    .restaurant-avatar svg { width: 24px; height: 24px; color: #fff; }
    .restaurant-text h1 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
    .restaurant-text span { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; }
    .status-badge { display: flex; align-items: center; gap: 6px; background: var(--green-soft); color: #166534; font-size: 0.78rem; font-weight: 600; padding: 8px 14px; border-radius: 20px; white-space: nowrap; transition: all 0.3s ease; }
    .status-badge.busy { background: #fef3c7; color: #92400e; }
    .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: dotPulse 2s infinite; }
    .status-dot.busy { background: var(--yellow); animation: dotPulse 1.2s infinite; }
    @keyframes dotPulse { 0%,100%{opacity:1}50%{opacity:0.3} }

    .hero-visual { width: 100%; height: 180px; background: url('https://images.unsplash.com/photo-1550547660-d9450f859349?w=800&q=80') center/cover no-repeat; display: flex; align-items: flex-end; padding: 16px; position: relative; overflow: hidden; }
    .hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%); }
    .hero-text { position: relative; z-index: 2; color: #fff; }
    .hero-text h2 { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; }
    .hero-text p { font-size: 0.85rem; opacity: 0.9; font-weight: 500; }

    .demand-pill { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 0.75rem; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: 14px; }

    .search-wrapper { padding: 8px 16px 6px; position: sticky; top: 72px; z-index: 90; background: rgba(255,255,255,0.75); backdrop-filter: blur(28px); }
    .search-box { display: flex; align-items: center; gap: 10px; background: #f5f5f5; border-radius: var(--radius-lg); padding: 13px 16px; border: 2px solid transparent; transition: all var(--transition-fast); }
    .search-box:focus-within { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 6px var(--accent-glow); }
    .search-box svg { width: 18px; height: 18px; color: #999; flex-shrink: 0; }
    .search-box input { flex: 1; border: none; background: transparent; font-family: var(--font); font-size: 0.95rem; outline: none; }
    .search-clear { display: none; width: 24px; height: 24px; border-radius: 50%; background: #ccc; border: none; cursor: pointer; align-items: center; justify-content: center; color: #fff; }
    .search-clear.visible { display: flex; }

    .categories-sticky { position: sticky; top: calc(72px + 56px); z-index: 80; background: rgba(255,255,255,0.75); backdrop-filter: blur(28px); padding: 6px 0 10px; }
    .categories-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px; }
    .category-chip { flex-shrink: 0; padding: 9px 18px; border-radius: 22px; font-size: 0.85rem; font-weight: 530; cursor: pointer; background: #f2f2f2; color: #5c5c5c; transition: all var(--transition-fast); white-space: nowrap; }
    .category-chip:active { transform: scale(0.95); }
    .category-chip.active { background: #1a1a1a; color: #fff; font-weight: 600; box-shadow: var(--shadow-md); }

    .products-section { flex: 1; padding: 10px 16px 130px; }
    .products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (min-width:400px) { .products-grid { gap: 16px; } }
    .product-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: var(--shadow-xs); border: 1px solid #f0ece6; display: flex; flex-direction: column; position: relative; }
    .product-card:active { transform: scale(0.97); box-shadow: var(--shadow-sm); }
    .product-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
    .product-card.unavailable { opacity: 0.5; pointer-events: none; }
    .product-card-image { width: 100%; aspect-ratio: 1.3/1; background-size: cover; background-position: center; position: relative; overflow: hidden; }
    .product-card-image .img-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.35) 100%); z-index: 1; }
    .product-card-badge { position: absolute; top: 10px; left: 10px; z-index: 3; font-size: 0.7rem; font-weight: 650; padding: 5px 10px; border-radius: 14px; backdrop-filter: blur(8px); animation: badgeIn 0.4s ease; }
    @keyframes badgeIn { from{opacity:0;transform:scale(0.8)} to{opacity:1;transform:scale(1)} }
    .badge-bestseller { background: rgba(0,0,0,0.7); color: #fff; }
    .badge-popular { background: rgba(212,116,58,0.9); color: #fff; }
    .badge-new { background: rgba(255,255,255,0.9); color: #1a1a1a; box-shadow: var(--shadow-sm); }
    .badge-veggie { background: rgba(34,197,94,0.9); color: #fff; }
    .badge-spicy { background: rgba(239,68,68,0.9); color: #fff; }
    .badge-fast { background: rgba(234,179,8,0.9); color: #1a1a1a; }
    .badge-recommended { background: rgba(212,116,58,0.15); color: var(--accent); border: 1px solid var(--accent); }
    .product-card-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
    .product-card-name { font-size: 0.9rem; font-weight: 650; letter-spacing: -0.015em; }
    .product-card-desc { font-size: 0.74rem; color: #7a7a7a; flex: 1; }
    .product-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
    .product-card-price { font-size: 1rem; font-weight: 700; }
    .product-card-add { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; border: none; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px var(--accent-glow); transition: all var(--transition-fast); }
    .product-card-add:active { transform: scale(0.8); background: var(--accent-hover); }
    .product-card-add.added { background: var(--green); box-shadow: 0 6px 16px rgba(34,197,94,0.2); }
    .product-card-add.unavailable { background: #d1d5db; box-shadow: none; pointer-events: none; }
    .low-stock { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(234,179,8,0.9); color: #1a1a1a; font-size: 0.65rem; font-weight: 700; padding: 4px 8px; border-radius: 10px; }

    .cart-fab { position: fixed; bottom: 28px; bottom: calc(28px + var(--safe-bottom)); left: 50%; transform: translateX(-50%); z-index: 200; background: #1a1a1a; color: #fff; border-radius: 32px; padding: 14px 24px; display: flex; align-items: center; gap: 10px; cursor: pointer; box-shadow: var(--shadow-xl); border: none; font-family: var(--font); font-size: 0.9rem; font-weight: 650; transition: all var(--transition-spring); white-space: nowrap; }
    .cart-fab:active { transform: translateX(-50%) scale(0.94); }
    .cart-fab.hidden { opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(24px); pointer-events: none; }
    .cart-fab-count { background: var(--accent); border-radius: 50%; width: 22px; height: 22px; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1); }

    .cart-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: all var(--transition-smooth); }
    .cart-overlay.open { opacity: 1; visibility: visible; }
    .cart-panel { position: fixed; bottom: 0; left: 0; right: 0; z-index: 310; background: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0; max-height: 78vh; max-height: 78dvh; display: flex; flex-direction: column; transform: translateY(100%); transition: transform var(--transition-spring); box-shadow: var(--shadow-xl); padding-bottom: var(--safe-bottom); }
    .cart-panel.open { transform: translateY(0); }
    .cart-handle { width: 40px; height: 4px; background: #e0ddd6; border-radius: 4px; margin: 14px auto 10px; }
    .cart-header { padding: 6px 20px 14px; display: flex; align-items: center; justify-content: space-between; }
    .cart-header h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
    .cart-close { width: 34px; height: 34px; border-radius: 50%; border: none; background: #f5f5f5; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
    .cart-items { flex: 1; overflow-y: auto; padding: 0 20px; max-height: 40vh; }
    .cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f2efe8; animation: itemIn 0.4s ease; }
    @keyframes itemIn { from{opacity:0;transform:translateX(-20px)} to{opacity:1;transform:translateX(0)} }
    .cart-item-thumb { width: 44px; height: 44px; border-radius: var(--radius-sm); background-size: cover; background-position: center; flex-shrink: 0; }
    .cart-item-info { flex: 1; }
    .cart-item-name { font-weight: 600; font-size: 0.88rem; }
    .cart-item-extras { font-size: 0.72rem; color: #999; }
    .cart-item-price { font-weight: 650; font-size: 0.85rem; }
    .cart-item-qty { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .qty-btn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #e0ddd6; background: #fff; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
    .qty-btn:active { background: #f5f5f5; }
    .qty-value { font-weight: 600; font-size: 0.85rem; min-width: 16px; text-align: center; }
    .cart-footer { padding: 16px 20px; border-top: 1px solid #f2efe8; display: none; }
    .cart-footer.visible { display: block; }
    .cart-eta { font-size: 0.78rem; color: #166534; background: var(--green-soft); padding: 6px 12px; border-radius: 14px; display: inline-block; margin-bottom: 8px; }
    .cart-total-row { display: flex; justify-content: space-between; margin-bottom: 14px; }
    .cart-total-value { font-weight: 750; font-size: 1.25rem; }
    .cart-checkout-btn { width: 100%; padding: 15px; border-radius: var(--radius-md); border: none; background: #1a1a1a; color: #fff; font-family: var(--font); font-size: 1rem; font-weight: 650; cursor: pointer; transition: all 0.2s; }
    .cart-checkout-btn:active { background: #000; transform: scale(0.97); }

.modal-content {
    margin: 0 auto;
}
    .modal-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: all var(--transition-smooth); display: flex; align-items: flex-end; }
    .modal-overlay.open { opacity: 1; visibility: visible; }
    .modal-content { width: 100%; max-width: 900px; max-height: 90vh; background: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow-y: auto; animation: modalUp 0.45s cubic-bezier(0.22,1.05,0.36,1); position: relative; }
    @keyframes modalUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
    .modal-hero { width: 100%; aspect-ratio: 1.7/1; background-size: cover; background-position: center; position: relative; }
    .modal-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%); }
    .modal-close { position: absolute; top: 14px; right: 14px; z-index: 10; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
    .modal-body { padding: 18px 20px 120px; }
    .modal-body h2 { font-size: 1.45rem; font-weight: 750; letter-spacing: -0.03em; }
    .modal-desc { color: #6b6b6b; font-size: 0.9rem; margin: 6px 0 12px; }
    .modal-price { font-size: 1.6rem; font-weight: 750; margin-bottom: 14px; }
    .modal-nutrition { display: flex; gap: 14px; margin-bottom: 16px; font-size: 0.78rem; color: #6b6b6b; flex-wrap: wrap; }
    .modal-nutrition span { display: flex; align-items: center; gap: 4px; }
    .modal-badges { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
    .modal-badges span { font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 12px; }
    .modal-ingredients { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
    .modal-ingredient-tag { font-size: 0.75rem; padding: 6px 12px; border-radius: 18px; background: #f5f2ec; color: #5c5c5c; }
    .modal-section-title { font-weight: 650; font-size: 0.9rem; margin-bottom: 8px; margin-top: 14px; }
    .modal-extras, .modal-remove-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
    .modal-extra-chip, .modal-remove-chip { padding: 9px 16px; border-radius: 22px; border: 1.5px solid #e0ddd6; cursor: pointer; font-size: 0.8rem; font-weight: 500; transition: all 0.2s; }
    .modal-extra-chip.selected { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-hover); font-weight: 600; }
    .modal-remove-chip.selected { background: #fef2f2; border-color: #ef4444; color: #ef4444; font-weight: 600; text-decoration: line-through; }
    .modal-extra-chip:active, .modal-remove-chip:active { transform: scale(0.93); }
    .modal-qty-row { display: flex; align-items: center; gap: 14px; margin: 10px 0; }
    .modal-notes { width: 100%; border: 1.5px solid #e0ddd6; border-radius: var(--radius-sm); padding: 12px 14px; font-family: var(--font); font-size: 0.85rem; resize: none; outline: none; margin-top: 6px; }
    .modal-upsell { margin-top: 14px; padding: 14px; background: #faf8f4; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .modal-upsell-text { font-size: 0.82rem; font-weight: 550; }
    .modal-upsell-btn { padding: 8px 16px; border-radius: 20px; border: 1.5px solid var(--accent); background: #fff; color: var(--accent); font-family: var(--font); font-weight: 600; font-size: 0.78rem; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
    .modal-upsell-btn:active { background: var(--accent-soft); }
    .modal-cta-sticky { position: sticky; bottom: 0; background: #fff; padding: 14px 20px; padding-bottom: calc(14px + var(--safe-bottom)); border-top: 1px solid #f2efe8; }
    .modal-add-btn { width: 100%; padding: 16px; border-radius: var(--radius-md); border: none; background: var(--accent); color: #fff; font-family: var(--font); font-size: 1rem; font-weight: 650; cursor: pointer; box-shadow: 0 10px 28px var(--accent-glow); transition: all 0.2s; }
    .modal-add-btn:active { transform: scale(0.96); background: var(--accent-hover); }

    .checkout-screen { padding: 0 16px 40px; flex: 1; overflow-y: auto; }
    .checkout-back { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 550; padding: 8px 0; color: #6b6b6b; background: none; border: none; font-family: var(--font); }
    .checkout-screen h2 { font-size: 1.3rem; font-weight: 700; margin: 10px 0 12px; }
    .checkout-eta-pill { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 16px; margin-bottom: 14px; }
    .checkout-eta-pill.fast { background: var(--green-soft); color: #166534; }
    .checkout-eta-pill.busy { background: #fef3c7; color: #92400e; }
    .checkout-summary { background: #faf8f4; border-radius: var(--radius-lg); padding: 18px; margin-bottom: 18px; }
    .checkout-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ede8df; }
    .checkout-item:last-child { border-bottom: none; }
    .checkout-item-thumb { width: 40px; height: 40px; border-radius: 10px; background-size: cover; background-position: center; flex-shrink: 0; }
    .checkout-item-details { flex: 1; font-size: 0.85rem; }
    .checkout-item-details .item-name { font-weight: 600; }
    .checkout-item-details .item-mods { font-size: 0.72rem; color: #999; }
    .checkout-total { display: flex; justify-content: space-between; font-weight: 750; font-size: 1.15rem; padding-top: 12px; margin-top: 4px; border-top: 1px solid #ede8df; }
    .checkout-field { margin-bottom: 14px; }
    .checkout-field label { display: block; font-size: 0.8rem; font-weight: 550; color: #6b6b6b; margin-bottom: 4px; }
    .checkout-field input, .checkout-field textarea { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid #e0ddd6; font-family: var(--font); font-size: 0.9rem; outline: none; resize: vertical; }
    .order-type-selector { display: flex; gap: 10px; margin: 12px 0 16px; }
    .order-type-option { flex: 1; padding: 13px; border-radius: var(--radius-md); border: 2px solid #e8e4dd; background: #fff; cursor: pointer; text-align: center; font-weight: 550; font-size: 0.85rem; transition: all 0.2s; }
    .order-type-option.selected { border-color: #1a1a1a; background: #fafafa; box-shadow: var(--shadow-sm); }
    .payment-methods { display: flex; gap: 10px; margin: 14px 0 18px; }
    .payment-method { flex: 1; padding: 16px 12px; border-radius: var(--radius-md); border: 2px solid #e8e4dd; background: #fff; cursor: pointer; text-align: center; font-weight: 550; font-size: 0.82rem; transition: all 0.2s; }
    .payment-method.selected { border-color: #1a1a1a; background: #fafafa; }
    .payment-method .pm-icon { font-size: 1.5rem; display: block; margin-bottom: 4px; }
    .checkout-pay-btn { width: 100%; padding: 16px; border-radius: var(--radius-md); background: #1a1a1a; color: #fff; font-family: var(--font); font-size: 1.05rem; font-weight: 650; border: none; cursor: pointer; box-shadow: var(--shadow-lg); }

    .confirmation-screen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
    .confirm-check { width: 88px; height: 88px; border-radius: 50%; background: var(--green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; animation: confirmPop 0.7s cubic-bezier(0.34,1.56,0.64,1); }
    @keyframes confirmPop { 0%{transform:scale(0)}70%{transform:scale(1.1)}100%{transform:scale(1)} }
    .confirm-check svg { width: 44px; height: 44px; color: var(--green); stroke-dasharray: 50; stroke-dashoffset: 50; animation: drawCheck 0.5s 0.3s ease forwards; }
    @keyframes drawCheck { to{stroke-dashoffset:0} }
    .confirm-message { font-size: 1rem; font-weight: 600; color: #166534; margin: 4px 0 12px; }
    .confirm-order-num { font-size: 0.85rem; color: #6b6b6b; }
    .confirm-time { font-size: 1.7rem; font-weight: 750; }
    .confirm-status { font-size: 0.9rem; color: #166534; background: var(--green-soft); padding: 6px 16px; border-radius: 18px; display: inline-block; margin: 8px 0 24px; }
    .confirm-track-btn { padding: 15px 36px; border-radius: var(--radius-md); background: #1a1a1a; color: #fff; font-family: var(--font); font-size: 0.95rem; font-weight: 600; border: none; cursor: pointer; }

    .tracking-screen { flex: 1; padding: 24px 20px; display: flex; flex-direction: column; }
    .tracking-screen h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; text-align: center; }
    .tracking-message { text-align: center; font-size: 0.9rem; color: #6b6b6b; margin-bottom: 20px; }
    .tracking-progress { display: flex; flex-direction: column; padding-left: 34px; }
    .tracking-step { position: relative; padding: 18px 0 18px 30px; border-left: 3px solid #e8e4dd; transition: all 0.4s ease; }
    .tracking-step.completed { border-left-color: var(--green); }
    .tracking-step.current { border-left-color: var(--accent); }
    .tracking-step::before { content: ''; position: absolute; left: -13px; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #e8e4dd; z-index: 2; transition: all 0.4s; }
    .tracking-step.completed::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 8px rgba(34,197,94,0.1); }
    .tracking-step.current::before { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 10px var(--accent-glow); animation: stepPulse 2s infinite; }
    @keyframes stepPulse { 0%,100%{box-shadow:0 0 0 8px var(--accent-glow)}50%{box-shadow:0 0 0 16px rgba(212,116,58,0.05)} }
    .tracking-step-label { font-weight: 600; font-size: 0.9rem; }
    .tracking-step-time { font-size: 0.75rem; color: #999; }
    .tracking-back { margin-top: auto; text-align: center; padding: 16px; }
    .tracking-back button { padding: 13px 28px; border-radius: var(--radius-md); border: 1.5px solid #e0ddd6; background: #fff; font-family: var(--font); cursor: pointer; font-weight: 550; }

    .toast { position: fixed; bottom: 110px; left: 50%; transform: translateX(-50%); z-index: 500; background: #1a1a1a; color: #fff; padding: 11px 22px; border-radius: 24px; font-weight: 550; font-size: 0.85rem; opacity: 0; visibility: hidden; transition: all 0.35s ease; white-space: nowrap; }
    .toast.show { opacity: 1; visibility: visible; }
    .fly-clone { position: fixed; z-index: 9999; border-radius: 50%; pointer-events: none; opacity: 0.85; transition: all 0.55s cubic-bezier(0.22,0.9,0.36,1); }
    .empty-search { text-align: center; padding: 40px; color: #999; }


    .restaurant-avatar {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.restaurant-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}