/* NeoQR customer QR menu: mobile-first premium UX. */
:root{--primary-color:#5B35D5;--secondary-color:#8B5CF6;--accent-color:#F59E0B;--dark:#0f172a;--muted:#64748b;--light:#f8fafc;--border:#e5e7eb;--success:#10B981}
*{box-sizing:border-box}html{background:#e9edf5;scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 50% 0%,rgba(91,53,213,.12),transparent 28%),linear-gradient(180deg,#eef2ff,#f8fafc);color:var(--dark);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}
.menu-app{width:min(1040px,100%);margin:0 auto;background:#fff;min-height:100vh;box-shadow:0 28px 90px rgba(15,23,42,.13);position:relative;overflow:hidden}.menu-app:before{content:"";position:absolute;inset:0 0 auto;height:340px;background:linear-gradient(180deg,rgba(15,23,42,.18),transparent);pointer-events:none;z-index:1}.cover{height:320px;background:linear-gradient(135deg,var(--primary-color),#2563eb 55%,#10b981);position:relative;overflow:hidden}.cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.62))}.cover img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}
.restaurant-head{position:relative;z-index:2;margin:-86px 28px 0;padding:0 0 22px}.logo{width:116px;height:116px;border-radius:28px;background:rgba(255,255,255,.96);border:6px solid #fff;object-fit:cover;box-shadow:0 24px 54px rgba(15,23,42,.26)}.restaurant-head h1{font-size:clamp(34px,5vw,54px);line-height:1;margin:20px 0 8px;letter-spacing:0}.restaurant-head p{font-size:18px;color:#475569;margin:0 0 18px;max-width:760px;line-height:1.58}.action-row{display:flex;gap:10px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe2ea;border-radius:999px;padding:11px 15px;background:rgba(255,255,255,.88);font-weight:950;color:#334155;box-shadow:0 10px 26px rgba(15,23,42,.07);backdrop-filter:blur(14px);transition:transform .18s ease,box-shadow .18s ease}.chip:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(15,23,42,.12)}.chip.primary{background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-color:transparent;color:white}
.campaign{position:relative;z-index:2;margin:0 28px 18px;background:linear-gradient(135deg,#fff7ed,#fff);border:1px solid #fed7aa;border-radius:8px;padding:18px 20px;color:#172033;box-shadow:0 18px 40px rgba(251,146,60,.13)}.campaign strong{font-size:22px}.campaign .chip{margin-top:10px}
.search{position:sticky;top:0;z-index:15;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:16px 28px}.search input{width:100%;border:1px solid #dbe2ea;border-radius:8px;padding:16px 18px;font:inherit;font-size:17px;background:#f8fafc;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.search input:focus{border-color:var(--primary-color);box-shadow:0 0 0 4px rgba(91,53,213,.1);background:white}
.tabs{position:sticky;top:73px;z-index:14;display:flex;gap:10px;overflow:auto;padding:14px 28px 10px;background:rgba(255,255,255,.86);backdrop-filter:blur(16px);scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{white-space:nowrap;border:1px solid #e6e9f1;border-radius:999px;padding:12px 18px;background:white;color:#334155;font-weight:950;font-size:15px;box-shadow:0 8px 20px rgba(15,23,42,.05);transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.tabs button:hover{transform:translateY(-1px)}.tabs button.active{background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-color:transparent;color:white;box-shadow:0 14px 32px rgba(91,53,213,.25)}
.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px 28px 118px}.product{position:relative;display:grid;grid-template-columns:136px 1fr;gap:16px;min-height:178px;border:1px solid #e4e8ef;border-radius:8px;padding:14px;background:white;box-shadow:0 18px 44px rgba(15,23,42,.08);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,opacity .18s ease}.product:hover{transform:scale(1.012) translateY(-2px);box-shadow:0 28px 66px rgba(15,23,42,.13);border-color:#ddd6fe}.product[hidden]{display:none}.product:before{content:"";position:absolute;inset:14px auto auto 14px;width:136px;height:136px;border-radius:8px;background:linear-gradient(90deg,#eef2f7,#f8fafc,#eef2f7);background-size:220% 100%;animation:shimmer 1.2s linear infinite;opacity:1;transition:opacity .2s ease}.menu-ready .product:before{opacity:0}.product img{position:relative;z-index:1;width:136px;height:136px;object-fit:cover;border-radius:8px;background:#f1f5f9}.product h3{margin:2px 0 6px;font-size:22px;line-height:1.15;letter-spacing:0}.product p{margin:0 0 10px;color:var(--muted);font-size:15px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price{display:inline-block;font-size:22px;font-weight:950}.old{text-decoration:line-through;color:#94a3b8;font-size:14px;margin-left:7px}.badges{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 0}.badge{font-size:12px;font-weight:950;border-radius:999px;padding:6px 9px;background:#ecfeff;color:#0e7490;border:1px solid #cffafe}
.add-cart,.btn-wide{border:0;border-radius:8px;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));color:white;font-weight:950;padding:12px 14px;margin-top:12px;cursor:pointer;box-shadow:0 14px 32px rgba(91,53,213,.22);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.add-cart:hover,.btn-wide:hover{transform:translateY(-2px);box-shadow:0 20px 46px rgba(91,53,213,.26)}.btn-wide{width:100%;font:inherit;margin-top:12px}
.bottom-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:14px;width:min(1010px,calc(100% - 28px));display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:rgba(255,255,255,.9);backdrop-filter:blur(18px);border:1px solid rgba(226,232,240,.92);border-radius:16px;padding:10px;box-shadow:0 20px 64px rgba(15,23,42,.2);z-index:25}.bottom-bar a,.bottom-bar button{display:grid;place-items:center;min-height:52px;background:#111827;color:white;border:0;border-radius:8px;padding:10px 8px;font-weight:950;font-size:14px}.bottom-bar a:nth-child(2){background:linear-gradient(135deg,#10b981,#059669)}.bottom-bar a:nth-child(3){background:linear-gradient(135deg,var(--primary-color),var(--secondary-color))}.bottom-bar button{background:#10b981}.bottom-bar.has-order{grid-template-columns:repeat(4,1fr)}
.powered{text-align:center;color:var(--muted);font-size:12px;padding:6px 18px 118px}.menu-empty{grid-column:1/-1;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:8px;padding:28px;background:#fbfdff}
.product-modal,.cart-drawer{position:fixed;inset:0;background:rgba(15,23,42,.64);display:none;align-items:end;z-index:40;backdrop-filter:blur(8px)}.product-modal.show,.cart-drawer.show{display:flex}.modal-card,.cart-panel{background:white;border-radius:22px 22px 0 0;width:100%;max-width:600px;margin:0 auto;padding:18px 18px 22px;box-shadow:0 -24px 76px rgba(15,23,42,.28);animation:sheet-in .22s ease-out}.modal-card:before,.cart-panel:before{content:"";display:block;width:44px;height:5px;border-radius:999px;background:#cbd5e1;margin:0 auto 14px}.modal-image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:#eef2ff;margin-bottom:12px}.modal-card h3{margin:8px 0 6px;font-size:28px}.modal-card p{color:var(--muted);margin:0 0 12px;line-height:1.6}.modal-badges{display:flex;gap:6px;flex-wrap:wrap}.modal-price{display:flex;gap:8px;align-items:center;margin:10px 0;font-size:18px}.modal-price strong{font-size:26px}.modal-price span{text-decoration:line-through;color:#94a3b8;font-size:14px}.close{float:right;border:0;background:#f1f5f9;border-radius:8px;padding:9px 11px;position:relative;z-index:2;font-weight:900}.cart-panel{max-width:640px;max-height:88vh;overflow:auto}.cart-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.cart-panel header strong{font-size:24px}.cart-panel header button{border:0;border-radius:8px;background:#f1f5f9;padding:8px 10px;font-weight:900}.order-note{color:#475569;background:#f8fafc;border:1px solid var(--border);border-radius:8px;padding:12px}.cart-item{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--border);padding:12px 0}.cart-item span{display:block;color:var(--muted);font-size:13px;margin-top:3px}.qty{display:flex;gap:8px;align-items:center}.qty button{width:34px;height:34px;border:0;border-radius:8px;background:#eef2ff;color:var(--primary-color);font-weight:950}.cart-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);margin-top:12px;padding-top:14px;font-size:20px}.hp-field{position:absolute;left:-9999px}.cart-panel .form-row{margin-bottom:10px}.cart-panel input,.cart-panel textarea{width:100%;border:1px solid var(--border);border-radius:8px;padding:12px;font:inherit}.cart-panel textarea{min-height:76px}
.toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);width:min(440px,calc(100% - 28px));background:#10b981;color:white;padding:14px 16px;border-radius:8px;box-shadow:0 18px 48px rgba(15,23,42,.24);z-index:80;font-weight:950;text-align:center;animation:toast-in .18s ease-out}.toast.error{background:#ef4444}.add-cart.is-added{background:#10b981;box-shadow:0 12px 30px rgba(16,185,129,.26)}[data-cart-count]{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:6px;border-radius:999px;background:white;color:#10b981;padding:0 7px}.bump{animation:cart-bump .28s ease-out}
@keyframes shimmer{to{background-position:-220% 0}}@keyframes sheet-in{from{transform:translateY(30px);opacity:.6}to{transform:none;opacity:1}}@keyframes toast-in{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes cart-bump{0%{transform:scale(1)}50%{transform:scale(1.28)}100%{transform:scale(1)}}
@media(max-width:760px){html,body{background:white}.menu-app{box-shadow:none}.cover{height:226px}.restaurant-head{margin:-66px 16px 0;padding-bottom:18px}.logo{width:96px;height:96px;border-radius:24px}.restaurant-head h1{font-size:34px}.restaurant-head p{font-size:16px}.campaign{margin:0 16px 14px;padding:16px}.search{padding:12px 16px}.tabs{top:65px;padding:12px 16px 8px}.products{grid-template-columns:1fr;padding:12px 16px 116px}.product{grid-template-columns:110px 1fr;gap:12px;min-height:148px;padding:12px}.product:before{inset:12px auto auto 12px;width:110px;height:110px}.product img{width:110px;height:110px}.product h3{font-size:19px}.product p{font-size:14px}.price{font-size:19px}.bottom-bar{bottom:8px;width:calc(100% - 16px);gap:7px;padding:8px}.bottom-bar.has-order{grid-template-columns:repeat(2,1fr)}.bottom-bar a,.bottom-bar button{min-height:48px}.powered{padding-bottom:138px}}
@media(max-width:420px){.product{grid-template-columns:96px 1fr}.product:before{width:96px;height:96px}.product img{width:96px;height:96px}.badges{gap:4px}.badge{font-size:11px}.add-cart{width:100%}.bottom-bar{border-radius:12px}}
