/* Customer-facing site. Loaded after app.css (shares its tokens). */
body.shop { background: #faf7f2; font-size: 15px; }
.shop-nav { position: sticky; top: 0; z-index: 1030; background: rgba(250, 247, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid #efe7da; }
.shop-nav .inner { max-width: 1200px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 1rem; padding: 0 1rem; }
.shop-brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-family: "Noto Sans Devanagari", sans-serif; font-weight: 700; font-size: 1.2rem; }
.shop-brand .logo { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #f59e0b); display: grid; place-items: center; font-size: 1.1rem; }
.shop-nav .links { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.shop-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.hero { position: relative; border-radius: 22px; overflow: hidden; margin: 1rem 0 1.5rem; min-height: 230px; display: flex; align-items: flex-end; background: #2b1a0e; }
.hero video, .hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 5, .05) 0%, rgba(20, 12, 5, .78) 100%); }
.hero .txt { position: relative; z-index: 1; color: #fff; padding: 1.75rem; }
.hero h1 { color: #fff; font-family: "Noto Sans Devanagari", sans-serif; font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 0; }
.hero p { margin: .3rem 0 0; color: rgba(255,255,255,.85); }
.hero .perks { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .9rem; }
.hero .perks span { background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; }

.menu-layout > * { min-width: 0; }
.menu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; padding-bottom: 3rem; }
.menu-tools { position: sticky; top: 64px; z-index: 20; background: #faf7f2; padding: .75rem 0; display: flex; flex-direction: column; gap: .65rem; }
.cat-chips { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { border: 1px solid #e9dfd0; background: #fff; color: var(--ink-2); border-radius: 999px; padding: .45rem .95rem; font-size: .85rem; font-weight: 600; white-space: nowrap; display: inline-flex; gap: .4rem; align-items: center; }
.cat-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.menu-section h3 { font-size: 1.1rem; margin: 1.25rem 0 .75rem; display: flex; align-items: center; gap: .5rem; }
.menu-section h3 small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.mcard { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #efe7da; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.mcard:hover { box-shadow: 0 10px 30px rgba(60, 40, 20, .1); transform: translateY(-2px); }
.mcard .ph { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, #fff1dc, #fde7c7); display: grid; place-items: center; font-size: 3rem; overflow: hidden; }
.mcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.mcard .veg { position: absolute; top: 10px; left: 10px; width: 18px; height: 18px; border: 2px solid #15803d; border-radius: 4px; background: #fff; display: grid; place-items: center; }
.mcard .veg::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #15803d; }
.mcard .na { position: absolute; inset: 0; background: rgba(255,255,255,.65); display: grid; place-items: center; }
.mcard .na span { background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; }
.mcard .bd { padding: .8rem .9rem .9rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.mcard .nm { font-weight: 650; font-size: .95rem; }
.mcard .ds { font-size: .78rem; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard .ft { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .5rem; }
.mcard .pr { font-weight: 750; font-size: 1.05rem; }
.add-btn { border: 1px solid var(--brand); color: var(--brand); background: #fff; font-weight: 700; font-size: .82rem; border-radius: 10px; padding: .4rem 1.1rem; }
.add-btn:hover { background: var(--brand-50); }
.qty { display: flex; align-items: center; background: var(--brand); border-radius: 10px; color: #fff; }
.qty button { border: 0; background: transparent; color: #fff; width: 32px; height: 32px; font-size: 1.05rem; font-weight: 700; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }

.cart-panel { position: sticky; top: 80px; background: #fff; border: 1px solid #efe7da; border-radius: 18px; overflow: hidden; }
.cart-panel .hd { padding: 1rem 1.1rem; border-bottom: 1px solid #f1ebe1; display: flex; justify-content: space-between; align-items: center; }
.cart-panel .hd h4 { font-size: 1rem; margin: 0; }
.cart-panel .bd { max-height: 46vh; overflow-y: auto; padding: .25rem 1.1rem; }
.cart-panel .ft { padding: 1rem 1.1rem; border-top: 1px solid #f1ebe1; background: #fffdf9; }
.cline { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed #efe7da; font-size: .88rem; }
.cline:last-child { border-bottom: 0; }
.cline .qty { transform: scale(.88); }
.sumrow { display: flex; justify-content: space-between; font-size: .88rem; color: var(--ink-2); padding: .15rem 0; }
.sumrow.total { font-size: 1.15rem; font-weight: 800; color: var(--ink); border-top: 1px solid #efe7da; margin-top: .4rem; padding-top: .5rem; }

.cart-fab { display: none; }
@media (max-width: 991.98px) {
  .menu-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-panel { display: none; }
  .cart-fab { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1040; display: flex; align-items: center; justify-content: space-between; background: var(--brand); color: #fff; border: 0; border-radius: 16px; padding: .9rem 1.1rem; font-weight: 700; box-shadow: 0 12px 30px rgba(15, 118, 110, .35); transform: translateY(150%); transition: transform .25s; }
  .cart-fab.show { transform: none; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .mcard .bd { padding: .65rem .7rem .75rem; }
  .mcard .nm { font-size: .88rem; }
  .add-btn { padding: .35rem .8rem; }
  body.shop { padding-bottom: 5.5rem; }
}

/* Checkout modal steps */
.steps { display: flex; gap: .4rem; margin-bottom: 1.25rem; }
.steps .s { flex: 1; text-align: center; font-size: .72rem; font-weight: 650; color: var(--muted); }
.steps .s::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: .4rem; }
.steps .s.on { color: var(--brand); }
.steps .s.on::before { background: var(--brand); }
.type-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.type-pick input { display: none; }
.type-pick label { border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem; cursor: pointer; display: flex; gap: .65rem; align-items: center; background: #fff; }
.type-pick label i { font-size: 1.2rem; color: var(--muted); }
.type-pick label b { display: block; font-size: .9rem; }
.type-pick label small { color: var(--muted); font-size: .75rem; }
.type-pick input:checked + label { border-color: var(--brand); background: var(--brand-50); }
.type-pick input:checked + label i { color: var(--brand); }
.qr-box { text-align: center; background: #fffaf2; border: 1px solid #f3e6d2; border-radius: 16px; padding: 1.25rem; }
.qr-box img { width: 210px; max-width: 100%; border-radius: 12px; background: #fff; padding: 8px; border: 1px solid #efe7da; }
.qr-box .amt { font-size: 1.9rem; font-weight: 800; margin: .5rem 0 0; }
.drop { border: 2px dashed #d6c7b0; border-radius: 14px; padding: 1.25rem; text-align: center; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.drop:hover, .drop.drag { border-color: var(--brand); background: var(--brand-50); }
.drop i { font-size: 1.6rem; color: var(--brand); }
.drop-preview { position: relative; display: none; }
.drop-preview img { width: 100%; max-height: 260px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.drop-preview button { position: absolute; top: 8px; right: 8px; }
.success-box { text-align: center; padding: 1rem 0; }
.success-box .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--success-50); color: var(--success); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1rem; }
.order-tag { display: inline-block; background: var(--ink); color: #fff; font-weight: 700; letter-spacing: .04em; padding: .45rem 1rem; border-radius: 10px; margin: .75rem 0; }

/* Account pages */
.acct-head { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 1rem; flex-wrap: wrap; }
.acct-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; }
.acct-tabs a { padding: .5rem 1rem; border-radius: 10px; font-weight: 600; font-size: .88rem; color: var(--ink-2); border: 1px solid #e9dfd0; background: #fff; }
.acct-tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.order-card { background: #fff; border: 1px solid #efe7da; border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: .8rem; }
.order-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; flex-wrap: wrap; }
.order-card .items { font-size: .85rem; color: var(--ink-2); margin: .6rem 0; }
.track { display: flex; align-items: center; gap: 0; margin-top: .75rem; }
.track .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: #fff; display: grid; place-items: center; font-size: .65rem; flex-shrink: 0; }
.track .bar { flex: 1; height: 3px; background: var(--line); }
.track .on { background: var(--brand); }
.track-labels { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-top: .3rem; }
.shop-footer { border-top: 1px solid #efe7da; padding: 1.5rem 1rem; text-align: center; color: var(--muted); font-size: .8rem; }
