/* Annapurna OS - customer menu & tracking */
body.cust { background: #fff8f4; padding-bottom: 110px; }
.m-wrap { max-width: 860px; margin: 0 auto; }
.m-hero { position: relative; height: 230px; background: var(--grad); overflow: hidden; }
.m-hero img.cv { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.m-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(120, 30, 10, .18)); }
.m-hero .bub { position: absolute; font-size: 38px; opacity: .35; animation: floatSpin 7s ease-in-out infinite; z-index: 1; }
.m-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 3; }
.m-top .btn { background: rgba(255, 255, 255, .92); border: 0; backdrop-filter: blur(6px); }
.m-info { position: relative; margin: -70px 14px 0; background: #fff; border-radius: 26px; padding: 18px 18px 16px; box-shadow: 0 20px 50px -20px rgba(80, 30, 10, .35); z-index: 4; animation: fadeUp .6s var(--ease) both; }
.m-info .lg { width: 74px; height: 74px; border-radius: 22px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 34px; margin-top: -52px; border: 4px solid #fff; box-shadow: var(--sh); overflow: hidden; animation: pop .6s .2s both; }
.m-info .lg img { width: 100%; height: 100%; object-fit: cover; }
.m-info h1 { font-size: 23px; margin-top: 8px; }
.m-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--ink2); margin-top: 6px; }
.table-tag { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #22c55e, #0f9d58); color: #fff; border-radius: 14px; padding: 8px 14px; font-weight: 700; font-size: 13.5px; margin-top: 12px; box-shadow: 0 8px 20px -10px rgba(0, 184, 148, .8); animation: popIn .5s .3s both; }
.closed-bar { background: #fee2e2; color: #991b1b; border-radius: 14px; padding: 10px 14px; margin-top: 12px; font-weight: 600; font-size: 13px; }

.m-tools { position: sticky; top: 0; z-index: 30; background: rgba(255, 248, 244, .92); backdrop-filter: blur(12px); padding: 12px 14px 4px; margin-top: 10px; }
.m-search { display: flex; gap: 10px; align-items: center; }
.m-search .input-icon { flex: 1; }
.m-search input { border-radius: 16px !important; background: #fff !important; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .2); }
.veg-tog { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .2); font-size: 12.5px; font-weight: 700; cursor: pointer; user-select: none; white-space: nowrap; }
.veg-tog .sw { width: 34px; height: 18px; border-radius: 10px; background: #ddd; position: relative; transition: .25s; }
.veg-tog .sw::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: .25s var(--ease); }
.veg-tog.on .sw { background: #0f9d58; }
.veg-tog.on .sw::after { transform: translateX(16px); }
.m-cats { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 10px; scrollbar-width: none; }
.m-cats::-webkit-scrollbar { display: none; }
.m-cats a { flex: none; padding: 8px 15px; border-radius: 30px; background: #fff; font-weight: 600; font-size: 13px; box-shadow: 0 4px 12px -8px rgba(0, 0, 0, .25); transition: .25s var(--ease); white-space: nowrap; }
.m-cats a.on { background: var(--ink); color: #fff; transform: scale(1.04); }

.m-sec { padding: 8px 14px 4px; scroll-margin-top: 130px; }
.m-sec > h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; }
.m-sec > h2 small { font-size: 12px; color: var(--muted); font-weight: 500; }
.pop-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.pop-card { flex: none; width: 160px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(80, 30, 10, .4); scroll-snap-align: start; cursor: pointer; transition: .3s var(--ease); animation: popIn .5s var(--ease) both; }
.pop-card:hover { transform: translateY(-4px); }
.pop-card .im { height: 110px; display: grid; place-items: center; font-size: 46px; background: linear-gradient(135deg, #ffe3d3, #ffd1e3); overflow: hidden; }
.pop-card .im img { width: 100%; height: 100%; object-fit: cover; }
.pop-card .bd { padding: 10px 12px 12px; }
.pop-card b { font-size: 13px; display: block; }

.m-item { display: flex; gap: 14px; background: #fff; border-radius: 22px; padding: 14px; margin-bottom: 14px; box-shadow: 0 10px 26px -18px rgba(80, 30, 10, .45); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; animation: fadeUp .5s var(--ease) both; }
.m-item:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(80, 30, 10, .5); }
.m-item .tx { flex: 1; min-width: 0; }
.m-item h3 { font-size: 15.5px; margin: 6px 0 4px; }
.m-item .desc { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; }
.m-item .facts { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink2); margin-top: 8px; }
.m-item .pic { width: 118px; flex: none; position: relative; }
.m-item .pic .im { width: 118px; height: 112px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; font-size: 50px; background: linear-gradient(135deg, #ffe3d3, #ffd1e3); }
.m-item .pic .im img { width: 100%; height: 100%; object-fit: cover; transition: .5s var(--ease); }
.m-item:hover .pic .im img { transform: scale(1.08); }
.m-item .pic .addw { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); }
.m-item.na { opacity: .55; }
.add-btn { background: #fff; color: #0f9d58; border: 1.5px solid #0f9d58; font-weight: 800; font-size: 13px; padding: 7px 22px; border-radius: 12px; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .3); transition: .2s var(--ease); letter-spacing: .04em; }
.add-btn:hover { background: #0f9d58; color: #fff; }
.add-btn:active { transform: scale(.92); }
.stepper { display: inline-flex; align-items: center; background: #0f9d58; color: #fff; border-radius: 12px; box-shadow: 0 6px 14px -6px rgba(15, 157, 88, .7); overflow: hidden; animation: pop .3s var(--ease); }
.stepper button { border: 0; background: transparent; color: #fff; width: 32px; height: 32px; font-size: 17px; font-weight: 800; cursor: pointer; }
.stepper button:active { background: rgba(0, 0, 0, .12); }
.stepper span { min-width: 24px; text-align: center; font-weight: 800; font-size: 14px; }
.tagb { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-right: 4px; }
.tag-bestseller { background: #fff1e6; color: #e8590c; }
.tag-new { background: #e7f5ff; color: #1971c2; }
.tag-chef_special { background: #ffe4e0; color: #c2410c; }
.tag-spicy { background: #ffe3e3; color: #c92a2a; }
.tag-healthy { background: #e6fcf5; color: #0ca678; }
.tag-jain { background: #fff9db; color: #a07c00; }
.chili { color: #e03131; font-size: 11px; }

.cart-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(150%); width: calc(100% - 28px); max-width: 820px; background: linear-gradient(135deg, #0f9d58, #11b56a); color: #fff; border-radius: 20px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; z-index: 70; box-shadow: 0 20px 40px -14px rgba(15, 157, 88, .7); cursor: pointer; transition: transform .5s var(--ease); }
.cart-bar.show { transform: translateX(-50%) translateY(0); }
.cart-bar.bump { animation: bump .45s var(--ease); }
.cart-bar b { font-size: 16px; }
.fab-call { position: fixed; right: 16px; bottom: 96px; z-index: 69; width: 58px; height: 58px; border-radius: 50%; background: var(--grad2); color: #fff; border: 0; font-size: 22px; box-shadow: 0 14px 30px -10px rgba(108, 60, 240, .8); cursor: pointer; animation: pulsePurple 2.4s infinite; }
.fly { position: fixed; z-index: 300; font-size: 28px; pointer-events: none; }

.sheet-img { height: 230px; margin: -20px -24px 16px; background: linear-gradient(135deg, #ffe3d3, #ffd1e3); display: grid; place-items: center; font-size: 90px; overflow: hidden; }
.sheet-img img { width: 100%; height: 100%; object-fit: cover; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.facts-grid div { background: #fff8f4; border-radius: 14px; padding: 10px; text-align: center; font-size: 12px; color: var(--ink2); }
.facts-grid b { display: block; font-size: 14px; color: var(--ink); }
.otype { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.otype label { border: 1.8px solid var(--line); border-radius: 14px; padding: 12px 6px; text-align: center; cursor: pointer; font-weight: 600; font-size: 13px; transition: .2s; }
.otype label i { display: block; font-size: 19px; margin-bottom: 4px; color: var(--p1); }
.otype input { display: none; }
.otype input:checked + label { border-color: var(--p1); background: #fff5f0; box-shadow: 0 6px 16px -10px rgba(255, 90, 31, .7); }


/* Google review call-to-action */
.g-review { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 22px; padding: 16px 18px; box-shadow: 0 14px 30px -18px rgba(66, 133, 244, .6); border: 1.5px solid #e3ecff; position: relative; overflow: hidden; }
.g-review::after { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(#4285f4 0 25%, #ea4335 0 50%, #fbbc05 0 75%, #34a853 0); opacity: .08; }
.g-review .gl { width: 48px; height: 48px; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); display: grid; place-items: center; font-size: 24px; flex: none; }
.g-review .gl i { background: conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 0 50%, #34a853 0 75%, #fbbc05 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-review b { display: block; font-size: 15px; color: var(--ink); }
.g-review small { color: var(--muted); font-size: 12px; }
.g-stars { color: #fbbc05; letter-spacing: 2px; font-size: 14px; }
.btn-google { background: #4285f4; color: #fff !important; border: 0; box-shadow: 0 8px 18px -8px rgba(66, 133, 244, .8); }
.m-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.m-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 12px; background: #f5f3fb; transition: .2s; }
.m-links a:hover { background: #ffeee6; transform: translateY(-2px); }

/* tracking */
.trk-hero { background: var(--grad); color: #fff; padding: 30px 18px 90px; text-align: center; position: relative; overflow: hidden; }
.trk-hero .btn { color: var(--ink); }
.trk-hero .big { font-size: 64px; display: inline-block; animation: float 3s ease-in-out infinite; }
.trk-card { margin: -70px 14px 16px; background: #fff; border-radius: 26px; padding: 20px; box-shadow: 0 20px 50px -20px rgba(80, 30, 10, .35); position: relative; animation: fadeUp .6s both; }
.tl { position: relative; padding-left: 38px; }
.tl::before { content: ''; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 3px; background: #eee; border-radius: 3px; }
.tl .fill { position: absolute; left: 14px; top: 8px; width: 3px; background: var(--ok); border-radius: 3px; transition: height 1s var(--ease); }
.tl-step { position: relative; padding: 8px 0 18px; }
.tl-step .dot { position: absolute; left: -32px; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: #eee; display: grid; place-items: center; font-size: 11px; color: #fff; transition: .4s; }
.tl-step.done .dot { background: var(--ok); }
.tl-step.cur .dot { background: var(--p1); box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); animation: pulseOrange 1.6s infinite; }
.tl-step b { font-size: 14.5px; }
.tl-step p { font-size: 12.5px; color: var(--muted); }
.tl-step:not(.done):not(.cur) b { color: #bbb; }
.star-pick { display: flex; gap: 6px; justify-content: center; font-size: 34px; }
.star-pick span { cursor: pointer; color: #ddd; transition: .2s var(--ease); }
.star-pick span.on { color: #f5a524; transform: scale(1.15); }

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.15) translate(-2%, -2%); } }
@keyframes floatSpin { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(15deg); } }
@keyframes bump { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.05); } 100% { transform: translateX(-50%) scale(1); } }
@keyframes pulsePurple { 0% { box-shadow: 0 0 0 0 rgba(108, 60, 240, .55); } 70% { box-shadow: 0 0 0 16px rgba(108, 60, 240, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 60, 240, 0); } }
@keyframes pulseOrange { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); } 70% { box-shadow: 0 0 0 12px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }
@media (min-width: 700px) { .m-hero { height: 280px; } .m-item .pic, .m-item .pic .im { width: 140px; } .m-item .pic .im { height: 124px; } }

/* returning guest (device based) */
.me-banner { margin: 14px 14px 0; background: linear-gradient(135deg, #fff, #fff4e8); border: 1.5px solid #ffdcbf; border-radius: 22px; padding: 14px 16px; box-shadow: 0 5px 0 -1px #f5e0cf, 0 16px 30px -22px rgba(150, 60, 20, .5); animation: fadeUp .5s var(--ease) both; }
.me-banner .mb-top { display: flex; align-items: center; gap: 12px; }
.me-banner .mb-av { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, #22c55e, #0f9d58); box-shadow: 0 4px 0 -1px #0b6b2e; }
.me-banner b { font-size: 15px; }
.me-banner .small { color: var(--ink2); }
.me-banner .mb-favs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.me-banner .mb-favs .tiny { width: 100%; color: var(--muted); font-weight: 600; }
.me-banner .chip { font-size: 12px; padding: 5px 11px; background: #fff; }
.me-banner .chip b { color: var(--ok); font-size: 13px; }
/* personal QR on the tracking page */
.my-qr { display: flex; gap: 14px; align-items: center; margin: 0 14px 16px; padding: 14px; border-radius: 22px; background: #fff; border: 1.5px solid #f2e3d6; box-shadow: 0 5px 0 -1px #f5e4d6, 0 18px 30px -24px rgba(150, 60, 20, .5); }
.my-qr .qr { background: #fff; padding: 6px; border-radius: 12px; border: 1.5px solid #f2e3d6; flex: none; }
.my-qr .qr img, .my-qr .qr canvas { display: block; }

/* v5: optional guests / chair picker on table QR */
.seat-pick { margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: #fff7ef; border: 1px dashed #fdc9a3; }
.seat-pick .chip { cursor: pointer; }

/* v6: book-style category pages (swipe left/right) */
.m-cats a { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.m-cats a .ci { font-size: 16px; }
.m-cats a small { font-size: 10.5px; font-weight: 700; background: rgba(0, 0, 0, .07); border-radius: 99px; padding: 1px 7px; }
.m-cats a.on small { background: rgba(255, 255, 255, .22); }
.m-cats a.on { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(229, 49, 27, .7); }
.m-cats a.dim { opacity: .45; }
.book { position: relative; padding: 6px 0 4px; }
.book-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; align-items: flex-start; transition: height .35s var(--ease); overscroll-behavior-x: contain; }
.book-track::-webkit-scrollbar { display: none; }
.bk-page { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; padding: 4px 14px 22px; box-sizing: border-box; }
.bk-paper { position: relative; background: #fffdf9; border-radius: 8px 26px 26px 8px; padding: 16px 14px 14px; box-shadow: inset 12px 0 18px -14px rgba(120, 60, 20, .35), 0 18px 40px -22px rgba(120, 50, 10, .5), 0 1px 0 #f3e5d8;
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(230, 200, 175, .18) 31px 32px); will-change: transform; transition: filter .2s; }
.bk-paper::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 6px; border-radius: 4px; background: linear-gradient(180deg, #ffb58a, #ff5a1a, #e5311b); opacity: .8; }
.bk-paper::after { content: ''; position: absolute; right: -4px; top: 14px; bottom: 14px; width: 8px; border-radius: 0 10px 10px 0; background: repeating-linear-gradient(180deg, #f6ebe1 0 2px, #fff 2px 4px); z-index: -1; }
.bk-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px 10px; border-bottom: 2px dashed #f3dccb; margin-bottom: 14px; }
.bk-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; font-size: 26px; box-shadow: 0 10px 20px -10px rgba(229, 49, 27, .8); flex: none; }
.bk-head h2 { font-size: 20px; margin: 0; letter-spacing: -.01em; }
.bk-head small { color: var(--muted); font-size: 12px; }
.bk-pno { font-family: Georgia, serif; font-size: 26px; font-weight: 700; color: #e5311b; }
.bk-pno i { font-size: 13px; color: var(--muted); font-style: normal; }
.bk-items .m-item { box-shadow: 0 6px 18px -14px rgba(80, 30, 10, .5); border: 1px solid #f6e9dd; }
.bk-pfoot { text-align: right; font-size: 12px; color: var(--muted); font-style: italic; padding: 4px 6px 0; }
.bk-arrow { position: absolute; top: 60px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--p1); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); cursor: pointer; font-size: 15px; transition: .2s; }
.bk-arrow.l { left: 2px; } .bk-arrow.r { right: 2px; }
.bk-arrow:disabled { opacity: 0; pointer-events: none; }
.bk-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 18px; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
@media (max-width: 699px) { .bk-arrow { display: none; } }
@media (min-width: 700px) { .bk-page { padding: 4px 48px 22px; } .bk-arrow { top: 80px; } }

/* customer's own summary + history */
.mb-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.mb-kpis div { background: #fff; border-radius: 14px; padding: 8px 4px; text-align: center; border: 1px solid #fbe3d0; }
.mb-kpis b { display: block; font-size: 17px; color: var(--p2); }
.mb-kpis span { font-size: 10.5px; color: var(--ink2); font-weight: 600; line-height: 1.2; display: block; }
.mb-card-bar { margin-top: 10px; }
.mb-card-bar .bar span { background: linear-gradient(90deg, #22c55e, #0f9d58); }
.mb-card-bar .tiny { margin-top: 6px; color: var(--ink2); }
.mb-hist { margin-top: 12px; border-top: 1px dashed #f3d6c0; padding-top: 10px; }
.mb-hist summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--p2); list-style: none; }
.mb-hist summary::-webkit-details-marker { display: none; }
.hv { background: #fff; border-radius: 16px; padding: 10px 12px; margin-top: 10px; border: 1px solid #f6e4d6; }
.hv-h { display: flex; justify-content: space-between; font-size: 13.5px; }
.hv-o { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; padding: 6px 0; border-top: 1px solid #fbf0e7; margin-top: 6px; }
.hv-st { font-size: 12px; font-weight: 700; margin-top: 6px; color: var(--muted); }
.hv-st.on { color: #0f9d58; }
@media (max-width: 420px) { .mb-kpis { grid-template-columns: repeat(2, 1fr); } }

/* ---------- responsive: tablet + laptop ---------- */
@media (min-width: 700px) and (max-width: 1099px) {   /* tablet: thoda bada, 1 page */
  .m-wrap { max-width: 900px; }
  .m-info { margin: -80px 24px 0; padding: 22px 24px 18px; }
  .m-tools { padding: 14px 24px 4px; }
  .bk-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .bk-items .m-item { flex-direction: column-reverse; }
  .bk-items .m-item .pic, .bk-items .m-item .pic .im { width: 100%; }
  .bk-items .m-item .pic .im { height: 150px; }
  .me-banner { margin: 16px 24px 0; }
}
@media (min-width: 1100px) {   /* laptop: khuli kitaab – 2 page ek saath */
  .m-wrap { max-width: 1180px; }
  .m-hero { height: 300px; border-radius: 0 0 36px 36px; }
  .m-info { margin: -90px 32px 0; padding: 24px 28px 20px; }
  .m-tools { padding: 14px 32px 4px; }
  .me-banner { margin: 16px 32px 0; }
  .bk-page { flex: 0 0 50%; padding: 4px 16px 22px; }
  .bk-page:nth-child(odd) .bk-paper { border-radius: 26px 8px 8px 26px; }
  .book { padding: 6px 30px 4px; }
  .bk-arrow.l { left: -4px; } .bk-arrow.r { right: -4px; }
  .cart-bar { max-width: 1100px; }
}
html:has(body.cust), body.cust { overflow-x: clip; }

/* cart sheet: Order place button – mobile par poori chaudai, niche chipka hua */
.modal.cart .modal-f { position: sticky; bottom: 0; background: #fff; z-index: 2; box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .35); }
.modal.cart #placeBtn { min-height: 52px; font-size: 16px; border-radius: 16px; }
@media (max-width: 560px) {
  .modal.cart .modal-f { flex-direction: column-reverse; align-items: stretch; gap: 8px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); }
  .modal.cart .modal-f .btn { width: 100%; justify-content: center; margin: 0; }
  .modal.cart #placeBtn { min-height: 56px; font-size: 17px; }
}
@media (min-width: 561px) { .modal.cart #placeBtn { flex: 1 1 260px; } }

/* track page: call waiter / water / bill (only while the bill is open) */
.call-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.call-opts .btn { flex-direction: column; gap: 4px; padding: 12px 6px; font-size: 13px; justify-content: center; text-align: center; }
.call-opts .btn i { font-size: 20px; }

/* track page: Cash / Online (UPI) choice */
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-opts .btn { justify-content: center; padding: 12px; font-weight: 700; border: 2px solid var(--line); }
.pay-opts .btn span { font-size: 18px; }
.pay-opts .btn.on { border-color: var(--p1); background: #fff3ec; color: var(--p2); }
.pay-qr-box { border: 1px dashed var(--line); border-radius: 16px; padding: 14px; background: #fffaf6; }
.pay-qr { width: 206px; min-height: 206px; margin: 0 auto 10px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--sh); display: grid; place-items: center; }
.pay-qr img, .pay-qr canvas { width: 190px; height: 190px; }

/* ===== v17 (2026-10-11): Digital menu / Menu card switch + app-like phone layout ===== */
body.cust { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
.view-sw { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 10px; background: #fff; border-radius: 16px; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .25); }
.view-sw button { border: 0; background: transparent; border-radius: 12px; padding: 10px 8px; font: 700 13.5px/1 inherit; font-family: inherit; color: var(--ink2); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; transition: .25s var(--ease); }
.view-sw button.on { background: linear-gradient(135deg, #ff7a1a, #ff5a1f 55%, #e5311b); color: #fff; box-shadow: 0 8px 18px -8px rgba(229, 49, 27, .7); }
body.view-card .m-search, body.view-card .m-cats, body.view-card .book { display: none !important; }
body:not(.view-card) #cardView { display: none; }

/* printed-style menu card */
.mc-wrap { padding: 4px 14px 10px; animation: fadeUp .45s var(--ease) both; }
.mc-filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.mc-filter button { border: 1.5px solid #ead9c8; background: #fff; border-radius: 30px; padding: 8px 16px; font: 700 13px/1 inherit; font-family: inherit; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; cursor: pointer; transition: .2s var(--ease); }
.mc-filter button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mc-filter > span { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 600; }
.mcard { --gold: #c8862a; --ink3: #3a2416; background: #fffaf2; border-radius: 10px; padding: 9px; box-shadow: 0 26px 50px -26px rgba(90, 45, 10, .45), 0 2px 0 #f1e2d0; }
.mc-in { border: 1.5px solid var(--gold); border-radius: 7px; padding: 24px 22px 18px; position: relative; }
.mc-in::before { content: ''; position: absolute; inset: 4px; border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); border-radius: 4px; pointer-events: none; }
.mc-hd { text-align: center; }
.mc-lg { width: 70px; height: 70px; margin: 0 auto 8px; border-radius: 50%; border: 2px solid var(--gold); padding: 2px; display: grid; place-items: center; font-size: 34px; background: #fff; overflow: hidden; }
.mc-lg img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mc-hd h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 800; color: var(--ink3); line-height: 1.15; letter-spacing: .2px; }
.mc-sub { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.mc-orn { display: flex; align-items: center; gap: 12px; margin: 14px auto 4px; max-width: 420px; }
.mc-orn::before, .mc-orn::after { content: ''; flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold)); }
.mc-orn::after { background: linear-gradient(90deg, var(--gold), transparent); }
.mc-orn span { font-family: 'Playfair Display', Georgia, serif; color: #ff5a1f; font-weight: 800; font-size: 18px; letter-spacing: 4px; text-transform: uppercase; white-space: nowrap; }
.mc-cols { columns: 1; column-gap: 34px; margin-top: 6px; }
.mc-sec { break-inside: avoid; padding-top: 14px; }
.mc-sec h3 { display: flex; align-items: center; gap: 8px; font-family: 'Playfair Display', Georgia, serif; font-size: 15.5px; font-weight: 800; color: #e5311b; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 6px; }
.mc-sec h3::after { content: ''; flex: 1; height: 1px; background: rgba(229, 49, 27, .25); }
.mc-sec h3 .mc-ci { font-size: 16px; letter-spacing: 0; }
.mc-sec h3 .ico-img { width: 20px; height: 20px; }
.mc-row { padding: 6px 0; cursor: pointer; border-radius: 8px; transition: background .2s; break-inside: avoid; }
.mc-row:active { background: #fff1e4; }
.mc-l { display: flex; align-items: baseline; gap: 8px; }
.mc-l .veg-dot { flex: none; transform: translateY(2px); }
.mc-l b { font-size: 14.5px; font-weight: 700; color: var(--ink3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-l .mc-dots { flex: 1; min-width: 18px; border-bottom: 2px dotted rgba(200, 134, 42, .55); transform: translateY(-4px); }
.mc-pr { font-weight: 800; font-size: 14.5px; color: var(--ink3); white-space: nowrap; }
.mc-pr s { color: var(--muted); font-weight: 500; font-size: 11.5px; margin-right: 5px; }
.mc-ds { font-size: 12px; color: var(--muted); font-style: italic; margin: 2px 0 0 24px; line-height: 1.4; }
.mc-row.na b, .mc-row.na .mc-pr { color: #b8aca2; }
.mc-ft { border-top: 1.5px solid color-mix(in srgb, var(--gold) 60%, transparent); margin-top: 16px; padding-top: 14px; text-align: center; }
.mc-lgd { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.mc-lgd .veg-dot:not(:first-child) { margin-left: 8px; }
.mc-ct { font-size: 12px; color: var(--ink2); margin-top: 6px; }
.mc-order { margin-top: 14px; border-radius: 14px; }
.mc-pw { font-size: 11px; color: var(--muted); margin-top: 10px; }
@media (min-width: 760px) { .mc-cols { columns: 2; } .mcard { padding: 12px; } .mc-in { padding: 34px 36px 22px; } .mc-hd h2 { font-size: 34px; } }

/* app-style bottom bar (phones) */
.bnav { display: none; }
@media (max-width: 760px) {
  body.cust.has-bnav { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  .bnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px); box-shadow: 0 -8px 26px -12px rgba(80, 30, 10, .3); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
  .bnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; font-size: 11px; font-weight: 700; color: #7a6a60; cursor: pointer; text-decoration: none; }
  .bnav a i { font-size: 18px; width: 56px; height: 30px; display: grid; place-items: center; border-radius: 16px; transition: .25s var(--ease); }
  .bnav a.on { color: #ff5a1f; }
  .bnav a.on i { background: rgba(255, 90, 31, .14); transform: translateY(-1px); }
  .has-bnav .cart-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* header like the app: gradient with rounded bottom, compact */
  .m-hero { height: 176px; border-radius: 0 0 28px 28px; }
  .m-top .btn-sm:not(.btn-icon) { display: none; }
  .m-info { margin-top: -58px; border-radius: 24px; }
  .m-info h1 { font-size: 21px; }
  .m-links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -2px; padding-bottom: 2px; }
  .m-links::-webkit-scrollbar { display: none; }
  .m-links a { flex: none; }
  .m-tools { padding-top: 10px; border-radius: 0 0 20px 20px; }
  .m-item { border-radius: 20px; }
}
