:root { --ink:#1B1B1F; --muted:#57534E; --bg:#F6F7F2; --brand:#FFE14D; --g:#16A34A; --gl:#DCFCE7; font-family: 'Segoe UI', Roboto, 'Noto Sans Telugu', system-ui, sans-serif }
* { box-sizing: border-box } body { margin: 0; background: var(--bg); color: var(--ink) } button, input, textarea { font: inherit; color: inherit }
button { cursor: pointer } button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px }
.head { background: var(--brand); padding: 14px 16px 12px; position: sticky; top: 0; z-index: 5 }
.eta { font-size: 13px; font-weight: 800; letter-spacing: .3px } .eta b { font-size: 24px; display: block; letter-spacing: 0 }
.addr { border: 0; background: none; padding: 0; font-weight: 700; font-size: 14px; text-align: left; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.search { margin-top: 10px; width: 100%; border: 0; border-radius: 12px; padding: 13px 14px; font-size: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08) }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 12px 110px }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none } .cats::-webkit-scrollbar { display: none }
.cat { border: 0; border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: 14px; background: #fff; white-space: nowrap } .cat.sel { background: var(--ink); color: #fff }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px }
.p { position: relative; background: #fff; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.06) }
.pic { aspect-ratio: 1.25; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: rgba(0,0,0,.55) }
.eta-chip { font-size: 11px; font-weight: 800; background: #F5F5F4; border-radius: 6px; padding: 2px 6px; align-self: flex-start }
.pn { font-weight: 700; font-size: 14px; line-height: 1.25; min-height: 2.5em } .pu { color: var(--muted); font-size: 12px }
.pr { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto } .pr b { font-size: 15px } .pr s { color: var(--muted); font-size: 12px; display: block }
.off { position: absolute; background: #2563EB; color: #fff; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 8px 0 8px 0 }
.add { border: 2px solid var(--g); color: var(--g); background: #fff; border-radius: 10px; font-weight: 800; padding: 7px 16px; min-height: 40px }
.step { display: flex; align-items: center; background: var(--g); color: #fff; border-radius: 10px; min-height: 40px } .step button { border: 0; background: none; color: #fff; font-weight: 800; font-size: 18px; width: 34px; height: 40px } .step span { min-width: 22px; text-align: center; font-weight: 800 }
.oos { color: #B91C1C; font-size: 12px; font-weight: 700 }
.cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 956px; margin: 0 auto; background: var(--g); color: #fff; border: 0; border-radius: 14px; padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; box-shadow: 0 6px 18px rgba(22,163,74,.35); z-index: 6 }
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 10; display: flex; align-items: flex-end; justify-content: center }
.sheet { background: var(--bg); width: min(640px, 100%); max-height: 92vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 16px 14px 24px }
.card { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0 }
.in { width: 100%; border: 2px solid #E7E5E4; border-radius: 12px; padding: 12px; font-size: 16px; background: #fff } label { display: block; font-weight: 700; font-size: 13px; margin: 10px 0 4px; color: #44403C }
.big { width: 100%; border: 0; border-radius: 14px; padding: 15px; font-weight: 800; font-size: 16px; background: var(--g); color: #fff } .big.dark { background: var(--ink); color: var(--brand) } .big.light { background: #fff; color: var(--ink); border: 2px solid #E7E5E4 }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px } .pay label { margin: 0; border: 2px solid #E7E5E4; border-radius: 12px; padding: 12px; display: flex; gap: 8px; align-items: center; background: #fff } .pay label.sel { border-color: var(--g); background: var(--gl) }
.save { background: var(--gl); color: #14532D; border-radius: 10px; padding: 9px 12px; font-weight: 800 }
.steps { list-style: none; padding: 0; margin: 0 } .steps li { display: flex; gap: 12px; align-items: center; padding: 10px 0; color: #A8A29E; font-weight: 700 } .steps li.done { color: var(--ink) } .steps li i { width: 26px; height: 26px; border-radius: 50%; background: #E7E5E4; display: flex; align-items: center; justify-content: center; font-style: normal; color: #fff; font-size: 13px } .steps li.done i { background: var(--g) }
.stores .card { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; border: 0; text-align: left }
.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 700; z-index: 20; max-width: 90vw }
.empty { text-align: center; color: var(--muted); padding: 40px 14px; font-weight: 600 }
.hero { text-align: center; padding: 40px 16px } .hero h1 { font-size: 26px; margin: 10px 0 } .logo { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 30px }
.muted { color: var(--muted); font-size: 13px }
img.pic { width: 100%; aspect-ratio: 1.25; object-fit: contain; border-radius: 12px; background: #fff; display: block }
.bigpic { width: 100%; max-height: 300px; aspect-ratio: 1.3; object-fit: contain; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 60px; font-weight: 800; color: rgba(0,0,0,.5) }
.mini { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: #fff; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 800; color: rgba(0,0,0,.5) }
.deal { font-size: 11px; font-weight: 800; background: #EDE9FE; color: #5B21B6; border-radius: 6px; padding: 2px 6px; align-self: flex-start }
.chipbtn { border: 0; background: rgba(255,255,255,.75); border-radius: 999px; padding: 8px 12px; font-weight: 800; min-width: 40px; min-height: 40px }
.offers { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 0; scrollbar-width: none } .offers::-webkit-scrollbar { display: none }
.offer { flex: none; background: #EDE9FE; color: #3B0764; border-radius: 12px; padding: 10px 12px; font-size: 13px; max-width: 260px } .offer b { margin-right: 6px } .offer.coupon { background: #DCFCE7; color: #14532D }
.sec { margin: 14px 0 8px; font-size: 17px }
.hrow { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none } .hrow::-webkit-scrollbar { display: none }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px } .slot { margin: 0; border: 2px solid #E7E5E4; border-radius: 12px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; background: #fff; font-size: 14px } .slot.sel { border-color: var(--g); background: var(--gl) }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px } .cpn { border: 1px dashed #16A34A; background: #F0FDF4; border-radius: 10px; padding: 8px 10px; font-size: 13px; text-align: left }
.linkish { border: 0; background: none; padding: 0; text-align: left; color: #1D4ED8; font-weight: 800 }
.addrcard { display: flex; justify-content: space-between; align-items: center; gap: 10px } .addrcard .linkish { color: inherit; font-weight: 400; flex: 1 } .addrcard.sel { outline: 3px solid var(--g) }
.otp { background: var(--ink); color: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px } .otp span { font-size: 13px; color: #D6D3D1 } .otp b { font-size: 30px; letter-spacing: 4px; color: var(--brand) }
.map { height: 260px; border-radius: 16px; overflow: hidden; margin-bottom: 10px; background: #E7E5E4 }
.mk span { display: flex; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); align-items: center; justify-content: center; font-size: 20px }
.warnbox { background: #FFF7ED }
.stars { display: flex; gap: 4px; margin: 8px 0 } .stars button { border: 0; background: none; font-size: 34px; color: #F59E0B; padding: 0 2px; min-width: 44px; min-height: 44px }
.tag { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; background: #F5F5F4 } .tag.delivered { background: var(--gl); color: #14532D } .tag.cancelled { background: #FEE2E2; color: #7F1D1D } .tag.out, .tag.packed { background: #DBEAFE; color: #1E3A8A }
.pbtn { border: 0; background: none; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 6px; width: 100% } .pbtn .pn, .pbtn .pu { display: block }
.slotsel { border: 0; background: transparent; font: inherit; font-weight: 700; flex: 1; min-width: 0 }

.modes2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px } .modes2 button { border: 2px solid #E7E5E4; background: #fff; border-radius: 14px; padding: 12px; font-weight: 800; text-align: left } .modes2 button.sel { border-color: var(--g); background: var(--gl) } .modes2 small { display: block; font-weight: 600; color: var(--muted) }
.gsearch { margin: 8px 0 } .gsearch gmp-place-autocomplete { width: 100% }
.gwrap { position: relative; height: 260px; border-radius: 14px; overflow: hidden; background: #E7E5E4 } .gmap { position: absolute; inset: 0 }
.gpin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); font-size: 38px; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)) }
.pininfo { background: #F5F5F4; border-radius: 10px; padding: 10px 12px; font-size: 14px } .okline { color: #15803D; font-weight: 800 }

/* not in delivery range: Blinkit-style notice, still browse & pickup */
.far { display: flex; align-items: center; gap: 12px; background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 16px; padding: 12px 14px; margin: 12px 0 4px }
.far-i { width: 40px; height: 40px; border-radius: 12px; background: #FFEDD5; display: grid; place-items: center; font-size: 20px; flex: none }
.far > div:not(.far-i) { flex: 1; min-width: 0 } .far b { display: block; font-size: 14px; color: #7C2D12 } .far span { display: block; font-size: 12.5px; color: #9A3412; line-height: 1.4 }
.far button { flex: none; border: 1.5px solid #EA580C; color: #C2410C; background: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 800; font-size: 13px; cursor: pointer }
.soon { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 22px; background: linear-gradient(180deg, var(--brand, #FACC15) 0 34%, #F7F7F2 34%) }
.soon-art { width: 150px; height: 150px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 76px; box-shadow: 0 14px 36px rgba(0,0,0,.12); margin-bottom: 22px }
.soon h1 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.3px } .soon p { max-width: 360px; margin: 0 auto }
.soon .big { width: 100% }
.soon .near-card { margin-top: 18px; width: 100%; max-width: 360px; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid #E7E5E4; border-radius: 16px; padding: 12px 14px; cursor: pointer; font: inherit }
.soon .near-card b { display: block } .soon .near-card span { color: #78716C; font-size: 13px }
.soon .near-card em { margin-left: auto; font-style: normal; font-weight: 800; color: #15803D }

/* ===== Blinkit / Zepto style browsing (v2) ===== */
:root { --g: #0C831F; --gb: #318616; font-family: 'Inter', 'Segoe UI', Roboto, 'Noto Sans Telugu', system-ui, sans-serif }
body { background: #F4F6FB; font-size: 14px; -webkit-font-smoothing: antialiased }
.head { background: linear-gradient(180deg, var(--brand) 0%, #FFE98A 100%); padding: 12px 14px 12px; box-shadow: 0 1px 0 rgba(0,0,0,.04) }
.eta { font-size: 11px; font-weight: 700; letter-spacing: .4px; color: #3A3A3A } .eta b { font-size: 25px; font-weight: 800; letter-spacing: -.6px; line-height: 1.15; color: #111; margin-top: 1px }
.addr { font-size: 13px; font-weight: 600; color: #222; margin-top: 2px }
.addr::first-letter { text-transform: uppercase }
.chipbtn { background: #fff; min-width: 38px; min-height: 38px; padding: 6px 10px; font-size: 13px; box-shadow: 0 1px 3px rgba(0,0,0,.1) }
.search { margin-top: 10px; border: 1px solid #E5E7EB; border-radius: 12px; padding: 11px 14px; font-size: 14.5px; box-shadow: none }
.search::placeholder { color: #6B7280 }
.wrap { padding: 0 12px 110px }
.far { gap: 10px; background: #FFF4E5; border: 0; border-radius: 12px; padding: 9px 12px; margin: 10px 0 2px; font-size: 18px }
.far > div:not(.far-i) b { font-size: 13px; color: #92400E } .far > div:not(.far-i) span { font-size: 12px; color: #B45309 }
.far button { border: 0; background: none; color: #EA580C; padding: 6px 2px; font-size: 13px }
.offers { gap: 10px; padding-top: 12px }
.offer { width: 74%; max-width: 300px; min-height: 92px; border-radius: 16px; padding: 12px 14px; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 2px; background: linear-gradient(135deg, #7C3AED, #4F46E5) }
.offer.o1 { background: linear-gradient(135deg, #F97316, #E11D48) } .offer.o2 { background: linear-gradient(135deg, #0EA5E9, #2563EB) }
.offer.coupon { background: linear-gradient(135deg, #16A34A, #0C831F); color: #fff }
.offer small { font-size: 10.5px; font-weight: 700; letter-spacing: .6px; opacity: .85 } .offer b { font-size: 18px; font-weight: 800; margin: 0; letter-spacing: -.2px } .offer span { font-size: 12px; opacity: .92; line-height: 1.35 }
.sec { margin: 18px 0 10px; font-size: 16.5px; font-weight: 800; letter-spacing: -.2px }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px }
.tile { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px }
.tile-pic { width: 100%; aspect-ratio: 1; border-radius: 14px; background: #E8F3F7; display: grid; place-items: center; padding: 8px; overflow: hidden }
.tile-pic img.pic, .tile-pic .pic { aspect-ratio: 1; background: transparent; border-radius: 0; font-size: 18px; width: 100% }
.tile-n { font-size: 11.5px; font-weight: 600; text-align: center; line-height: 1.25; color: #1F2937 }
.cats { padding: 14px 0 2px; gap: 8px }
.cat { font-size: 13px; font-weight: 600; padding: 7px 13px; background: #fff; border: 1px solid #E5E7EB } .cat.sel { background: #111; border-color: #111 }
.grid { grid-template-columns: repeat(3, 1fr); gap: 8px }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px } .tiles { grid-template-columns: repeat(8, 1fr) } }
.p { border-radius: 12px; padding: 8px; gap: 4px; box-shadow: none; border: 1px solid #ECEDEF }
.pbtn { gap: 4px }
img.pic, .pic { aspect-ratio: 1; border-radius: 8px; padding: 4px }
.off { top: 0; left: 8px; background: #256FEF; font-size: 9.5px; font-weight: 800; padding: 3px 5px 4px; border-radius: 0 0 6px 6px; z-index: 1; line-height: 1.1 }
.eta-chip { font-size: 9px; font-weight: 800; background: #F2F2F2; color: #374151; border-radius: 4px; padding: 2px 5px; letter-spacing: .2px }
.deal { font-size: 9.5px; padding: 2px 5px; border-radius: 4px }
.pn { font-size: 12.5px; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #1F1F1F }
.pu { font-size: 11px; color: #6B7280; min-height: 1.3em }
.pr { gap: 4px; margin-top: 4px } .pr b { font-size: 12.5px; font-weight: 800 } .pr s { font-size: 10.5px; color: #9CA3AF }
.add { border: 1px solid var(--gb); color: var(--gb); background: #F7FFF9; border-radius: 8px; font-size: 12.5px; font-weight: 800; padding: 0; min-height: 31px; min-width: 58px; letter-spacing: .3px }
.step { background: var(--gb); border-radius: 8px; min-height: 31px; min-width: 58px } .step button { width: 22px; height: 31px; font-size: 15px } .step span { min-width: 14px; font-size: 12.5px }
.hrow { grid-auto-columns: calc((100% - 16px) / 3); gap: 8px }
@media (min-width: 640px) { .hrow { grid-auto-columns: 165px } }
.cartbar { background: var(--g); border-radius: 12px; padding: 9px 14px; box-shadow: 0 8px 20px rgba(12,131,31,.35); left: 10px; right: 10px }
.cb-l { display: flex; align-items: center; gap: 10px } .cb-l i { font-style: normal; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 17px }
.cb-l span { display: flex; flex-direction: column; text-align: left; line-height: 1.2 } .cb-l small { font-size: 11px; font-weight: 600; opacity: .9 } .cb-l b { font-size: 14.5px }
.cb-r { font-size: 15px; font-weight: 800 }
.big { border-radius: 12px; font-size: 15px }
