/* SFresh24 – shared styles for store, admin and rider app */
:root {
  --g: #0b7a3b; --g2: #0a6532; --gl: #e8f5ec; --y: #ffcc33; --y2: #fff4cf; --o: #e2711d; --r: #d93025; --rl: #fde8e6;
  --ink: #17201a; --ink2: #4a564d; --mute: #7b867e; --line: #e4e9e5; --bg: #f5f7f4; --card: #fff;
  --rad: 14px; --rad2: 10px; --sh: 0 1px 2px rgba(16, 40, 24, .06), 0 4px 14px rgba(16, 40, 24, .06);
  --font: 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.45; }
body.noscroll { overflow: hidden; }
a { color: var(--g); text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; }
small { font-size: .82em; }
.muted { color: var(--mute); } .small { font-size: .86em; } .center { text-align: center; } .mt { margin-top: 12px; }
.row { display: flex; align-items: center; } .gap { gap: 8px; } .end { justify-content: flex-end; } .wrap { flex-wrap: wrap; } .grow { flex: 1; }
.oktxt { color: var(--g); font-weight: 600; } .errtxt { color: var(--r); font-weight: 600; margin: 6px 0; }

/* buttons & inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; white-space: nowrap; transition: .15s; }
.btn:hover { border-color: #c9d3cc; background: #fafcfa; }
.btn.pri { background: var(--g); border-color: var(--g); color: #fff; }
.btn.pri:hover { background: var(--g2); }
.btn.danger { color: var(--r); border-color: #f3c6c2; } .btn.danger:hover { background: var(--rl); }
.btn.sm { padding: 5px 10px; font-size: .88em; border-radius: 8px; }
.btn.full { width: 100%; } .btn.big { padding: 13px 18px; font-size: 1.05em; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.big > span:first-child small { display: block; font-weight: 400; font-size: .72em; opacity: .85; }
.btn.big:has(> span + span) { justify-content: space-between; text-align: left; }
.btn.loading { opacity: .7; pointer-events: none; }
.linkbtn { background: none; border: 0; color: var(--g); font-weight: 600; padding: 6px 0; }
.linkbtn.red { color: var(--r); margin-left: 8px; }
.inp { width: 100%; padding: 10px 12px; border: 1px solid #d5ddd7; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.inp:focus { outline: 2px solid rgba(11, 122, 59, .25); border-color: var(--g); }
textarea.inp { resize: vertical; }
.inp.sm { width: 90px; padding: 6px 8px; }
.fld { display: block; margin-bottom: 12px; }
.fld > span { display: block; font-size: .85em; font-weight: 600; color: var(--ink2); margin-bottom: 4px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.fgrid .wide { grid-column: 1 / -1; }
.phone { display: flex; border: 1px solid #d5ddd7; border-radius: 10px; overflow: hidden; background: #fff; }
.phone b { padding: 10px 12px; background: #f1f4f1; border-right: 1px solid #d5ddd7; }
.phone input { flex: 1; border: 0; padding: 10px 12px; font: inherit; font-size: 1.1em; letter-spacing: 1px; min-width: 0; }
.phone input:focus { outline: none; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i { width: 40px; height: 22px; border-radius: 22px; background: #cfd8d2; position: relative; transition: .2s; flex: none; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + i { background: var(--g); }
.switch input:checked + i::after { left: 21px; }
.switch input:focus-visible + i { outline: 2px solid var(--g); outline-offset: 2px; }
.switch.big i { width: 50px; height: 28px; } .switch.big i::after { width: 22px; height: 22px; } .switch.big input:checked + i::after { left: 25px; }

.chip { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: .78em; font-weight: 700; background: #eef1ee; color: var(--ink2); white-space: nowrap; }
.chip.ok { background: var(--gl); color: var(--g); } .chip.warn { background: #fff1d6; color: #9a6400; }
.st-placed { background: #e6efff; color: #1a56c4; } .st-confirmed { background: #ede6ff; color: #5b30c4; } .st-packed { background: #fff1d6; color: #9a6400; }
.st-out_for_delivery { background: #ffe9dc; color: #b8500e; } .st-delivered { background: var(--gl); color: var(--g); } .st-cancelled { background: var(--rl); color: var(--r); }
.chipbtn { border: 1px solid var(--line); background: #fff; padding: 6px 14px; border-radius: 20px; font-weight: 600; font-size: .9em; }
.chipbtn.on { background: var(--g); color: #fff; border-color: var(--g); }
.chipbtn b { margin-left: 4px; opacity: .7; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.card { background: var(--card); border-radius: var(--rad); box-shadow: var(--sh); padding: 16px; margin-bottom: 14px; }
.card.flush { padding: 0; overflow: hidden; } .card.small { font-size: .92em; } .card h4 { margin-bottom: 10px; }
.empty { text-align: center; padding: 50px 16px; color: var(--mute); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty > span { font-size: 48px; } .empty.small { padding: 24px; } .empty.small > span { font-size: 32px; }
.stars { color: #f5a623; letter-spacing: 1px; } .stars i { color: #d8dcd9; font-style: normal; }
.demo-bar { background: #fff4cf; color: #6b5200; text-align: center; font-size: .82em; padding: 4px 10px; }
.demohint { background: #fff4cf; border-radius: 8px; padding: 8px 10px; color: #6b5200; text-align: center; }
.trend { font-size: .72em; font-weight: 700; padding: 1px 5px; border-radius: 6px; margin-left: 4px; white-space: nowrap; }
.trend.down { color: var(--g); background: var(--gl); } .trend.up { color: var(--r); background: var(--rl); }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -.5px; }
.logo.center { display: flex; justify-content: center; margin-bottom: 10px; }
.lm { width: 34px; height: 34px; border-radius: 10px; background: var(--y); color: var(--g); display: inline-grid; place-items: center; font-weight: 900; font-size: 20px; flex: none; box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.lm.big { width: 56px; height: 56px; font-size: 32px; border-radius: 16px; }
.lt b { color: var(--g); }

/* modal / toast */
.mwrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.mback { position: absolute; inset: 0; background: rgba(10, 24, 14, .5); animation: fade .15s; }
.modal { position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; animation: pop .18s; }
.modal.sm { max-width: 420px; } .modal.lg { max-width: 820px; } .modal.xl { max-width: 1080px; }
.mclose { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f4f1; z-index: 2; }
.pad { padding: 22px; } .cmsg { font-size: 1.05em; margin: 6px 0 18px; padding-right: 30px; }
.mwrap.drawer { justify-content: flex-end; padding: 0; }
.mwrap.drawer .modal { height: 100%; max-height: 100vh; max-width: 440px; border-radius: 0; animation: slide .2s; background: var(--bg); display: flex; flex-direction: column; }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: scale(.97) translateY(8px); } } @keyframes slide { from { transform: translateX(40px); opacity: 0; } }
#toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: 92vw; }
.toast { background: #17201a; color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: pop .2s; transition: .3s; text-align: center; }
.toast.err { background: var(--r); } .toast.out { opacity: 0; transform: translateY(10px); }

/* =================== CUSTOMER STORE =================== */
.ann-bar { background: var(--g); color: #fff; text-align: center; padding: 6px 12px; font-size: .88em; font-weight: 600; }
.closed-bar { background: var(--r); color: #fff; text-align: center; padding: 8px 12px; font-weight: 700; }
#hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px 16px; }
.locbtn { border: 0; background: none; text-align: left; padding: 0 8px; border-left: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.locbtn small { font-weight: 800; font-size: .95em; } .locbtn b { font-weight: 500; color: var(--ink2); font-size: .85em; white-space: nowrap; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; background: #f3f6f3; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; min-width: 0; }
.search input { flex: 1; border: 0; background: none; padding: 11px 0; font: inherit; min-width: 0; }
.search input:focus { outline: none; } .search:focus-within { border-color: var(--g); background: #fff; }
.langbtn { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 700; }
.acctbtn { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; max-width: 150px; }
.acctbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cartbtn { background: var(--g); color: #fff; border: 0; border-radius: 12px; padding: 8px 14px; display: flex; align-items: center; gap: 8px; font-weight: 700; min-width: 120px; }
.cartbtn #cartlbl { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.cartbtn small { font-weight: 500; opacity: .9; }
#app { max-width: 1280px; margin: 0 auto; padding: 16px 16px 100px; min-height: 60vh; }
#bnav { display: none; }
#cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 12px 12px; pointer-events: none; display: none; }
#cartbar button { pointer-events: auto; width: 100%; max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; background: var(--g); color: #fff; border: 0; border-radius: 14px; padding: 10px 16px; box-shadow: 0 8px 24px rgba(11, 122, 59, .35); }
#cartbar button span { display: flex; flex-direction: column; text-align: left; } #cartbar small { opacity: .9; font-size: .78em; }
#boot { text-align: center; padding: 80px 0; color: var(--mute); }

.banners { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
.banner { scroll-snap-align: start; background: linear-gradient(120deg, var(--bc), color-mix(in srgb, var(--bc) 70%, #000)); color: #fff; border-radius: 18px; padding: 22px; display: flex; justify-content: space-between; align-items: center; min-height: 170px; position: relative; overflow: hidden; }
.banner h2 { font-size: 1.45em; max-width: 280px; } .banner p { margin: 0 0 14px; opacity: .92; }
.bcta { background: #fff; color: var(--ink); padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: .9em; }
.bemo { font-size: 90px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); transform: rotate(-8deg); }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 6px; }
.promises div { background: #fff; border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: .9em; display: flex; gap: 8px; align-items: center; box-shadow: var(--sh); }
.promises span { font-size: 20px; }
.sec { margin: 22px 0 10px; font-size: 1.2em; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; color: var(--ink); min-height: 130px; transition: .15s; border: 1px solid rgba(0,0,0,.04); }
.cat:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.cat span { font-size: 46px; } .cat b { font-size: 1.1em; margin-top: auto; } .cat small { color: var(--ink2); }
.cat.soon { background: #f0f0f0; opacity: .7; }
.prow { margin-top: 22px; }
.rowh { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.rowh h3 { margin: 0; font-size: 1.15em; } .rowh a { font-weight: 700; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; }

.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--rad); position: relative; display: flex; flex-direction: column; overflow: hidden; transition: .15s; }
.pcard:hover { box-shadow: var(--sh); }
.pcard .off { position: absolute; top: 8px; left: 8px; z-index: 1; background: #2563eb; color: #fff; font-size: .72em; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.heart { position: absolute; top: 4px; right: 4px; z-index: 1; border: 0; background: rgba(255,255,255,.85); width: 32px; height: 32px; border-radius: 50%; font-size: 18px; color: #b9c2bc; }
.heart.on { color: #e11d48; }
.pimg { height: 120px; display: grid; place-items: center; cursor: pointer; margin: 6px; border-radius: 10px; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.emo { font-size: 64px; line-height: 1; } .emo.big { font-size: 130px; } img.big { max-height: 260px; object-fit: contain; }
.pinfo { padding: 4px 10px 10px; display: flex; flex-direction: column; flex: 1; }
.pname { font-weight: 700; line-height: 1.2; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.palt { color: var(--mute); font-size: .8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.psel { margin: 6px 0; border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; font: inherit; font-size: .85em; background: #fafcfa; width: 100%; }
.psel.static { color: var(--ink2); }
.pfoot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; } .price b { font-size: 1.05em; } .price s { color: var(--mute); font-size: .8em; }
.price.big b { font-size: 1.5em; }
.add { border: 1.5px solid var(--g); background: var(--gl); color: var(--g); font-weight: 800; border-radius: 8px; padding: 5px 14px; font-size: .88em; }
.add:hover { background: var(--g); color: #fff; } .add.big { padding: 10px 28px; font-size: 1em; }
.stepper { display: inline-flex; align-items: center; background: var(--g); color: #fff; border-radius: 8px; overflow: hidden; flex: none; }
.stepper button { border: 0; background: none; color: #fff; width: 30px; height: 30px; font-size: 18px; font-weight: 700; }
.stepper span { min-width: 22px; text-align: center; font-weight: 800; }
.pcard.oos .pimg { filter: grayscale(1); opacity: .6; }
.oos-tag { color: var(--r); font-weight: 700; font-size: .78em; }
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.offers.mini { grid-template-columns: 1fr; margin-top: 10px; }
.coupon { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1.5px dashed #9cc9ad; border-radius: 12px; padding: 10px 14px; }
.coupon b { color: var(--g); letter-spacing: .5px; } .coupon p { margin: 2px 0 0; font-size: .85em; color: var(--ink2); }
.invite { margin-top: 26px; background: var(--y2); border-radius: 16px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.invite p { margin: 2px 0 0; color: var(--ink2); }

.cattabs { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; }
.cattabs a { padding: 8px 16px; border-radius: 30px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; white-space: nowrap; }
.cattabs a.on { background: var(--g); color: #fff; border-color: var(--g); }
.catpage { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
.subnav { background: #fff; border-radius: var(--rad); position: sticky; top: 76px; overflow: hidden; box-shadow: var(--sh); }
.subnav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--ink); border-left: 4px solid transparent; font-size: .92em; }
.subnav a.on { background: var(--gl); border-left-color: var(--g); font-weight: 700; }
.se { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; flex: none; }
.cathead, .pagehead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.cathead h2, .pagehead h2 { margin: 0; font-size: 1.25em; } .cathead small, .pagehead small { color: var(--mute); font-weight: 400; }
.sortsel { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; background: #fff; }
.sugg { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px; }
.pdimg { border-radius: 16px; display: grid; place-items: center; min-height: 280px; }
.crumb { color: var(--mute); font-weight: 600; } .pd h2 { font-size: 1.6em; margin: 4px 0 0; } .unitp { font-weight: 600; color: var(--ink2); }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin: 12px 0; }
.pack { border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: 8px; display: flex; flex-direction: column; }
.pack.on { border-color: var(--g); background: var(--gl); } .pack span { color: var(--ink2); font-size: .9em; }
.pdbuy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0; }
.pdbuy .stepper button { width: 42px; height: 42px; }
.pdpoints { padding-left: 0; list-style: none; color: var(--ink2); } .pdpoints li { margin: 4px 0; }
#pd-body > .sec, #pd-body > .hscroll { padding: 0 22px; } #pd-body > .hscroll { padding-bottom: 20px; }

/* cart drawer */
#cartbody { display: flex; flex-direction: column; min-height: 100%; padding: 18px 16px 0; }
.dh { margin: 0 40px 12px 0; } .dh small { color: var(--mute); font-weight: 400; }
.eta { background: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 800; margin-bottom: 10px; display: flex; flex-direction: column; } .eta small { font-weight: 500; color: var(--mute); }
.freebar { background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; font-size: .9em; font-weight: 600; }
.freebar i { display: block; height: 6px; background: #e7ece8; border-radius: 6px; margin-top: 6px; overflow: hidden; } .freebar i b { display: block; height: 100%; background: var(--g); border-radius: 6px; transition: .3s; }
.clist { background: #fff; border-radius: 12px; padding: 4px 12px; }
.citem { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.citem:last-child { border-bottom: 0; } .citem.oos { opacity: .6; }
.cimg { width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; flex: none; overflow: hidden; } .cimg .emo { font-size: 32px; } .cimg img { width: 100%; height: 100%; object-fit: cover; }
.cinfo { flex: 1; display: flex; flex-direction: column; min-width: 0; } .cinfo small { color: var(--mute); }
.bill { background: #fff; border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.brow { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .93em; } .brow s { color: var(--mute); }
.brow.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-size: 1.05em; } .brow.green { color: var(--g); font-weight: 600; }
.free { color: var(--g); font-style: normal; font-weight: 700; }
.saved { background: var(--gl); color: var(--g); font-weight: 700; padding: 8px 10px; border-radius: 8px; margin-top: 8px; text-align: center; font-size: .9em; }
.cancelpol { font-size: .8em; color: var(--mute); padding: 0 4px 10px; }
.ctafix { position: sticky; bottom: 0; background: var(--bg); padding: 10px 0 16px; margin-top: auto; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
.co-sec { background: #fff; border-radius: var(--rad); padding: 16px; margin-bottom: 12px; box-shadow: var(--sh); }
.co-sec h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05em; }
.co-sec h3 span { width: 26px; height: 26px; border-radius: 50%; background: var(--gl); color: var(--g); display: inline-grid; place-items: center; font-size: .85em; flex: none; }
.radios { display: grid; gap: 8px; } .radios.two { grid-template-columns: 1fr 1fr; }
.rcard { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; }
.rcard.on { border-color: var(--g); background: #f6fbf8; } .rcard.dis { opacity: .5; cursor: not-allowed; }
.rcard input { margin-top: 4px; accent-color: var(--g); } .rcard p { margin: 2px 0 0; color: var(--ink2); font-size: .88em; }
.slotpick { margin-top: 12px; }
.seg { display: inline-flex; background: #eef2ee; border-radius: 10px; padding: 3px; margin-bottom: 10px; }
.seg button { border: 0; background: none; padding: 6px 16px; border-radius: 8px; font-weight: 700; }
.seg button.on { background: #fff; box-shadow: var(--sh); color: var(--g); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px; font-weight: 600; }
.slot.on { border-color: var(--g); background: var(--gl); color: var(--g); }
.applied { background: var(--gl); border-radius: 10px; padding: 10px 12px; }
.tips { display: flex; gap: 8px; flex-wrap: wrap; }
.co-side { position: sticky; top: 80px; }
.co-items { background: #fff; border-radius: 12px; padding: 12px 14px; max-height: 300px; overflow: auto; }
.mini-item { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f0f3f0; font-size: .92em; align-items: center; }
.mini-item:last-of-type { border-bottom: 0; } .mini-item small { color: var(--mute); } .mini-item.click { cursor: pointer; } .mini-item.click:hover { background: #f8faf8; }

/* orders */
.olist { display: grid; gap: 10px; max-width: 760px; }
.ocard { background: #fff; border-radius: var(--rad); padding: 14px; color: var(--ink); box-shadow: var(--sh); display: block; }
.ohead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.oemo { display: flex; gap: 4px; margin: 10px 0; flex-wrap: wrap; } .oemo span { width: 40px; height: 40px; border-radius: 10px; background: #f3f6f3; display: grid; place-items: center; font-size: 22px; }
.ofoot { display: flex; justify-content: space-between; color: var(--ink2); font-size: .9em; }
.ratehint { display: inline-block; margin-top: 8px; color: #b26b00; font-weight: 700; font-size: .88em; }
.success { text-align: center; background: linear-gradient(135deg, #e8f5ec, #fff7d6); border-radius: 18px; padding: 24px; margin-bottom: 16px; }
.success span { font-size: 54px; } .success h2 { margin: 6px 0; color: var(--g); }
.ordpage { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.ostatus { background: var(--g); color: #fff; border-radius: 18px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.ostatus.canc { background: #7a2b25; } .ostatus small { opacity: .85; } .ostatus h2 { margin: 6px 0 2px; font-size: 1.5em; } .ostatus p { margin: 0; opacity: .92; }
.bigemo { font-size: 56px; }
.track { display: flex; background: #fff; border-radius: 14px; padding: 16px 10px; margin-bottom: 12px; box-shadow: var(--sh); }
.tstep { flex: 1; text-align: center; position: relative; font-size: .78em; color: var(--mute); font-weight: 600; }
.tstep i { display: block; width: 16px; height: 16px; border-radius: 50%; background: #dfe5e0; margin: 0 auto 6px; position: relative; z-index: 1; border: 3px solid #fff; box-shadow: 0 0 0 1px #dfe5e0; }
.tstep::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 3px; background: #dfe5e0; }
.tstep:first-child::before { display: none; }
.tstep.done { color: var(--g); } .tstep.done i { background: var(--g); box-shadow: 0 0 0 1px var(--g); } .tstep.done::before { background: var(--g); }
.tstep.cur i { box-shadow: 0 0 0 4px rgba(11, 122, 59, .25); }
.otpbox { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--y2); border: 1.5px dashed #e3b52b; border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; }
.otpbox p { margin: 2px 0 0; font-size: .86em; color: var(--ink2); } .otp { font-size: 30px; font-weight: 900; letter-spacing: 6px; color: var(--ink); }
.riderbox { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; box-shadow: var(--sh); }
.riderbox div { flex: 1; } .riderbox p { margin: 0; color: var(--mute); font-size: .88em; }
.ravatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gl); display: grid; place-items: center; font-size: 24px; }
.fbform, .fbdone { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 12px; box-shadow: var(--sh); }
.rateline { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.starpick button { border: 0; background: none; font-size: 30px; color: #d8dcd9; padding: 0 2px; } .starpick button.on { color: #f5a623; }
.fbform .btn { margin-top: 10px; }
.oactions { display: grid; gap: 8px; }

/* account */
.acct { max-width: 760px; }
.profile { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--rad); padding: 16px; box-shadow: var(--sh); margin-bottom: 12px; }
.profile > div { flex: 1; min-width: 0; } .profile h2 { margin: 0; } .profile p { margin: 2px 0 0; color: var(--mute); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; flex: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div { background: #fff; border-radius: 12px; padding: 12px; text-align: center; box-shadow: var(--sh); } .stats b { display: block; font-size: 1.3em; color: var(--g); } .stats span { color: var(--mute); font-size: .85em; }
.addr { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; box-shadow: var(--sh); }
.addr div { flex: 1; } .addr p { margin: 2px 0 0; color: var(--ink2); font-size: .9em; }
.alinks { display: grid; background: #fff; border-radius: var(--rad); overflow: hidden; margin-top: 16px; box-shadow: var(--sh); }
.alinks a, .alinks button { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; color: var(--ink); font-weight: 600; }
.alinks > :last-child { border-bottom: 0; }
.faq details { background: #fff; border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; box-shadow: var(--sh); }
.faq summary { font-weight: 700; cursor: pointer; } .faq p { margin: 8px 0 0; color: var(--ink2); }
.contact { display: flex; gap: 10px; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.login { padding: 26px 22px 20px; } .lhead { text-align: center; margin-bottom: 16px; } .lhead h2 { margin: 10px 0 4px; } .lhead p { margin: 0; color: var(--mute); }
.otpinp { text-align: center; font-size: 1.6em; letter-spacing: 10px; margin: 10px 0; }
.pins { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lbls { margin-bottom: 12px; }
.foot { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; color: var(--ink2); font-size: .92em; }
.foot b { display: block; color: var(--ink); margin-bottom: 6px; } .foot a { display: block; color: var(--ink2); padding: 2px 0; }
.copy { grid-column: 1 / -1; color: var(--mute); font-size: .85em; padding-bottom: 10px; }

/* =================== ADMIN =================== */
.alogin, .rlogin { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: linear-gradient(135deg, #0b7a3b, #064d24); }
.alcard { background: #fff; border-radius: 20px; padding: 28px 24px; width: 100%; max-width: 380px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.alcard h2 { text-align: center; margin-bottom: 18px; } .alcard .linkbtn { display: block; margin: 12px auto 0; }
.adm { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side { background: #0f2117; color: #cfe0d5; position: sticky; top: 0; height: 100vh; overflow: auto; display: flex; flex-direction: column; }
.side-logo { display: flex; align-items: center; gap: 8px; padding: 18px 16px; color: #fff; font-weight: 800; font-size: 20px; }
.side-logo small { background: var(--y); color: var(--ink); font-size: 11px; padding: 1px 6px; border-radius: 6px; margin-left: 4px; }
.side nav { display: flex; flex-direction: column; padding: 0 8px; gap: 2px; }
.side nav a { color: #cfe0d5; padding: 9px 12px; border-radius: 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.side nav a:hover { background: rgba(255,255,255,.06); } .side nav a.on { background: var(--g); color: #fff; }
.side nav a em { margin-left: auto; background: var(--y); color: var(--ink); font-style: normal; font-size: .75em; font-weight: 800; padding: 0 7px; border-radius: 10px; }
.side nav a em:empty { display: none; }
.side-foot { margin-top: auto; padding: 14px 16px; display: grid; gap: 6px; } .side-foot a { color: #9fb8a8; font-size: .9em; }
.amain { min-width: 0; }
.atop { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 10px 20px; }
.atop h1 { font-size: 1.25em; margin: 0; flex: 1; }
.atop-r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.who { font-weight: 600; } .who small { color: var(--mute); }
.iconbtn { display: none; border: 0; background: none; font-size: 22px; padding: 4px 8px; }
.view { padding: 20px; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .inp { width: auto; min-width: 160px; } .toolbar #oq, .toolbar #pq, .toolbar #cq { flex: 1; min-width: 200px; }
.stats4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stats4.small { grid-template-columns: repeat(4, 1fr); }
.stat { background: #fff; border-radius: var(--rad); padding: 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--sh); border-left: 4px solid var(--g); }
.stat.warn { border-left-color: #f0a500; } .stat > span { font-size: 28px; }
.stat small { color: var(--mute); display: block; font-weight: 600; } .stat b { font-size: 1.4em; display: block; line-height: 1.2; } .stat em { font-style: normal; color: var(--mute); font-size: .82em; }
.dgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 180px; padding-top: 20px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 6px; font-size: .78em; color: var(--mute); }
.bar i { width: 100%; max-width: 46px; background: linear-gradient(var(--g), #36a865); border-radius: 8px 8px 3px 3px; position: relative; min-height: 2px; }
.bar i em { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .9em; color: var(--ink2); white-space: nowrap; }
.tablewrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9em; }
.tbl th { text-align: left; background: #f7f9f7; color: var(--ink2); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; }
.tbl td { padding: 9px 12px; border-bottom: 1px solid #eef2ee; vertical-align: middle; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: #f7fbf8; }
.tbl tr.hl td { background: #f2f7ff; } .tbl small { color: var(--mute); }
.ptbl .inp.num { width: 90px; padding: 6px 8px; } .ptbl .inp.strong { font-weight: 800; border-color: #9cc9ad; }
.ptbl tr.edited td { background: #fffbe6; } .muted-row { opacity: .55; }
.pe { font-size: 22px; margin-right: 8px; vertical-align: middle; }
.bulk { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; }
.odetail .ohead { margin-bottom: 14px; padding-right: 40px; } .odetail .ohead h2 { margin: 0; }
.ogrid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.ogrid .card { box-shadow: none; border: 1px solid var(--line); }
.tl { list-style: none; padding: 0; margin: 0; } .tl li { padding: 6px 0 6px 18px; border-left: 2px solid var(--gl); position: relative; }
.tl li::before { content: ''; position: absolute; left: -6px; top: 11px; width: 10px; height: 10px; background: var(--g); border-radius: 50%; }
.tl small { display: block; color: var(--mute); }
.fbrow { padding: 10px 0; border-bottom: 1px solid var(--line); } .fbrow p { margin: 4px 0; } .fblist .fbrow { border-bottom: 0; padding: 14px 16px; }
.quote { color: var(--ink2); font-style: italic; }
.dist div { display: grid; grid-template-columns: 36px 1fr 40px; align-items: center; gap: 8px; margin: 4px 0; }
.dist i { height: 10px; background: #eef2ee; border-radius: 6px; overflow: hidden; } .dist i b { display: block; height: 100%; background: #f5a623; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.rstats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 12px 0 6px; text-align: center; }
.rstats b { display: block; font-size: 1.05em; } .rstats span { font-size: .72em; color: var(--mute); }
.bannered { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.fgrid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.feat { display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 0; border: 1.5px solid transparent; }
.feat.on { border-color: #9cc9ad; } .feat > div { flex: 1; } .feat p { margin: 2px 0 0; color: var(--mute); font-size: .86em; }

/* =================== RIDER APP =================== */
.rapp { max-width: 640px; margin: 0 auto; min-height: 100vh; background: var(--bg); }
.rtop { position: sticky; top: 0; z-index: 20; background: var(--g); color: #fff; display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.rtop > div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; } .rtop small { opacity: .85; } .rtop b { font-size: 1.15em; }
.rtop .switch span { font-weight: 700; } .rtop .switch input:checked + i { background: var(--y); }
.rtop .iconbtn { display: block; color: #fff; }
.rtabs { display: flex; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 56px; z-index: 19; }
.rtabs button { flex: 1; border: 0; background: none; padding: 12px 6px; font-weight: 700; color: var(--mute); border-bottom: 3px solid transparent; }
.rtabs button.on { color: var(--g); border-bottom-color: var(--g); }
.rtabs b { background: var(--gl); color: var(--g); border-radius: 10px; padding: 0 7px; font-size: .85em; }
.rbody { padding: 12px; }
.rorder .slotline { margin: 4px 0 10px; font-weight: 700; color: var(--o); }
.rorder .cust p { margin: 2px 0 10px; color: var(--ink2); }
.rorder .row .btn { flex: 1; }
.rorder details { margin: 10px 0; } .rorder summary { cursor: pointer; font-weight: 600; color: var(--g); }
.note { background: var(--y2); border-radius: 8px; padding: 8px 10px; margin: 10px 0 0; }
.paybox { background: var(--gl); color: var(--g); border-radius: 10px; padding: 10px 12px; margin: 10px 0; font-weight: 600; display: flex; flex-direction: column; }
.paybox.cod { background: #fff1d6; color: #7a4f00; } .paybox b { font-size: 1.2em; } .paybox small { font-weight: 500; }
.ractions { display: flex; gap: 8px; flex-wrap: wrap; } .ractions .btn { flex: 1; }
.ractions p { width: 100%; margin: 4px 0 0; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .checkout, .ordpage { grid-template-columns: 1fr; } .co-side { position: static; }
  .dgrid { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 250px; z-index: 60; transform: translateX(-100%); transition: .2s; }
  .side.open { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.4); }
  .iconbtn { display: block; } .view { padding: 14px; } .atop { padding: 10px 12px; }
  .atop .who { display: none; } .atop h1 { font-size: 1.05em; }
  .ogrid, .fgrid { grid-template-columns: 1fr; } .stats4.small { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; padding: 16px; } .pdimg { min-height: 200px; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .hdr-in { flex-wrap: wrap; gap: 8px 10px; padding: 8px 12px; }
  .logo { font-size: 19px; } .lm { width: 30px; height: 30px; font-size: 17px; }
  .locbtn { flex: 1; } .search { order: 10; flex-basis: 100%; }
  .acctbtn, .cartbtn { display: none; }
  #bnav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  #bnav a { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 6px 0 7px; color: var(--mute); font-size: .74em; font-weight: 700; }
  #bnav a span { font-size: 20px; } #bnav a.on { color: var(--g); }
  #cartbar { display: block; bottom: 58px; }
  #app { padding: 12px 12px 150px; }
  #toast { bottom: 140px; }
  body[data-view="checkout"] #app { padding-bottom: 90px; }
  .banner { min-height: 140px; padding: 16px; } .banner h2 { font-size: 1.15em; } .bemo { font-size: 64px; }
  .banners { grid-auto-columns: 86%; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; } .cat { padding: 10px; min-height: 104px; } .cat span { font-size: 34px; } .cat b { font-size: .95em; }
  .hscroll { grid-auto-columns: 150px; gap: 8px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .catpage { grid-template-columns: 82px 1fr; gap: 8px; }
  .subnav { top: 106px; } .subnav a { flex-direction: column; text-align: center; padding: 8px 4px; font-size: .72em; gap: 4px; border-left: 0; border-right: 3px solid transparent; }
  .subnav a.on { border-right-color: var(--g); } .se { width: 44px; height: 44px; }
  .catmain .grid { grid-template-columns: repeat(2, 1fr); }
  .pimg { height: 96px; } .emo { font-size: 52px; }
  .pinfo { padding: 2px 8px 8px; } .add { padding: 4px 10px; } .stepper button { width: 26px; height: 28px; }
  .radios.two { grid-template-columns: 1fr; }
  .mwrap { padding: 0; align-items: flex-end; }
  .modal { border-radius: 18px 18px 0 0; max-height: 92vh; }
  .mwrap.drawer .modal { max-width: 100%; }
  .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; }
  .ostatus h2 { font-size: 1.25em; } .bigemo { font-size: 42px; }
  .tstep { font-size: .66em; }
  .invite { flex-direction: column; text-align: center; }
  .rstats { grid-template-columns: repeat(3, 1fr); }
}
@media print { #hdr, #bnav, #cartbar, .ann-bar { display: none !important; } }
