/* Jagdish Farshan shop (same guest app as earthmonk-retail). Landing styled after a full-bleed, editorial look (serif headlines, saffron
   accents, photo bands); menu merchandised for ordering. Tokens in /shared/earth.css. */
:root { --hdr: 76px; --wrap: 1240px; --saffron: #e08a00; --saffron-d: #b86f00; --cream: #faf5e5; --cream-2: #f3ead2; --charcoal: #2a1512; }
body { background: var(--cream); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; color: var(--saffron-d); }
main { min-height: 60vh; outline: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); }

/* ---------- buttons ---------- */
.btn.saffron { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.btn.saffron:hover { background: var(--saffron-d); border-color: var(--saffron-d); }
.btn.glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn.glass:hover { background: rgba(255,255,255,.2); }
.btn.lg { padding: 14px 26px; font-size: 15.5px; }
.btn.block { width: 100%; justify-content: center; }
.icon-btn { border: 0; background: transparent; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.icon-btn:hover { background: var(--subtle); color: var(--ink); }

/* ---------- header (solid by default, transparent over the landing hero) ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(250,245,229,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s; }
.hdr-in { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; height: var(--hdr); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 62px; width: auto; }
.logo-on-dark { display: none; }
.hdr-nav { display: flex; gap: 4px; margin-left: auto; }
.hdr-nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; padding: 8px 14px; border-radius: var(--pill); transition: background .15s, color .15s; }
.hdr-nav a:hover { background: var(--subtle); color: var(--ink); }
.hdr-nav a.on { color: var(--forest-700); font-weight: 600; }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 40px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: var(--pill); padding: 0 14px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.pill:hover { border-color: var(--forest-500); }
.pill .star { color: var(--saffron); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--forest-700); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.cart-btn:hover { background: var(--forest-800); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--saffron); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--cream); }
.order-cta { height: 40px; }
body.landing .hdr { position: fixed; left: 0; right: 0; }
.hdr.over { background: transparent; border-color: transparent; backdrop-filter: none; }
.hdr.over .logo-on-dark { display: block; } .hdr.over .logo-on-light { display: none; }
.hdr.over .hdr-nav a { color: rgba(255,255,255,.9); } .hdr.over .hdr-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.hdr.over .pill { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.hdr.over .cart-btn { background: rgba(255,255,255,.16); }
.hdr.over .cart-count { border-color: transparent; }
body.menu-page .order-cta, body.checkout-page .order-cta { display: none; }
.pop { position: absolute; right: 32px; top: calc(var(--hdr) - 6px); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); padding: 6px; min-width: 250px; z-index: 40; }
.pop button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.pop button:hover, .pop button[aria-selected=true] { background: var(--forest-50); }
.pop small { display: block; color: var(--muted); font-size: 12px; }
.member-pop { padding: 16px; min-width: 270px; }
.member-pop .pts { font: 600 30px/1.1 var(--serif); margin: 4px 0; }

/* ================= landing ================= */
.hero { position: relative; min-height: min(100vh, 920px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; background: var(--forest-900); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(36,9,7,.82) 0%, rgba(36,9,7,.6) 100%), linear-gradient(180deg, rgba(36,9,7,.3) 0%, rgba(36,9,7,.6) 100%); }
.hero-in { position: relative; z-index: 1; max-width: 860px; padding: 150px 24px 130px; }
.hero .eyebrow { color: #f0b04a; }
.hero h1 { font-size: 76px; line-height: 1.02; letter-spacing: -.02em; margin: 18px 0 0; color: #fff; font-weight: 600; }
.hero h1 em { display: block; font-style: italic; color: #f0b04a; font-weight: 500; }
.hero p { font-size: 18.5px; color: rgba(255,255,255,.84); max-width: 620px; margin: 22px auto 34px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 34px; font-size: 14px; color: rgba(255,255,255,.82); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .star { color: #f0b04a; }
.scroll-cue { position: absolute; z-index: 1; bottom: 26px; left: 50%; transform: translateX(-50%); width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.7)); }

.block { padding: 104px 0; }
.block.tight { padding-top: 0; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.center-head h2, .split h2, .band h2 { font-size: 48px; line-height: 1.08; letter-spacing: -.015em; margin: 14px 0 0; font-weight: 600; }
.center-head h2 em, .split h2 em { font-style: normal; color: var(--forest-700); }
.center-head p { color: var(--muted); font-size: 17px; margin: 16px auto 0; max-width: 620px; line-height: 1.6; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; max-width: 1080px; margin: 0 auto; }
.offer .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--forest-100); color: var(--forest-700); display: grid; place-items: center; margin-bottom: 18px; }
.offer h3 { font-size: 23px; font-weight: 600; margin-bottom: 8px; }
.offer p { color: var(--muted); margin: 0 0 12px; line-height: 1.6; }
.link { font-weight: 600; color: var(--forest-700); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rank { position: absolute; left: 12px; top: 12px; background: rgba(255,253,248,.95); color: var(--ink); font: 600 13px/1 var(--sans); padding: 6px 10px; border-radius: var(--pill); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.rank b { color: var(--saffron-d); }

.pairs-sec { background: var(--cream-2); }
.pair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pair { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, transform .2s; }
.pair:hover { box-shadow: 0 14px 34px rgba(29,42,36,.10); transform: translateY(-2px); }
.pair-pics { display: flex; align-items: center; }
.pair-pics img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 5px solid var(--paper); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.pair-pics img + .plus + img { margin-left: -26px; }
.pair-pics .plus { position: relative; z-index: 2; width: 34px; height: 34px; margin-left: -14px; border-radius: 50%; background: var(--saffron); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.pair h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.pair h3 span { color: var(--saffron-d); }
.pair .why { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 7px; align-items: flex-start; }
.pair .why svg { color: var(--forest-500); flex: none; margin-top: 2px; }
.pair .ft { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pair .total { font: 600 22px/1 var(--serif); }
.pair .total small { display: block; font: 500 12px var(--sans); color: var(--muted); margin-top: 4px; }

.band { position: relative; overflow: hidden; color: #fff; background: var(--forest-900); }
.band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48,12,9,.95) 0%, rgba(48,12,9,.82) 55%, rgba(48,12,9,.55) 100%); }
.band-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 104px 32px; }
.band .eyebrow { color: #f0b04a; }
.band h2 em { display: block; font-style: italic; color: #f0b04a; font-weight: 500; }
.band p { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.7; margin: 20px 0 0; }
.band p b { color: #fff; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); border-radius: 20px; padding: 24px; }
.stat b { display: block; font: 600 42px/1 var(--serif); color: #f0b04a; }
.stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.5; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(29,42,36,.18); aspect-ratio: 4 / 5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.feats { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.feat { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); color: var(--forest-700); display: grid; place-items: center; }
.feat h3 { font-size: 18px; font-weight: 600; margin: 2px 0 4px; }
.feat p { margin: 0; color: var(--muted); line-height: 1.55; }

.rewards { background: linear-gradient(120deg, var(--forest-800), var(--forest-600)); color: #eef5f0; border-radius: 30px; padding: 52px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.rewards .eyebrow { color: #f0b04a; }
.rewards h2 { color: #fff; font-size: 40px; line-height: 1.1; margin: 12px 0 12px; font-weight: 600; }
.rewards p { color: #cfe2d6; margin: 0 0 24px; font-size: 16px; }
.rw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rw-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 20px; }
.rw-card b { display: block; font: 600 32px/1.1 var(--serif); color: #fff; }
.rw-card span { font-size: 13px; color: #cfe2d6; }

.dark { background: var(--charcoal); color: #fff; }
.dark .center-head p { color: rgba(255,255,255,.6); }
.dark .eyebrow { color: #f0b04a; }
.outlets { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1000px; margin: 0 auto; }
.outlet { background: #262724; border: 1px solid #34352f; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.outlet h3 { font-size: 26px; font-weight: 600; color: #fff; }
.outlet .row { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.75); }
.outlet .row svg { flex: none; margin-top: 3px; color: #f0b04a; }
.outlet .row a { color: rgba(255,255,255,.85); }
.outlet .acts { margin-top: 12px; }

/* ---------- dish card (landing + desktop menu) ---------- */
.dish-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.dish-card:hover { box-shadow: 0 14px 34px rgba(29,42,36,.12); transform: translateY(-3px); }
.dish-card .ph { aspect-ratio: 4 / 3; background: var(--cream-2); position: relative; overflow: hidden; }
.dish-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dish-card:hover .ph img { transform: scale(1.04); }
.dish-card .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.dish-card .nm { font-weight: 600; font-size: 15.5px; line-height: 1.3; display: flex; gap: 8px; align-items: flex-start; }
.dish-card .nm .veg { margin-top: 3px; }
.dish-card .meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.hint { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--forest-600); line-height: 1.35; }
.hint svg { flex: none; margin-top: 1px; }
.dish-card .ft { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; }
.dish-card .price { font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.dish-card.off { opacity: .55; }
.badge { position: absolute; left: 12px; top: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--saffron); border-radius: var(--pill); padding: 4px 10px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.veg { width: 14px; height: 14px; border: 1.6px solid #2e7a56; border-radius: 3px; display: inline-grid; place-items: center; flex: none; }
.veg::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2e7a56; }
.add { border: 1px solid var(--forest-500); color: var(--forest-600); background: #fff; border-radius: 10px; padding: 8px 0; width: 92px; font-weight: 700; font-size: 13px; letter-spacing: .04em; cursor: pointer; box-shadow: 0 2px 6px rgba(29,42,36,.08); }
.add:hover { background: var(--forest-50); }
.stepper { display: inline-flex; align-items: center; justify-content: space-between; width: 92px; border-radius: 10px; background: var(--forest-700); color: #fff; box-shadow: 0 2px 6px rgba(29,42,36,.15); }
.stepper button { border: 0; background: transparent; color: #fff; width: 30px; height: 34px; font-size: 18px; cursor: pointer; border-radius: 10px; }
.stepper span { font-weight: 700; font-size: 13px; }
.soldout { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--subtle); border-radius: 8px; padding: 8px 10px; }

/* ================= menu ================= */
.menu-head { background: var(--forest-800); color: #fff; position: relative; overflow: hidden; }
.menu-head-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.menu-head-in { position: relative; display: flex; align-items: flex-end; gap: 20px; padding: 34px 32px 26px; flex-wrap: wrap; }
.menu-head .eyebrow { color: #f0b04a; }
.menu-head h1 { font-size: 40px; color: #fff; margin: 6px 0 4px; font-weight: 600; }
.where { font-size: 13.5px; color: rgba(255,255,255,.8); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.where .tbl { background: #f0b04a; color: #2b1c02; font-weight: 700; border-radius: var(--pill); padding: 3px 10px; font-size: 12px; }
.menu-tools { margin-left: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search { width: 340px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.95); border-radius: var(--pill); padding: 0 16px; color: var(--muted); }
.search input { flex: 1; border: 0; background: transparent; padding: 11px 0; outline: none; min-width: 0; color: var(--ink); }
.search:focus-within { box-shadow: var(--focus); }
.menu-head .switch { color: #fff; }
.menu-head .switch .track { background: rgba(255,255,255,.3); }
.menu-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr) 350px; gap: 30px; padding: 28px 32px 70px; align-items: start; max-width: 1440px; margin: 0 auto; }
.cat-nav { position: sticky; top: calc(var(--hdr) + 18px); max-height: calc(100vh - var(--hdr) - 36px); overflow: auto; }
.cat-nav .lbl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 10px 8px; }
.cat-nav button { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; background: none; text-align: left; padding: 9px 12px; border-radius: 10px; cursor: pointer; color: var(--ink-2); font-size: 14px; }
.cat-nav button span { color: var(--muted); font-size: 12px; }
.cat-nav button.hl { font-weight: 600; color: var(--saffron-d); }
.cat-nav button:hover { background: var(--subtle); }
.cat-nav button[aria-current=true] { background: var(--forest-100); color: var(--forest-700); font-weight: 600; }
.sec { scroll-margin-top: calc(var(--hdr) + 16px); margin-bottom: 40px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec h2 { font-size: 28px; font-weight: 600; }
.sec .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sec .cnt { color: var(--muted); font-size: 13px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.shelf-sec .cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.menu-pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.menu-pairs .pair { padding: 18px; }
.menu-pairs .pair-pics img { width: 84px; height: 84px; }
.menu-pairs .pair h3 { font-size: 17px; }

.cart-panel { position: sticky; top: calc(var(--hdr) + 18px); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 20px; max-height: calc(100vh - var(--hdr) - 36px); display: flex; flex-direction: column; overflow: hidden; }
.cart-panel h2 { font-size: 22px; font-weight: 600; }
.cart-scroll { overflow: auto; margin: 8px -6px 0; padding: 0 6px; }
.cart-empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.cart-empty svg { color: var(--forest-500); margin: 0 auto 8px; }
.line { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.line img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.line .n { font-weight: 600; font-size: 13.5px; line-height: 1.25; }
.line .s { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.line .stepper { width: 84px; }
.complete { margin-top: 14px; }
.complete-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-d); margin-bottom: 8px; }
.sugg { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 14px; background: #fbf3e2; border: 1px solid #f1e2bf; margin-bottom: 8px; }
.sugg img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.sugg .n { font-weight: 600; font-size: 13.5px; line-height: 1.25; }
.sugg .r { font-size: 11.5px; color: #7a6331; line-height: 1.3; margin-top: 2px; }
.sugg .add-s { border: 0; background: var(--saffron); color: #fff; font-weight: 700; font-size: 12px; border-radius: 9px; padding: 7px 11px; cursor: pointer; white-space: nowrap; }
.sugg .add-s:hover { background: var(--saffron-d); }
.totals { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 12px; }
.totals .r { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.totals .r.big { font-size: 18px; font-weight: 700; color: var(--ink); }
.totals .r .disc { color: var(--forest-600); }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* mobile menu rows (hidden on desktop) */
.rows { display: none; }
.row-dish { display: grid; grid-template-columns: 1fr 118px; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.row-dish .nm { font-weight: 600; font-size: 15.5px; line-height: 1.3; margin: 5px 0 3px; }
.row-dish .price { font-weight: 600; }
.row-dish .tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.row-dish .hint { margin-top: 6px; }
.row-dish .ph { position: relative; width: 118px; height: 112px; }
.row-dish .ph img { width: 118px; height: 100px; border-radius: 14px; object-fit: cover; }
.row-dish .ph .add, .row-dish .ph .stepper, .row-dish .ph .soldout { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 94px; }
.row-dish .ph .soldout { text-align: center; padding: 6px; }
.mini-badge { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--saffron); border-radius: var(--pill); padding: 2px 8px; }
.cats, .fab-menu, .cartbar { display: none; }

/* ================= checkout ================= */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 30px; padding: 34px 32px 90px; align-items: start; max-width: 1180px; margin: 0 auto; }
.co h1 { font-size: 38px; font-weight: 600; margin-bottom: 4px; }
.co .where { color: var(--muted); margin-bottom: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.card + .card { margin-top: 14px; }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.field input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: #fff; outline: none; }
.field input:focus { border-color: var(--forest-500); box-shadow: var(--focus); }
.pickup-select { width: 100%; appearance: none; -webkit-appearance: none; border: 1px solid var(--line); border-radius: 12px; padding: 12px 40px 12px 14px;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2383241E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.pickup-select:focus { border-color: var(--forest-500); box-shadow: var(--focus); }
.field .err { font-size: 12.5px; color: var(--bad); margin-top: 6px; }
.field.bad input { border-color: var(--bad); }
.table-input { display: flex; gap: 12px; align-items: center; }
.table-input input { max-width: 130px; font-size: 24px; font-weight: 700; text-align: center; letter-spacing: .05em; }
.rw-box { border-radius: 16px; padding: 14px 16px; background: #fbf3e2; border: 1px solid #f1e2bf; }
.rw-box b.pts { font-family: var(--serif); font-size: 22px; }
.rw-box .muted { color: #7a6331; }
.co-side { position: sticky; top: calc(var(--hdr) + 18px); }
.sticky-pay { display: none; }

/* ================= confirmation ================= */
.done { max-width: 640px; margin: 0 auto; padding: 56px 24px 90px; text-align: center; }
.done .tick { width: 80px; height: 80px; border-radius: 50%; background: var(--forest-100); color: var(--forest-600); display: grid; place-items: center; margin: 0 auto 18px; }
.done h1 { font-size: 40px; font-weight: 600; margin-bottom: 6px; }
.done .card { text-align: left; margin-top: 24px; }
.earned { margin-top: 14px; border-radius: 16px; padding: 14px 16px; background: #fbf3e2; color: #6a531f; display: flex; gap: 10px; align-items: center; text-align: left; }
.earned svg { color: var(--saffron); flex: none; }

/* ================= overlays ================= */
.scrim { position: fixed; inset: 0; background: rgba(18,26,22,.45); z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); z-index: 51; display: flex; flex-direction: column; box-shadow: var(--shadow-2); }
.drawer-head, .sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2, .sheet-head h2 { font-size: 22px; font-weight: 600; }
.drawer-body { flex: 1; overflow: auto; padding: 6px 22px 22px; display: flex; flex-direction: column; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 80vh; overflow: auto; background: var(--paper); z-index: 51; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-2); padding-bottom: env(safe-area-inset-bottom); }
.sheet-list button { display: flex; justify-content: space-between; width: 100%; border: 0; background: none; padding: 15px 22px; font-size: 15.5px; text-align: left; cursor: pointer; border-bottom: 1px solid var(--line-soft); }
.sheet-list button span { color: var(--muted); }
.sheet-list button.hl { color: var(--saffron-d); font-weight: 700; }
.sheet-list button[aria-current=true] { color: var(--forest-700); font-weight: 700; }
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(18,26,22,.5); display: grid; place-items: center; padding: 16px; }
.modal-card { position: relative; width: min(430px, 100%); background: var(--paper); border-radius: 24px; padding: 30px; box-shadow: var(--shadow-2); }
.modal-logo { height: 58px; margin-bottom: 14px; }
.modal-x { position: absolute; top: 12px; right: 12px; }
.modal-card h2 { font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.modal-card p { color: var(--muted); margin: 0 0 18px; }
.phone-in { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.phone-in span { padding: 12px; background: var(--subtle); font-weight: 600; color: var(--ink-2); }
.phone-in input { border: 0; flex: 1; padding: 12px; font-size: 17px; outline: none; letter-spacing: .04em; min-width: 0; }
.phone-in:focus-within { border-color: var(--forest-500); box-shadow: var(--focus); }
.code-in { width: 100%; text-align: center; font-size: 26px; letter-spacing: .5em; border: 1px solid var(--line); border-radius: 12px; padding: 12px; outline: none; }
.code-in:focus { border-color: var(--forest-500); box-shadow: var(--focus); }
.demo-note { font-size: 12.5px; background: var(--info-bg); color: #1f3f61; border-radius: 10px; padding: 8px 10px; margin-top: 12px; }
.toast { z-index: 70; }

/* ================= footer ================= */
.ftr { background: var(--forest-900); color: rgba(255,255,255,.75); }
.ftr-in { max-width: var(--wrap); margin: 0 auto; padding: 56px 32px 30px; display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.ftr-logo { height: 92px; width: auto; }
.ftr-cols { display: flex; gap: 70px; }
.ftr-cols div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ftr-cols b { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.ftr-cols a { color: rgba(255,255,255,.75); text-decoration: none; } .ftr-cols a:hover { color: #fff; }
.ftr-note { max-width: var(--wrap); margin: 0 auto; padding: 18px 32px 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.5); }
body.menu-page .ftr { padding-bottom: 60px; }

/* ================= embed (inside the admin phone preview) ================= */
body.embed .hdr-nav, body.embed .ftr, body.embed .outlet-pill, body.embed .member-pill, body.embed .order-cta { display: none !important; }

/* ================= responsive ================= */
@media (max-width: 1240px) {
  .menu-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .cart-panel { display: none; }
  .cartbar { display: flex; }
}
@media (max-width: 1080px) {
  .hero h1 { font-size: 58px; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .pair-grid { grid-template-columns: 1fr 1fr; }
  .band-in, .split, .rewards { grid-template-columns: 1fr; gap: 36px; }
  .split-img { aspect-ratio: 16 / 10; }
  .co { grid-template-columns: 1fr; }
  .co-side { position: static; }
  .hdr-nav { display: none; }
  .hdr-actions { margin-left: auto; }
}
@media (max-width: 860px) {
  :root { --hdr: 62px; }
  .hdr-in, .wrap { padding: 0 18px; }
  .hdr-in { gap: 10px; }
  .logo img { height: 42px; }
  .order-cta { display: none; }
  .pill { height: 38px; padding: 0 11px; }
  .member-pill .lbl { display: none; }
  .pop { right: 12px; left: 12px; }
  .hero { min-height: 92vh; }
  .hero-in { padding: 110px 20px 90px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }
  .trust { gap: 12px; font-size: 13px; }
  .block { padding: 64px 0; }
  .center-head { margin-bottom: 32px; }
  .center-head h2, .split h2, .band h2 { font-size: 32px; }
  .offer-grid { grid-template-columns: 1fr; gap: 28px; }
  .shelf { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 8px; }
  .shelf .dish-card { flex: 0 0 220px; scroll-snap-align: start; }
  .pair-grid { grid-template-columns: 1fr; }
  .band-in { padding: 64px 18px; }
  .stat b { font-size: 32px; }
  .rewards { padding: 30px 24px; border-radius: 24px; }
  .rewards h2 { font-size: 30px; }
  .outlets { grid-template-columns: 1fr; }
  .ftr-in { padding: 40px 18px 24px; } .ftr-cols { gap: 36px; } .ftr-note { padding: 16px 18px 24px; }

  /* menu becomes a phone list */
  .menu-head-in { padding: 22px 18px 18px; gap: 12px; }
  .menu-head h1 { font-size: 30px; }
  .menu-tools { margin-left: 0; width: 100%; }
  .search { width: auto; flex: 1; }
  .menu-grid { display: block; padding: 0 18px 150px; }
  .cat-nav { display: none; }
  .cards { display: none; }
  .shelf-sec .cards { display: flex; overflow-x: auto; gap: 12px; margin: 0 -18px; padding: 0 18px 6px; scroll-snap-type: x mandatory; }
  .shelf-sec .dish-card { flex: 0 0 200px; scroll-snap-align: start; }
  .shelf-sec .rows { display: none !important; }
  .rows { display: block; }
  .menu-pairs { display: flex; overflow-x: auto; margin: 0 -18px; padding: 0 18px 6px; scroll-snap-type: x mandatory; }
  .menu-pairs .pair { flex: 0 0 270px; scroll-snap-align: start; }
  .sec { scroll-margin-top: calc(var(--hdr) + 58px); margin-bottom: 14px; padding-top: 22px; }
  .sec h2 { font-size: 22px; }
  .cats { display: flex; position: sticky; top: var(--hdr); z-index: 20; gap: 6px; overflow-x: auto; padding: 10px 18px; background: rgba(248,245,240,.97); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cats button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: var(--pill); padding: 7px 13px; font-size: 13px; cursor: pointer; color: var(--ink-2); }
  .cats button.hl { border-color: #f1d49a; color: var(--saffron-d); font-weight: 600; }
  .cats button[aria-current=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
  .fab-menu { display: inline-flex; position: fixed; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 25; align-items: center; gap: 8px; border: 0; border-radius: var(--pill); background: var(--charcoal); color: #fff; padding: 12px 18px; font-weight: 700; box-shadow: var(--shadow-2); cursor: pointer; }
  .co { padding: 22px 18px 130px; }
  .co h1 { font-size: 30px; }
  .sticky-pay { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--paper); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .co-side .place-desktop { display: none; }
  .done { padding: 36px 18px 60px; }
  .done h1 { font-size: 30px; }
}
@media (max-width: 420px) { .outlet-pill .chev { display: none; } }
.cartbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); width: min(560px, calc(100vw - 24px)); z-index: 26;
  justify-content: space-between; align-items: center; border: 0; border-radius: 16px; padding: 14px 18px; background: var(--forest-700); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: var(--shadow-2); }
.cartbar .l { display: flex; align-items: center; gap: 10px; }
.cartbar .ct { background: #fff; color: var(--forest-700); border-radius: var(--pill); min-width: 26px; height: 26px; display: grid; place-items: center; font-size: 12.5px; padding: 0 7px; }
@media (min-width: 861px) { .toast { bottom: 28px; } }
@media (max-width: 860px) { .toast { bottom: calc(150px + env(safe-area-inset-bottom)); } }

/* ---------- sign-in gate, name, order history, payment status ---------- */
.link.inline { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-weight: 600; }
.perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; background: #fbf3e2; color: #5e4818; border-radius: 12px; padding: 10px 12px; font-size: 14.5px; }
.perks svg { width: 18px; height: 18px; flex: none; color: var(--saffron); margin-top: 1px; }
.gate-note { text-align: center; margin: 12px 0 0 !important; }
.member-pop .hi { font: 600 18px/1.2 var(--serif); margin-top: 4px; }
.pop-acts { display: flex; gap: 8px; margin-top: 14px; }
.pop .pop-acts .btn { display: inline-flex; width: auto; }
.link.past { justify-content: center; margin-top: 14px; font-size: 14px; }
.paychip { display: inline-flex; align-items: center; gap: 5px; border-radius: var(--pill); padding: 5px 11px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.paychip.paid { background: var(--forest-100); color: var(--forest-700); }
.paychip.due { background: #fbf0d9; color: #8a5a06; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.done-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.hist { max-width: 780px; margin: 0 auto; padding: 34px 24px 90px; }
.hist h1 { font-size: 38px; font-weight: 600; margin-bottom: 4px; }
.hist > div > p { margin: 0 0 20px; }
.ord { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; margin-bottom: 14px; }
.ord-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.ord-when { font: 600 17px/1.3 var(--serif); }
.ord-lines { padding: 8px 0; }
.ol { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 6px 0; font-size: 14.5px; }
.ol img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.ord-f { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.ord-amt { font: 600 22px/1.2 var(--serif); }
.ord-pts { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; font-size: 12.5px; font-weight: 600; color: #8a5a06; }
.ord-pts svg { color: var(--saffron); }
.skel-card { height: 190px; background: linear-gradient(90deg, var(--subtle), #f4efe5, var(--subtle)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border: 0; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 860px) {
  .hist { padding: 22px 16px 70px; } .hist h1 { font-size: 30px; }
  .ord { padding: 16px; border-radius: 18px; }
  .ord-h { flex-direction: column; gap: 8px; }
}

/* ---------- your orders: header button, live-order banner ---------- */
.orders-pill { position: relative; }
.orders-pill svg { color: var(--forest-700); }
.orders-pill.on { border-color: var(--forest-500); background: var(--forest-50); }
.hdr.over .orders-pill svg { color: #fff; }
.orders-pill .dot { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--saffron); color: #fff;
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--cream); }
.hdr.over .orders-pill .dot { border-color: transparent; }
.live-order { display: flex; align-items: center; gap: 12px; background: #fbf3e2; border: 1px solid #f1d49a; color: #5e4818; border-radius: 16px;
  padding: 12px 16px; text-decoration: none; text-align: left; }
.live-order:hover { border-color: var(--saffron); }
.live-order .t { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 14.5px; }
.live-order .t span { font-size: 13px; color: #8a6a2a; }
.live-order .go { font-weight: 600; color: var(--saffron-d); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); flex: none; box-shadow: 0 0 0 0 rgba(217,142,26,.6); animation: em-pulse 1.8s infinite; }
@keyframes em-pulse { 70% { box-shadow: 0 0 0 10px rgba(217,142,26,0); } 100% { box-shadow: 0 0 0 0 rgba(217,142,26,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.live-order.on-dark { background: rgba(20,32,26,.45); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(8px); max-width: 520px; margin: 0 auto 26px; }
.live-order.on-dark .t span { color: rgba(255,255,255,.8); }
.live-order.on-dark .go { color: #f0b04a; }
.menu-live { max-width: 1440px; margin: 16px auto 0; padding: 0 32px; }
.hist-h { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 700; margin: 26px 0 12px; }
.hist-h:first-child { margin-top: 6px; }
.ord.open { border-color: #f1d49a; box-shadow: inset 4px 0 0 var(--saffron); }
.name-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; align-items: center; }
.name-form input { flex: 1; min-width: 180px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 16px; background: #fff; outline: none; }
.name-form input:focus { border-color: var(--forest-500); box-shadow: var(--focus); }
.name-form .err { width: 100%; color: var(--bad); font-size: 12.5px; }
@media (max-width: 860px) {
  .orders-pill .lbl { display: none; }
  .menu-live { padding: 0 16px; margin-top: 12px; }
  .live-order { padding: 11px 13px; }
}

/* order kept across outlets: lines the chosen outlet doesn't sell */
.line.na img { opacity: .45; filter: grayscale(.6); }
.line.na .n { color: var(--muted); }
.na-note { color: #a1331f; font-weight: 600; }
.takeout { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 9px; padding: 6px 10px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.takeout:hover { border-color: #a1331f; color: #a1331f; }
.na-banner { display: flex; gap: 8px; align-items: flex-start; background: #fff4e5; border: 1px solid #f3d9a8; color: #6b4300; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; line-height: 1.4; margin: 10px 0 4px; }
.na-banner svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
