/* CheyMart — mobile-first app styles */
:root{
	--forest:#4C1D95;--leaf:#6D28D9;--harvest:#FF9A5C;--bg:#F6F4FB;--surface:#fff;--text:#1E1B2E;--muted:#625B78;
	--err:#DC2626;--ok:#15803D;--line:#E8E3F3;--tint:#F0EBFF;--r:18px;--r-sm:12px;
	--g1:#4C1D95;--g2:#6A21B5;--g3:#7220C0;--pink:#F94708;--pink-d:#D63C05;
	--grad:linear-gradient(135deg,#4C1D95 0%,#5E20AB 50%,#7220C0 100%);
	--sh:0 1px 2px rgba(76,29,149,.06),0 6px 18px rgba(76,29,149,.08);
	--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px);--bn:64px;
	--font:Manrope,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:500 15px/1.45 var(--font);overflow-x:hidden;padding-bottom:calc(var(--bn) + var(--sab) + 8px);-webkit-tap-highlight-color:transparent}
img,svg{max-width:100%}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,p{margin:0}
:focus-visible{outline:3px solid var(--harvest);outline-offset:2px;border-radius:8px}
[hidden]{display:none!important}
.ic{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.brand-ic,.boot-mark .ic{stroke:none}
.skip{position:absolute;left:-999px;top:8px;background:var(--forest);color:#fff;padding:10px 14px;border-radius:10px;z-index:100}
.skip:focus{left:8px}

/* boot / launch */
#boot{position:fixed;inset:0;z-index:200;background:var(--forest);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;animation:bootout .3s ease 3.5s forwards;transition:opacity .2s}
#boot.done{opacity:0;pointer-events:none}
.boot-mark .ic{width:84px;height:84px}
#boot b{font-size:22px;letter-spacing:.2px;margin-top:10px}#boot span{opacity:.75;font-size:13px}
@keyframes bootout{to{opacity:0;visibility:hidden;pointer-events:none}}

/* top bar */
.topbar{position:sticky;top:0;z-index:40;background:var(--forest);color:#fff;padding:calc(var(--sat) + 10px) 14px 12px}
.top-row{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:10px 12px;align-items:center}
.brand{display:none;align-items:center;gap:10px;font-weight:600;font-size:18px}
.brand b{color:var(--harvest);font-weight:800}
.brand-ic{width:34px;height:34px}
.loc{display:flex;align-items:center;gap:8px;background:none;border:0;color:#fff;text-align:left;padding:2px;min-width:0}
.loc span{display:flex;flex-direction:column;line-height:1.15;min-width:0}.loc small{opacity:.7;font-size:11px;font-weight:600}.loc b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.loc .ic:last-child{transform:rotate(90deg);width:16px;height:16px}
.searchbar{grid-column:1/-1;position:relative;display:flex;align-items:center;background:#fff;color:var(--text);border-radius:14px;padding:0 12px;height:46px}
.searchbar .ic{color:var(--muted);width:20px;height:20px}
.searchbar input{flex:1;border:0;background:none;outline:0;padding:0 10px;height:100%;min-width:0;font-size:16px}
.sugg{position:absolute;left:0;right:0;top:calc(100% + 6px);background:#fff;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.2);overflow:hidden;z-index:60;max-height:60vh;overflow-y:auto}
.sugg a{display:flex;align-items:center;gap:12px;padding:11px 14px;border-bottom:1px solid var(--line)}
.sugg a:last-child{border:0}.sugg a:hover,.sugg a[aria-selected=true]{background:var(--tint)}.sugg small{color:var(--muted);margin-left:auto}
.dnav{display:none}
.bell{position:relative;width:40px;height:40px;display:grid;place-items:center;color:#fff;border-radius:12px}.bell .badge{top:2px;right:0}.bell-d{display:none}
.inbox-item{display:block}.inbox-item+.inbox-item{margin-top:8px}.inbox-item.unread{border-left:4px solid var(--harvest)}.inbox-item b{display:block}
.badge{position:absolute;top:-6px;right:-8px;min-width:18px;height:18px;border-radius:9px;background:var(--harvest);color:var(--forest);font:800 11px/18px var(--font);text-align:center;padding:0 5px;font-style:normal}
body[data-route=apply] .searchbar,body[data-route=legal] .searchbar,body[data-route=product] .searchbar,body[data-route=cart] .searchbar,body[data-route=checkout] .searchbar,body[data-route=placed] .searchbar,body[data-route=orders] .searchbar,body[data-route=order] .searchbar,body[data-route=account] .searchbar,body[data-route=login] .searchbar,body[data-route=wishlist] .searchbar,body[data-route=merchant] .searchbar,body[data-route=delivery] .searchbar{display:none}

.offbar{background:#fff3cd;color:#664d03;padding:8px 14px;display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600}.offbar .ic{width:18px;height:18px}

/* layout */
#view{max-width:1200px;margin:0 auto;padding:14px 14px 24px;outline:0;min-height:60vh}
section{margin-top:22px}section:first-child{margin-top:0}
.sec-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px;gap:10px}
.sec-h h2{font-size:18px;font-weight:800;letter-spacing:-.2px}.sec-h a,.sec-h button{color:var(--leaf);font-weight:700;font-size:13px;background:none;border:0;padding:4px}
.page h1,.h1{font-size:22px;font-weight:800;letter-spacing:-.3px;margin-bottom:12px}
.prose{background:#fff;padding:20px;border-radius:var(--r);box-shadow:var(--sh)}
.muted{color:var(--muted)}.small{font-size:13px}.row{display:flex;gap:10px;align-items:center}.grow{flex:1}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.mt{margin-top:14px}
.card{background:var(--surface);border-radius:var(--r);box-shadow:var(--sh);padding:14px}
.tag{display:inline-block;font-size:11px;font-weight:800;padding:3px 8px;border-radius:8px;background:var(--tint);color:var(--forest)}
.tag.demo{background:#fff3cd;color:#664d03}.tag.ok{background:#dff3e6;color:#17663d}.tag.err{background:#fbe3e3;color:#9e2a2a}.tag.warn{background:#fff3cd;color:#664d03}

/* buttons / forms */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:14px;border:0;background:var(--forest);color:#fff;font-weight:800;transition:transform .1s,opacity .15s}
.btn:active:not(:disabled){transform:scale(.97)}
.btn.sec{background:var(--tint);color:var(--forest)}.btn.line{background:#fff;color:var(--forest);border:1.5px solid var(--forest)}.btn.yel{background:var(--harvest);color:var(--forest)}.btn.danger{background:#fff;color:var(--err);border:1.5px solid var(--err)}
.btn.sm{min-height:36px;padding:0 14px;font-size:13px;border-radius:10px}.btn.block{width:100%}
.btn:disabled,.btn[aria-busy=true]{opacity:.5;cursor:not-allowed}
.btn[aria-busy=true]::after{content:"";width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.field{display:block;margin-bottom:12px}.field>span{display:block;font-size:13px;font-weight:700;margin-bottom:5px}
.field input,.field select,.field textarea,.input{width:100%;min-height:46px;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font-size:16px}
.field textarea{min-height:84px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus,.input:focus{border-color:var(--leaf);outline:0;box-shadow:0 0 0 3px rgba(124,58,237,.18)}
.field.bad input,.field.bad textarea,.field.bad select{border-color:var(--err)}
.ferr{color:var(--err);font-size:12.5px;font-weight:600;display:block;margin-top:4px}
.check{display:flex;gap:10px;align-items:center;min-height:36px}.check input{width:20px;height:20px;accent-color:var(--leaf)}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}
.chip{flex:none;padding:8px 14px;border-radius:999px;background:#fff;border:1.5px solid var(--line);font-weight:700;font-size:13px;white-space:nowrap}
.chip[aria-pressed=true],.chip.on{background:var(--forest);color:#fff;border-color:var(--forest)}
.filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.filters .input{min-height:42px;font-size:14px;padding:6px 10px}

/* banners */
.banners{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:var(--r)}.banners::-webkit-scrollbar{display:none}
.banner{flex:0 0 100%;scroll-snap-align:center;min-height:132px;border-radius:var(--r);color:#fff;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:hidden}
.banner h3{font-size:19px;font-weight:800;line-height:1.2;max-width:240px}.banner p{opacity:.85;font-size:13px;margin-top:6px;max-width:240px}.banner .em{font-size:64px;line-height:1}

/* categories */
.cats{display:grid;grid-template-columns:repeat(5,1fr);gap:10px 6px}
.cat{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:11.5px;font-weight:700;line-height:1.2}
.cat i{font-style:normal;width:100%;max-width:64px;aspect-ratio:1;border-radius:18px;background:var(--tint);display:grid;place-items:center;font-size:30px}
.cats.big{grid-template-columns:repeat(3,1fr);gap:14px 10px}.cats.big .cat{font-size:13px}.cats.big i{max-width:none;font-size:40px}

/* products */
.hrow{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 2px 8px;margin:0 -14px;padding-inline:14px;scrollbar-width:none}.hrow::-webkit-scrollbar{display:none}
.hrow>.pc{flex:0 0 140px;scroll-snap-align:start}
.pgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.pgrid.list{grid-template-columns:1fr}.pgrid.list .pc{flex-direction:row}.pgrid.list .pimg{width:110px;aspect-ratio:1;flex:none;border-radius:var(--r) 0 0 var(--r)}
.pc{background:#fff;border-radius:var(--r);box-shadow:var(--sh);display:flex;flex-direction:column;overflow:hidden;position:relative;min-width:0}
.pimg{display:grid;place-items:center;aspect-ratio:1/.82;background:hsl(var(--h,120) 45% 94%);font-size:54px;position:relative;overflow:hidden}
.pimg img{width:100%;height:100%;object-fit:cover}
.off{position:absolute;top:8px;left:8px;background:var(--harvest);color:var(--forest);font:800 11px/1 var(--font);padding:5px 7px;border-radius:7px}
.heart{position:absolute;top:6px;right:6px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.9);display:grid;place-items:center;color:var(--muted)}.heart.on{color:var(--err)}.heart.on .ic{fill:currentColor}
.pb{padding:10px;display:flex;flex-direction:column;gap:2px;flex:1}
.pb h3{font-size:14px;font-weight:700;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pb .u{color:var(--muted);font-size:12px}.pr{display:flex;gap:6px;align-items:baseline;margin:4px 0 8px}.pr b{font-size:15px;font-weight:800}.pr s{color:var(--muted);font-size:12px}
.qc{margin-top:auto}.pb .qc .btn{width:100%;min-height:36px;font-size:13px;border-radius:10px;background:#fff;color:var(--ok);border:1.5px solid var(--ok)}
.pb .qc .btn:disabled{color:var(--muted);border-color:var(--line);background:var(--bg)}
.step{display:flex;align-items:center;justify-content:space-between;height:36px;background:var(--ok);color:#fff;border-radius:10px;overflow:hidden}
.step button{width:40px;height:100%;border:0;background:none;color:#fff;display:grid;place-items:center}.step .ic{width:18px;height:18px}.step span{font-weight:800}
.low{color:#b45309;font-size:11.5px;font-weight:700}

/* stores */
.sgrid{display:grid;grid-template-columns:1fr;gap:12px}
.sc{display:flex;gap:12px;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;align-items:center}
.sc.closed{opacity:.72}
.em{width:64px;height:64px;flex:none;border-radius:16px;background:hsl(var(--h,120) 45% 93%);display:grid;place-items:center;font-size:32px}
.sc h3{font-size:15px;font-weight:800}.sc p{font-size:12.5px;color:var(--muted)}.meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12.5px;font-weight:600;margin-top:4px;color:var(--muted)}.meta span{display:inline-flex;gap:4px;align-items:center}.meta .ic{width:14px;height:14px}
.hrow>.sc{flex:0 0 280px}
.shead{display:flex;gap:14px;align-items:center}.shead .em{width:76px;height:76px;font-size:40px}

/* detail */
.detail{display:grid;gap:16px}
.detail .pimg{aspect-ratio:1/.7;font-size:110px;border-radius:var(--r)}
.dprice{display:flex;gap:10px;align-items:baseline}.dprice b{font-size:26px;font-weight:800}.dprice s{color:var(--muted)}

/* cart */
.line-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.line-item:last-child{border:0}
.line-item .th{width:52px;height:52px;border-radius:12px;display:grid;place-items:center;font-size:28px;background:hsl(var(--h,120) 45% 94%);flex:none}
.line-item .step{width:96px;flex:none}
.bill dl{display:flex;justify-content:space-between;margin:7px 0;font-size:14px}.bill dl.tot{font-size:17px;font-weight:800;border-top:1.5px dashed var(--line);padding-top:10px;margin-top:10px}
.bill .save{color:var(--ok);font-weight:700}
.notice{display:flex;gap:10px;padding:10px 12px;border-radius:12px;background:#fff3cd;color:#664d03;font-size:13px;font-weight:600;margin:10px 0}.notice.err{background:#fbe3e3;color:#8f2525}.notice.ok{background:#dff3e6;color:#17663d}.notice.info{background:var(--tint);color:var(--forest)}
.prog{height:6px;background:var(--tint);border-radius:3px;overflow:hidden;margin-top:6px}.prog i{display:block;height:100%;background:var(--leaf)}
.stickybar{position:sticky;bottom:calc(var(--bn) + var(--sab) + 8px);background:var(--bg);padding:10px 0 2px;margin-top:12px}

/* floating cart + bottom nav */
.cartbar{position:fixed;left:12px;right:12px;bottom:calc(var(--bn) + var(--sab) + 10px);z-index:35;max-width:560px;margin:0 auto}
.cartbar a{display:flex;align-items:center;justify-content:space-between;background:var(--ok);color:#fff;border-radius:16px;padding:12px 16px;box-shadow:0 8px 24px rgba(76,29,149,.3)}
.cartbar span:first-child{display:flex;flex-direction:column;line-height:1.2}.cartbar small{opacity:.9;font-weight:600}.cartbar .go{display:flex;align-items:center;gap:4px;font-weight:800}
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:50;height:calc(var(--bn) + var(--sab));padding-bottom:var(--sab);background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr)}
.bnav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:700;color:var(--muted)}
.bnav a.on{color:var(--forest)}.bnav a.on .ic{stroke-width:2.6}.bnav .badge{top:6px;right:calc(50% - 22px)}

/* states */
.state{text-align:center;padding:40px 20px;background:#fff;border-radius:var(--r);box-shadow:var(--sh)}
.state .big{width:68px;height:68px;border-radius:50%;background:var(--tint);color:var(--forest);display:grid;place-items:center;margin:0 auto 14px}.state .big .ic{width:30px;height:30px}
.state.bad .big{background:#fbe3e3;color:var(--err)}.state.good .big{background:#dff3e6;color:var(--ok)}
.state h2{font-size:18px;font-weight:800;margin-bottom:6px}.state p{color:var(--muted);max-width:380px;margin:0 auto 18px}.state .row{justify-content:center}
.skel{background:linear-gradient(90deg,#ECE7F7 25%,#F7F4FD 37%,#ECE7F7 63%);background-size:400% 100%;animation:sk 1.3s ease infinite;border-radius:var(--r)}
@keyframes sk{0%{background-position:100% 0}100%{background-position:0 0}}
.toasts{position:fixed;left:12px;right:12px;bottom:calc(var(--bn) + var(--sab) + 78px);z-index:90;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}
.toast{pointer-events:auto;display:flex;gap:10px;align-items:center;background:var(--forest);color:#fff;padding:11px 16px;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.25);font-weight:600;font-size:14px;max-width:420px;animation:up .25s ease}
.toast.err{background:var(--err)}.toast.ok{background:var(--ok)}.toast button{background:none;border:0;color:var(--harvest);font-weight:800;padding:2px 4px}
@keyframes up{from{opacity:0;transform:translateY(10px)}}
.dlg{border:0;border-radius:20px;padding:22px;max-width:min(92vw,400px);width:100%;box-shadow:0 20px 60px rgba(0,0,0,.35)}.dlg.wide{max-width:min(94vw,560px)}#pickMap{height:min(55vh,340px);border-radius:12px;z-index:0}.dlg::backdrop{background:rgba(10,24,18,.5)}
.dlg h3{font-size:18px;margin-bottom:6px}.dlg p{color:var(--muted);margin-bottom:18px}.dlg .row{justify-content:flex-end}
.dlg label.opt{display:flex;gap:10px;align-items:center;padding:12px;border:1.5px solid var(--line);border-radius:12px;margin-bottom:8px;font-weight:700}.dlg label.opt:has(input:checked){border-color:var(--leaf);background:var(--tint)}

/* install banner */
.install{position:sticky;top:calc(var(--sat) + 0px);z-index:45;margin:10px 14px 0;max-width:560px;margin-inline:auto;background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(76,29,149,.22);border:1px solid var(--line);padding:14px;display:grid;grid-template-columns:auto 1fr;gap:4px 12px;animation:up .3s ease}
.install .ic.logo,.install .brand-ic{width:44px;height:44px;grid-row:span 2}
.install h3{font-size:15px;font-weight:800}.install p{font-size:13px;color:var(--muted)}.install .row{grid-column:1/-1;margin-top:8px}.install .row .btn{flex:1}
.install ol{grid-column:1/-1;margin:6px 0 0;padding-left:20px;font-size:13px}

/* order timeline & status */
.tl{list-style:none;margin:0;padding:0}.tl li{position:relative;padding:0 0 18px 34px;color:var(--muted);font-weight:600}.tl li:last-child{padding-bottom:0}
.tl li::before{content:"";position:absolute;left:8px;top:20px;bottom:-2px;width:2px;background:var(--line)}.tl li:last-child::before{display:none}
.tl li::after{content:"";position:absolute;left:0;top:2px;width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid var(--line)}
.tl li.done{color:var(--text)}.tl li.done::before{background:var(--ok)}.tl li.done::after{background:var(--ok);border-color:var(--ok)}
.tl li.now::after{border-color:var(--ok);box-shadow:0 0 0 4px rgba(36,138,82,.2);background:#fff}
.tl small{display:block;font-weight:500;font-size:12px}
.jmap{height:240px;border-radius:14px;margin:8px 0;z-index:0}
.pin-ic{font-size:30px;line-height:1;text-shadow:0 2px 5px rgba(0,0,0,.35);background:none;border:0;text-align:center}
.leaflet-control-layers{border-radius:10px!important;font-family:var(--font)}
.mk-wrap{background:none;border:0}.mk-wrap svg{display:block}

/* location picker: fixed centre pin, map moves underneath (like the big delivery apps) */
.dlg.full{width:min(100vw,640px);max-width:100vw;height:min(100dvh,780px);max-height:100dvh;padding:0;overflow:hidden;border-radius:22px}
@media(max-width:640px){.dlg.full{width:100vw;height:100dvh;border-radius:0;margin:0}}
.pickwrap{position:relative;height:100%}
.pickwrap #pickMap{height:100%;border-radius:0;margin:0}
.cpin{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);pointer-events:none;z-index:500;transition:transform .15s ease}
.cpin svg{display:block;width:48px;height:58px;filter:drop-shadow(0 6px 5px rgba(0,0,0,.28))}
.cpin::after{content:"";position:absolute;left:50%;bottom:-3px;width:14px;height:6px;border-radius:50%;background:rgba(0,0,0,.25);transform:translateX(-50%)}
.pickwrap.moving .cpin{transform:translate(-50%,-116%)}
.pk-close{position:absolute;top:calc(var(--sat) + 12px);left:12px;z-index:600;width:42px;height:42px;border-radius:50%;border:0;background:#fff;color:var(--text);box-shadow:0 4px 14px rgba(0,0,0,.22);display:grid;place-items:center}
.gps-fab{position:absolute;right:12px;bottom:200px;z-index:600;width:48px;height:48px;border-radius:50%;border:0;background:#fff;color:var(--g2);box-shadow:0 4px 14px rgba(0,0,0,.24);display:grid;place-items:center}
.pk-sheet{position:absolute;left:0;right:0;bottom:0;z-index:600;background:#fff;border-radius:22px 22px 0 0;padding:14px 16px calc(16px + var(--sab));box-shadow:0 -8px 28px rgba(76,29,149,.2)}
.pk-sheet h3{font-size:17px;margin-bottom:2px}.pk-sheet .row{margin-top:12px}

/* live tracking: map first, ETA pill, bottom sheet */
.trackhero{position:relative;isolation:isolate;height:min(52vh,380px);border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#F3E8FF,#FFEDE4);margin:10px 0 -22px}
.trackhero #map{height:100%;margin:0;border-radius:0}
.trk-wait{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:6px;text-align:center;color:var(--g1);padding:20px}.trk-wait .ic{width:40px;height:40px}
.eta-pill{position:absolute;left:12px;top:12px;z-index:700;background:#fff;color:var(--text);border-radius:999px;padding:8px 14px;font-weight:800;box-shadow:0 6px 18px rgba(30,27,46,.22)}.eta-pill small{font-weight:600;color:var(--muted)}
.sheet{position:relative;z-index:5;background:#fff;border-radius:22px;box-shadow:0 -6px 24px rgba(76,29,149,.14);padding:12px 16px 16px;margin-bottom:14px}
.grab{width:40px;height:4px;border-radius:2px;background:#DDD6EE;margin:0 auto 10px}
.review+.review{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.review .st{color:#F59E0B;letter-spacing:1px}
#map{height:300px;border-radius:var(--r-sm);margin-top:10px;z-index:0}
.ocard{display:block}.ocard+.ocard{margin-top:10px}

/* dashboard */
.tabs{display:flex;gap:6px;overflow-x:auto;margin-bottom:14px;scrollbar-width:none}.tabs a{flex:none;padding:9px 16px;border-radius:999px;font-weight:700;font-size:14px;background:#fff;border:1.5px solid var(--line)}.tabs a.on{background:var(--forest);color:#fff;border-color:var(--forest)}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:14px}.stat small{color:var(--muted);font-weight:700;font-size:12px}.stat b{display:block;font-size:24px;font-weight:800;margin-top:2px}
.bars{display:flex;align-items:flex-end;gap:8px;height:120px;margin-top:8px}.bars div{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;height:100%;font-size:10.5px;color:var(--muted)}.bars i{display:block;width:100%;background:var(--leaf);border-radius:6px 6px 0 0;min-height:3px}
.toggle{position:relative;width:52px;height:30px;border-radius:15px;background:#c9cfc6;border:0;flex:none;transition:background .2s}.toggle::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .2s}.toggle[aria-checked=true]{background:var(--ok)}.toggle[aria-checked=true]::after{transform:translateX(22px)}
.menu a,.menu button{display:flex;align-items:center;gap:14px;width:100%;padding:14px 4px;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;font-weight:700}.menu>*:last-child{border:0}.menu .ic{color:var(--leaf)}.menu .ic:last-child{margin-left:auto;color:var(--muted);width:18px;height:18px}

/* ===== Design v2: gradient brand, Zepto-inspired ===== */
h1,h2,h3{letter-spacing:-.3px}
body[data-route=forgot] .searchbar{display:none}
.h1{font-size:24px}
#boot{background:var(--grad)}
.topbar{background:var(--grad);border-radius:0 0 26px 26px;padding-bottom:16px;box-shadow:0 10px 30px rgba(76,29,149,.25)}
.loc small{opacity:.85}
.searchbar{height:50px;border-radius:16px;box-shadow:0 8px 20px rgba(30,27,46,.2)}
.searchbar .ic{color:var(--g2)}.searchbar input::placeholder{color:#8B84A3}
.badge{background:var(--harvest);color:#422006}
.sec-h h2{font-size:19px;font-weight:800}.sec-h a,.sec-h button{color:var(--g2)}

/* buttons: brand gradient = primary, pink outline = ADD, green = confirm, red outline = cancel */
.btn{background:var(--grad);color:#fff;box-shadow:0 6px 16px rgba(124,58,237,.3);letter-spacing:.2px}
.btn:hover:not(:disabled){filter:brightness(1.06)}
.btn.sec{background:var(--tint);color:var(--g1);box-shadow:none}
.btn.line{background:#fff;color:var(--pink-d);border:1.5px solid var(--pink);box-shadow:none}
.btn.yel{background:var(--harvest);color:#422006;box-shadow:0 6px 14px rgba(255,154,92,.35)}
.btn.ok{background:linear-gradient(135deg,#16A34A,#15803D);box-shadow:0 6px 16px rgba(21,128,61,.3)}
.btn.danger{background:#fff;color:var(--err);border:1.5px solid var(--err);box-shadow:none}
.btn:disabled{background:#E3DEF0;color:#8A839F;box-shadow:none;border-color:transparent;opacity:1}
.chip{border-color:var(--line)}
.chip[aria-pressed=true],.chip.on{background:var(--grad);color:#fff;border-color:transparent}
.tabs a.on{background:var(--grad);color:#fff;border-color:transparent}
.card{border-radius:20px}

/* home */
.promo{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#FEF9C3,#FFEDE4);border-radius:18px;padding:12px 14px;margin-bottom:14px}
.promo>span{font-size:28px}.promo b{display:block}.promo small{color:var(--muted)}
.banner{position:relative;border-radius:22px;min-height:144px;box-shadow:0 10px 24px rgba(76,29,149,.25)}
.banner::after{content:"";position:absolute;right:-34px;top:-34px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.14)}
.banner>*{position:relative;z-index:1}
.be{font-size:64px;line-height:1}
.banner .cta{display:inline-block;margin-top:10px;background:#fff;color:var(--g1);font-weight:800;border-radius:999px;padding:6px 14px;font-size:13px}
.cat{font-weight:800;color:var(--text)}
.cat i{background:linear-gradient(145deg,#F3E8FF,#FFEDE4);border-radius:22px;box-shadow:0 4px 10px rgba(124,58,237,.12)}

/* product cards: price first, floating pink ADD over the image */
.pc{border-radius:20px}
.pimg{background:linear-gradient(145deg,hsl(var(--h,260) 90% 96%),hsl(calc(var(--h,260) + 40) 85% 90%));aspect-ratio:1/.86}
.off{background:var(--harvest);color:#422006;top:0;left:0;border-radius:0 0 10px 0;padding:6px 9px}
.pm{position:relative}
.pm .qc{position:absolute;right:8px;bottom:-17px;width:80px;z-index:2;margin:0}
.pb{padding:24px 10px 12px;gap:3px}
.pb h3{order:2;font-size:13.5px}.pb .u{order:3}.pb .low{order:4}.pb .pr{order:1;margin:0 0 2px}
.pr b{font-size:16px}
.qc .btn{width:100%;min-height:36px;height:36px;padding:0;border-radius:10px;background:#fff;color:var(--pink-d);border:1.5px solid var(--pink);box-shadow:0 4px 12px rgba(249,71,8,.2);font-size:13px;letter-spacing:.6px}
.qc .btn:disabled{background:#F3F1F8;color:#8A839F;border-color:#E0DAEE;box-shadow:none}
.step{height:36px;background:linear-gradient(135deg,#FF6A2B,#F94708);border-radius:10px;box-shadow:0 4px 12px rgba(249,71,8,.3);animation:pop .22s ease}
@keyframes pop{50%{transform:scale(1.08)}}
.heart{top:8px;right:8px;background:rgba(255,255,255,.95);box-shadow:0 2px 8px rgba(0,0,0,.14)}
.pgrid.list .pm{width:112px;flex:none}.pgrid.list .pimg{width:100%;aspect-ratio:1;border-radius:0}
.pgrid.list .pm .qc{position:static;width:auto;margin:8px}.pgrid.list .pb{padding:12px}
.detail .qc .btn,.detail .qc .step{height:48px;font-size:15px;border-radius:12px}

.line-item .grow{min-width:0}.line-item .th{border-radius:14px}.line-item .step{height:34px}
/* stores */
.sc{border-radius:20px}
.em{background:linear-gradient(145deg,hsl(var(--h,260) 90% 96%),hsl(calc(var(--h,260) + 40) 85% 90%));border-radius:18px}
.vil{order:5;color:#15803D;font-size:11.5px;font-weight:800}.tag.vil-tag{background:#DCFCE7;color:#14532D}
.tag.rate{background:#FEF3C7;color:#92400E}

/* cart, offers, ratings */
.cartbar a{background:var(--grad);border-radius:20px;box-shadow:0 12px 30px rgba(126,34,206,.45);padding:13px 18px}
.cartbar .go{background:rgba(255,255,255,.2);padding:6px 12px;border-radius:999px}
.prog{background:#EEE9F8;height:8px;border-radius:4px}.prog i{background:var(--grad)}
.saving{background:linear-gradient(135deg,#DCFCE7,#FEF9C3);color:#14532D;border-radius:14px;padding:10px 14px;font-weight:800;margin:10px 0}
.offer{border:1.5px dashed var(--pink);background:#FFF3EC;color:var(--pink-d);font-weight:800}
.stars{display:flex;gap:6px;margin:8px 0}.stars button{background:none;border:0;font-size:34px;line-height:1;color:#D9D4E8;padding:0 2px}.stars button.on{color:#F59E0B}
.eta{display:inline-flex;align-items:center;gap:6px;background:#DCFCE7;color:#14532D;font-weight:800;border-radius:999px;padding:5px 12px;font-size:13px}

/* nav, states, toasts, install */
.bnav{border-radius:22px 22px 0 0;border-top:0;box-shadow:0 -8px 28px rgba(76,29,149,.14)}
.bnav a.on{color:var(--g2)}.bnav a.on::before{content:"";position:absolute;top:0;width:30px;height:4px;border-radius:0 0 6px 6px;background:var(--grad)}
.state .big{background:linear-gradient(145deg,#F3E8FF,#FFEDE4);color:var(--g2)}
.state.bad .big{background:#FEE2E2;color:var(--err)}.state.good .big{background:#DCFCE7;color:var(--ok)}
.toast{background:#1E1B2E}.toast.ok{background:var(--ok)}.toast.err{background:var(--err)}
.install{border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--grad) border-box;box-shadow:0 14px 36px rgba(76,29,149,.3)}
.stat b{color:var(--g1)}
@media(min-width:960px){.topbar{border-radius:0}.pm .qc{width:88px}}

/* merchant catalogue tools: library, quick edit */
.librow{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;background:#fff;border-radius:14px;padding:10px 12px;margin-bottom:8px;box-shadow:var(--sh)}
.librow.have{opacity:.6}.librow.bad{outline:2px solid var(--err)}.librow.changed{outline:2px solid var(--harvest)}
.libin{display:flex;gap:8px;width:100%}.libin .input{min-height:40px;font-size:15px}
.qk-in{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;width:100%}.qk-in .input{min-height:40px;font-size:15px;padding:6px 8px}.qk-in .check{grid-column:1/-1}
@media(min-width:760px){.qk-in{grid-template-columns:90px 90px 90px auto;width:auto}.qk-in .check{grid-column:auto}}

/* header icons (bell + cart), long saved address, "+" add button */
.hicons{display:flex;align-items:center;gap:2px}.cart-m .badge{top:2px;right:0}
.loc{max-width:min(100%,330px);min-width:0;align-items:flex-start}.loc span{min-width:0;max-width:100%}
.loc b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.25}
.loc>.ic:first-child{margin-top:4px}
.qc{display:flex;justify-content:flex-end}.qc .step{width:100%}
.qc .btn.add{width:36px;height:36px;min-height:36px;padding:0;border-radius:12px;display:grid;place-items:center}
.qc .btn.add .ic{width:20px;height:20px;stroke-width:2.8}
.detail .qc{justify-content:flex-start}.detail .qc .btn.add{width:48px;height:48px;border-radius:14px}
@media(min-width:960px){.hicons{display:none}}

/* print (receipt and packing slip) */
#printArea{display:none}
.rc{max-width:720px;margin:0 auto;color:#19231D;font-size:13px;line-height:1.45}
.rc,.rc *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
.rc .ic{width:46px;height:46px;stroke:none}
.rc .hd{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#4C1D95,#5E20AB 55%,#7220C0);color:#fff;border-radius:12px;padding:16px 20px}
.rc .hd .hb{display:flex;align-items:center;gap:12px}.rc .hd .hb b{display:block;color:#fff;font-size:20px;letter-spacing:.2px}.rc .hd small{opacity:.8}
.rc .hd .hm{text-align:right}.rc .hd .hm small,.rc .hd .hm b{display:block}.rc .hd .hm b{font-size:16px;color:#FF9A5C}
.rc .cols2{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.rc .box{border:1px solid #d9ded6;border-radius:10px;padding:10px 12px}.rc .box h4{margin:0 0 4px;font-size:10.5px;letter-spacing:.9px;text-transform:uppercase;color:#5f685f}
.rc table{width:100%;border-collapse:collapse}
.rc thead th{background:#F0EBFF;font-size:10.5px;text-transform:uppercase;letter-spacing:.6px;padding:8px 10px;text-align:left}
.rc td{padding:8px 10px;border-bottom:1px solid #E8E3F3;vertical-align:top}.rc td small{color:#5f685f}
.rc .r{text-align:right}
.rc .sum{width:56%;margin:10px 0 0 auto}.rc .sum td{border:0;padding:4px 10px}.rc .sum .tot td{font-size:16px;font-weight:800;border-top:2px solid #4C1D95;padding-top:8px}
.rc .chip{display:inline-block;border:1px solid #4C1D95;border-radius:999px;padding:1px 10px;font-weight:700;font-size:12px}
.rc .note{font-size:11px;color:#5f685f;margin-top:10px}
.rc .foot{margin-top:18px;padding-top:12px;border-top:1px dashed #9aa39a;text-align:center;color:#5f685f;font-size:12px}.rc .foot b{color:#4C1D95}
.rc.slip{max-width:72mm;font-size:12px;color:#000}.rc.slip .c{text-align:center}.rc.slip .ic{width:32px;height:32px}
.rc.slip .big{font-size:15px;font-weight:800}.rc.slip hr{border:0;border-top:1px dashed #000;margin:8px 0}
.rc.slip .item{display:flex;gap:8px;font-size:14px;font-weight:700;margin:5px 0}.rc.slip .item small{display:block;font-weight:400;font-size:11px}
.rc.slip .box2{border:1px solid #000;padding:4px 6px;margin:6px 0}.rc.slip .pay{border:2px solid #000;text-align:center;font-weight:800;font-size:15px;padding:6px;margin-top:6px}
@media print{
	body{background:#fff!important;padding:0!important}
	body:has(#printArea:not(:empty))>*:not(#printArea){display:none!important}
	#printArea:not(:empty){display:block!important;color:#000;font:13px/1.45 system-ui,"Segoe UI",sans-serif}
}

/* desktop */
@media(min-width:760px){
	.sgrid{grid-template-columns:repeat(2,1fr)}.pgrid{grid-template-columns:repeat(3,1fr)}.cats{grid-template-columns:repeat(5,1fr)}
	.banner{flex-basis:calc(50% - 6px)}.detail{grid-template-columns:1fr 1fr;align-items:start}
	.filters{grid-template-columns:repeat(4,1fr)}.stats{grid-template-columns:repeat(4,1fr)}
}
@media(min-width:960px){
	:root{--bn:0px}
	body{padding-bottom:0}
	.bnav{display:none}
	.top-row{grid-template-columns:auto auto 1fr auto}
	.brand{display:flex}.searchbar{grid-column:auto}.dnav{display:flex;align-items:center;gap:6px}
	.dnav a{padding:8px 12px;border-radius:10px;font-weight:700;font-size:14px;opacity:.9}.dnav a.on,.dnav a:hover{background:rgba(255,255,255,.12);opacity:1}
	.dcart{position:relative}.bell-m{display:none}.bell-d{display:grid}
	.pgrid{grid-template-columns:repeat(4,1fr)}.sgrid{grid-template-columns:repeat(3,1fr)}.cats{grid-template-columns:repeat(10,1fr)}.hrow>.pc{flex-basis:170px}
	.banner{flex-basis:calc(33.3% - 8px)}
	.cartbar{display:none!important}.toasts{bottom:24px}
	.cols{display:grid;grid-template-columns:1fr 380px;gap:20px;align-items:start}.cols>aside{position:sticky;top:90px}
	body[data-route] .searchbar{display:flex!important}
}
@media(max-width:959px){.cols>aside{margin-top:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* ---------- v2.9 Shop | Food ---------- */
.modes{grid-column:1/-1;display:flex;gap:4px;background:rgba(255,255,255,.2);padding:4px;border-radius:14px}
.modes button{flex:1;position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border:0;border-radius:11px;background:none;color:#fff;font-weight:800;font-size:14px}
.modes button.on{background:#fff;color:var(--g1,#6D28D9);box-shadow:0 2px 8px rgba(0,0,0,.15)}
html[data-mode=food] .modes button.on{color:#C2410C}
.modes button.dot::after{content:"";position:absolute;top:7px;right:14px;width:9px;height:9px;border-radius:50%;background:#FBBF24;border:2px solid rgba(0,0,0,.15)}
html[data-mode=food] .topbar{background:linear-gradient(135deg,#9D174D 0%,#DC2626 55%,#F97316 100%);box-shadow:0 10px 30px rgba(190,24,93,.28)}
body[data-route=cart] .modes,body[data-route=checkout] .modes,body[data-route=placed] .modes,body[data-route=order] .modes,body[data-route=orders] .modes,body[data-route=account] .modes,body[data-route=login] .modes,body[data-route=forgot] .modes,body[data-route=apply] .modes,body[data-route=legal] .modes,body[data-route=merchant] .modes,body[data-route=delivery] .modes,body[data-route=notifications] .modes,body[data-route=pwa] .modes,body[data-route=product] .modes{display:none}
@media(min-width:960px){.top-row{grid-template-columns:auto auto auto 1fr auto}.modes{grid-column:auto;min-width:210px}body[data-route] .modes{display:flex!important}}
.vn{display:inline-grid;place-items:center;width:15px;height:15px;border:1.5px solid #16A34A;border-radius:3px;background:#fff;flex:none;vertical-align:-2px;margin-right:5px}
.vn::after{content:"";width:7px;height:7px;border-radius:50%;background:#16A34A}
.vn.nv{border-color:#B91C1C}.vn.nv::after{background:#B91C1C}
.ktag{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:800;padding:3px 8px;border-radius:999px;background:#FFF1E6;color:#C2410C}
.vegonly{margin:0 0 10px}

/* ---------- v2.10 slimmer cart bar + active-order bar ---------- */
:root{--tb:0px}
body{padding-bottom:calc(var(--bn) + var(--sab) + var(--tb) + 8px)}
.cartbar{bottom:calc(var(--bn) + var(--sab) + var(--tb) + 8px)}
.cartbar a{padding:7px 8px 7px 14px;border-radius:14px;box-shadow:0 6px 16px rgba(126,34,206,.35);font-size:14px}
.cartbar span:first-child{flex-direction:row;align-items:baseline;gap:8px}
.cartbar small{font-size:12px}
.cartbar .go{padding:5px 11px;font-size:13px}
.trackbar{position:fixed;left:0;right:0;bottom:calc(var(--bn) + var(--sab));height:38px;z-index:36;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px 0 14px;background:linear-gradient(90deg,#4C1D95,#7220C0);color:#fff;font-size:13px;font-weight:600}
.trackbar[hidden]{display:none}
.trackbar .tb-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trackbar b{font-weight:800}
.trackbar .tb-go{flex:none;font-weight:800;background:rgba(255,255,255,.2);padding:4px 11px;border-radius:999px}
html[data-mode=food] .trackbar{background:linear-gradient(90deg,#9D174D,#EA580C)}
.leaflet-control-attribution{font-size:9px!important;background:rgba(255,255,255,.65)!important;color:#6b6585!important;padding:0 5px!important}.leaflet-control-attribution a{color:inherit!important}
.jmap{border-radius:16px;overflow:hidden}
.recenter{position:absolute;right:12px;bottom:34px;z-index:700;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:var(--g1,#6D28D9);display:grid;place-items:center;box-shadow:0 6px 18px rgba(30,27,46,.25)}
.recenter .ic{width:22px;height:22px}

/* ---------- v2.9.6 compact cards, readable text, Zepto-style checkout ---------- */
.muted,.pb .u,.sc p,.meta,.small.muted{color:#585271}
.card{padding:11px 12px;border-radius:14px}
.pc,.sc{border-radius:14px}
.sc{padding:9px 10px;gap:10px}.sc h3{font-size:14.5px}.hrow>.sc{flex-basis:240px}
.hrow{gap:8px}.hrow>.pc{flex:0 0 112px}
.pgrid{grid-template-columns:repeat(3,1fr);gap:8px}
.pimg{aspect-ratio:1/.78;font-size:40px}
.pm .qc{width:64px;right:6px;bottom:-14px}.pm .qc .btn,.pm .qc .step{min-height:30px;height:30px}
.pb{padding:18px 8px 8px;gap:2px}.pb h3{font-size:13px;font-weight:600}.pr b{font-size:14px}.pb .u{font-size:12px}
.banner{min-height:104px;padding:14px 16px;border-radius:16px}.banner h3{font-size:17px}.banner p{font-size:12.5px;margin-top:4px}.banner .be{font-size:52px}.banner .cta{margin-top:8px;padding:5px 12px}
.promo{padding:6px 12px;gap:10px;border-radius:12px;margin-bottom:10px}.promo>span{font-size:20px}.promo b{font-size:13.5px}.promo small{font-size:12px}
.cats{gap:8px 4px}.cat{font-size:11.5px;gap:4px}.cat i{border-radius:16px;font-size:26px}
.sec-h h2{font-size:17px}
.ocard{padding:10px 12px}.line-item{padding:6px 0}.bill dl{margin:5px 0}
@media(min-width:600px){.pgrid{grid-template-columns:repeat(4,1fr)}}
@media(min-width:960px){.pgrid{grid-template-columns:repeat(6,1fr)}.hrow>.pc{flex-basis:128px}}
.ck-eta{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#F3E8FF,#FFEDE4);box-shadow:none}.ck-eta>span{font-size:26px}.ck-eta b{display:block;font-size:15px}.ck-eta small{color:#585271;font-size:12.5px}
.ck-h{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:800;margin:0 0 10px}.ck-h .ic{width:18px;height:18px;color:#7E22CE}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ckform .field{margin-bottom:10px}.ckform .field input,.ckform .field select{min-height:42px}.ckform .field textarea{min-height:58px}
.payopt{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1.5px solid var(--line);border-radius:12px;margin-bottom:8px;background:#fff}
.payopt:has(input:checked){border-color:#7E22CE;background:#FAF5FF}
.payopt small{display:block;color:#585271;font-size:12px;font-weight:500}.payopt input{width:18px;height:18px;accent-color:#7E22CE;flex:none}
.ck-other{border:1px dashed var(--line);border-radius:12px;padding:10px;margin:6px 0 4px}
.ck-grp{margin-bottom:8px}.ck-grp>b{display:block;margin-bottom:3px;font-size:14px}
.ckbar{position:fixed;left:0;right:0;bottom:calc(var(--bn) + var(--sab));z-index:40;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(30,27,46,.1)}
.ckbar small{display:block;color:#585271;font-size:12px}.ckbar b{font-size:18px}.ckbar .btn{min-width:170px;min-height:46px}
body[data-route=checkout]{padding-bottom:calc(var(--bn) + var(--sab) + 90px)}

/* ---------- v2.9.7 one-screen checkout ---------- */
.ckform{max-width:640px;margin:0 auto}
.ck-det{padding:0}.ck-det>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:11px 12px;align-items:center}
.ck-det>summary::-webkit-details-marker{display:none}.ck-det>summary::after{content:"";grid-row:1/3;grid-column:2;width:9px;height:9px;border-right:2px solid #585271;border-bottom:2px solid #585271;transform:rotate(45deg);transition:transform .15s}
.ck-det[open]>summary::after{transform:rotate(-135deg)}
.ck-sum{grid-column:1;font-size:12.5px;color:#585271;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ck-body{padding:0 12px 12px}
.ck-line{display:flex;align-items:center;gap:10px;padding:7px 0}.ck-line small{display:block;font-size:12px}.ck-amt{width:58px;text-align:right;font-size:14px}
.ck-grp+.ck-grp{border-top:1px dashed var(--line);margin-top:6px;padding-top:6px}
.ck-cp{display:flex;gap:8px}.ck-cp .input{min-height:42px}
.ck-h small{font-weight:600;color:#585271;font-size:12.5px}
.ck-line .qc .step,.ck-line .qc .btn{min-height:32px;height:32px;border-radius:10px}.ck-line .qc .step button{min-height:32px}

/* ---------- v2.9.8 role pill, accepting-orders bar, welcome celebration ---------- */
.pill{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;background:#F3E8FF;color:#6D28D9;font-size:12px;font-weight:800;white-space:nowrap}
.accept{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:14px;background:#ECFDF5;border:1.5px solid #A7F3D0;margin:8px 0}
.accept.paused{background:#FEF2F2;border-color:#FECACA}.accept b{display:block;font-size:14.5px}.accept small{color:#585271;font-size:12.5px}
.dlg.welcome{text-align:center;overflow:hidden}.wel{padding:6px 4px}.wel-em{font-size:56px;line-height:1;animation:pop .6s cubic-bezier(.2,1.6,.4,1)}.wel h2{font-size:22px;margin:8px 0 4px}.wel p{color:#585271;margin:0 0 10px}
@keyframes pop{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}
.confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}

/* ---------- v2.9.9 account sections + dark mode ---------- */
.acc-h{font-size:12.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:18px 4px 6px}
.themerow{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.seg{display:flex;gap:3px;background:var(--tint);padding:3px;border-radius:12px}.seg button{border:0;background:none;padding:7px 11px;border-radius:9px;font-weight:700;font-size:13px;color:var(--text)}.seg button.on{background:var(--surface);box-shadow:var(--sh);color:var(--g2)}
html[data-theme=dark]{color-scheme:dark;--bg:#0E0C18;--surface:#1A1730;--text:#EDEAF7;--muted:#A8A2C4;--line:#2F2A4A;--tint:#241F40;--sh:0 1px 2px rgba(0,0,0,.4),0 6px 18px rgba(0,0,0,.3)}
html[data-theme=dark] :is(.searchbar,.sugg,.offbar,.prose,.field input,.field select,.field textarea,.input,.chip,.pc,.sc,.notice,.bnav,.state,.install,.pk-sheet,.sheet,.tabs a,.stat,.librow,.payopt,.ckbar,.eta-pill,.recenter,.pb .qc .btn,.qc .btn,.btn.line,.btn.danger){background:var(--surface);color:var(--text)}
html[data-theme=dark] :is(.muted,.pb .u,.sc p,.meta,.small.muted,.ck-eta small,.ck-sum,.payopt small,.ckbar small,.accept small,.wel p,.ck-h small){color:var(--muted)}
html[data-theme=dark] .searchbar input{color:var(--text)}
html[data-theme=dark] .pimg{background:linear-gradient(145deg,hsl(var(--h,260) 28% 24%),hsl(calc(var(--h,260) + 40) 28% 18%))}
html[data-theme=dark] .cat i{background:#2A2447;box-shadow:none}
html[data-theme=dark] :is(.promo,.ck-eta){background:linear-gradient(135deg,#3A3320,#3A1F33)}
html[data-theme=dark] .accept{background:#10281D;border-color:#1F5A3E}html[data-theme=dark] .accept.paused{background:#2D1618;border-color:#6B2A2E}
html[data-theme=dark] .pill{background:#2E2552;color:#CDBBFF}
html[data-theme=dark] .payopt:has(input:checked){background:#2A2150}
html[data-theme=dark] .tag{background:#2A2447;color:#D9D2F2}html[data-theme=dark] .tag.ok{background:#12301F;color:#7EE2A8}html[data-theme=dark] .tag.warn{background:#3A2E10;color:#F8D277}html[data-theme=dark] .tag.err{background:#3A1618;color:#FCA5A5}
html[data-theme=dark] .notice.err{background:#2D1618}html[data-theme=dark] .notice.info,html[data-theme=dark] .notice.ok{background:#1E2342}
html[data-theme=dark] .chip.offer{background:#2A1730;color:#F9A8D4}
html[data-theme=dark] .bnav{box-shadow:0 -8px 28px rgba(0,0,0,.5)}
html[data-theme=dark] .modes button.on{background:#fff;color:#6D28D9}
html[data-theme=dark] .btn.sec{background:#2A2150;color:#CDBBFF}
html[data-theme=dark] .ck-det>summary::after{border-color:var(--muted)}

/* ---------- v2.9.10 refined dark mode ---------- */
html[data-theme=dark]{--bg:#0B0A14;--surface:#16142A;--text:#F1EFFA;--muted:#A9A4C6;--line:#2A2645;--tint:#211D3D;--sh:none}
html[data-theme=dark] body{background:var(--bg)}
html[data-theme=dark] :is(.card,.pc,.sc,.bill,.state,.sheet,.stat,.ocard,.ckbar){border:1px solid rgba(255,255,255,.06)}
html[data-theme=dark] .topbar{background:linear-gradient(135deg,#2B0F5E 0%,#44198A 55%,#5E20AB 100%);box-shadow:0 10px 30px rgba(0,0,0,.45)}
html[data-theme=dark][data-mode=food] .topbar{background:linear-gradient(135deg,#5B0F33 0%,#991B1B 55%,#C2410C 100%)}
html[data-theme=dark] .searchbar{background:#211D3D;box-shadow:none}html[data-theme=dark] .searchbar input::placeholder{color:#8E88AE}html[data-theme=dark] .searchbar .ic{color:#B8A2F5}
html[data-theme=dark] .bnav{background:#12102A;border-top:1px solid rgba(255,255,255,.08)}
html[data-theme=dark] .bnav a{color:#9A94BA}html[data-theme=dark] .bnav a.on{color:#D8C8FF}
html[data-theme=dark] :is(.sec-h a,.small a,.muted a,.ck-h .ic){color:#C4B0FF}
html[data-theme=dark] .banner{filter:brightness(.88) saturate(1.05)}
html[data-theme=dark] .pb h3,html[data-theme=dark] .sc h3{color:var(--text)}
html[data-theme=dark] .pr s{color:#8E88AE}
html[data-theme=dark] :is(.field input,.field select,.field textarea,.input){border-color:#34304F;background:#1C1936}
html[data-theme=dark] :is(.field input,.field select,.field textarea,.input):focus{border-color:#8B5CF6;box-shadow:0 0 0 3px rgba(139,92,246,.28)}
html[data-theme=dark] .tabs a.on,html[data-theme=dark] .chip.on,html[data-theme=dark] .chip[aria-pressed=true]{background:var(--grad);color:#fff}
html[data-theme=dark] .step{background:#2A2150;color:#E8DEFF}
html[data-theme=dark] .btn.line{border-color:#5B21B6;color:#D8C8FF;background:transparent}
html[data-theme=dark] .btn.danger{background:#3A1618;color:#FCA5A5;border-color:#7F1D1D}
html[data-theme=dark] .trackbar,html[data-theme=dark] .cartbar a{box-shadow:0 6px 18px rgba(0,0,0,.5)}
html[data-theme=dark] .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.8)}
html[data-theme=dark] .leaflet-control-attribution{background:rgba(22,20,42,.8)!important;color:#A9A4C6!important}
html[data-theme=dark] .dlg{background:var(--surface);color:var(--text)}
html[data-theme=dark] .dlg::backdrop{background:rgba(5,4,12,.7)}
html[data-theme=dark] hr,html[data-theme=dark] .menu a,html[data-theme=dark] .menu button{border-color:var(--line)}
html[data-theme=dark] .vil,html[data-theme=dark] .vil-tag{color:#A7F3D0}
html[data-theme=dark] .low{color:#FBBF24}
html[data-theme=dark] .acc-h{color:#A9A4C6}
.row2 select,.row2 input{min-width:0}

/* ---------- v2.10 print & copy, pick-up ---------- */
html[data-mode=print] .topbar{background:linear-gradient(135deg,#1E3A8A 0%,#2563EB 55%,#0891B2 100%);box-shadow:0 10px 30px rgba(30,58,138,.3)}
html[data-mode=print] .modes button.on{color:#1D4ED8}
html[data-theme=dark][data-mode=print] .topbar{background:linear-gradient(135deg,#0F1F4D 0%,#1D4ED8 55%,#0E7490 100%)}
.modes button{font-size:13px;padding:0 4px}
.drop{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 12px;border:2px dashed #C4B5FD;border-radius:14px;background:var(--tint);text-align:center;cursor:pointer}
.drop input{position:absolute;opacity:0;width:1px;height:1px}.drop-t{font-weight:800;word-break:break-all}.drop small{color:var(--muted)}
.drop:focus-within{border-color:#7E22CE}
.opts{display:flex;gap:8px;flex-wrap:wrap}.opt2{position:relative}.opt2 input{position:absolute;opacity:0;width:1px;height:1px}
.opt2 span{display:inline-block;padding:8px 14px;border:1.5px solid var(--line);border-radius:999px;font-weight:700;font-size:13.5px;background:var(--surface)}
.opt2 input:checked+span{background:var(--grad);color:#fff;border-color:transparent}.opt2 input:focus-visible+span{outline:2px solid #7E22CE;outline-offset:2px}
.prprice{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:var(--tint);margin:6px 0}
.prprice b{font-size:20px}.prprice small{color:var(--muted);width:100%}
.ck-seg{margin-bottom:10px}.ck-seg button{flex:1}

.confetti{z-index:9999}

.dlg.pushask{text-align:center}.dlg.pushask .wel p{color:inherit;opacity:.75}

#view{transition:opacity .15s}#view.wait{opacity:.55}#view.in{animation:vin .18s ease-out}@keyframes vin{from{opacity:.4}to{opacity:1}}@media(prefers-reduced-motion:reduce){#view.in{animation:none}}

.sugg-note{margin:0;padding:8px 14px;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line)}

.pgrid .gc{grid-column:1/-1;padding:12px;gap:2px}.pgrid.list .gc{flex-direction:column}
.gc-h{display:flex;gap:12px;align-items:center;margin-bottom:6px}.gc-h .pimg{width:64px;height:64px;aspect-ratio:1;flex:none;border-radius:14px;overflow:hidden;display:grid;place-items:center;font-size:30px}.gc-h .pimg img{width:100%;height:100%;object-fit:cover}
.gc-h h3{font-size:15px;margin:0}.gc-n{margin:2px 0 0;font-size:12px;color:var(--muted)}.gc-n b{color:var(--text,inherit)}
.of{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line)}.of.dim{opacity:.55}
.of-s{flex:1;min-width:0;display:flex;flex-direction:column}.of-s b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.of-s small{font-size:11px;color:var(--muted)}.of-s small.low{color:#b45309}
.of-p{text-align:right;white-space:nowrap}.of-p b{font-size:14px}.of-p s{display:block;font-size:11px;color:var(--muted)}
.of .qc{width:84px;flex:none}.of .qc .btn{min-height:34px}
.of-more summary{cursor:pointer;padding:9px 0;border-top:1px solid var(--line);font-size:13px;font-weight:600;color:var(--brand,#6D28D9);list-style:none}.of-more summary::-webkit-details-marker{display:none}
.of .qc .btn:disabled{font-size:11px;padding:0 6px;line-height:1.15}

.ic.logo-img{width:40px;height:40px;object-fit:contain;border-radius:10px;fill:none;stroke:none}.brand .ic.logo-img{width:34px;height:34px}.boot-mark .ic.logo-img{width:84px;height:84px;border-radius:20px}.install .ic.logo-img{width:44px;height:44px;grid-row:span 2}

.brand .ic.logo-img{height:var(--logo-h,44px);width:auto;max-width:220px;border-radius:8px}.boot-mark .ic.logo-img{height:calc(var(--logo-h,44px) * 2.5);width:auto;max-width:280px;max-height:150px;border-radius:16px}

.ic.logo-img{background:var(--logo-bg,#fff);padding:var(--logo-pad,6px);box-sizing:border-box}

/* Desktop header, two tidy rows: brand | delivery location | links, then sections | search. (One row ran out of room and squeezed the location.) */
@media(min-width:960px){
	.top-row{grid-template-columns:auto minmax(200px,300px) 1fr auto;grid-template-areas:"brand loc . nav" "modes modes search search";gap:12px 18px;align-items:center}
	.brand{grid-area:brand}
	.loc{grid-area:loc;max-width:none;width:100%}.loc b{-webkit-line-clamp:1}
	.dnav{grid-area:nav;justify-self:end}
	.modes{grid-area:modes;min-width:0}
	.searchbar{grid-area:search;max-width:720px}
}

/* Desktop header: wordmark | delivery location | search | icon links | bell and cart, with the Shop/Food/Print switch on a slim second row. */
.sbtn{display:none}
@media(min-width:960px){
	.topbar{padding-top:14px}
	.top-row{max-width:1400px;grid-template-columns:auto minmax(220px,300px) minmax(220px,1fr) auto;grid-template-areas:"brand loc search nav" "modes modes . .";gap:10px 20px;align-items:center}
	.brand{grid-area:brand;gap:12px;align-items:center}
	.brand-chip{width:46px;height:46px;border-radius:14px;background:var(--pink);display:grid;place-items:center;box-shadow:0 6px 16px rgba(0,0,0,.22);flex:none}.brand-chip .ic{width:26px;height:26px;color:#fff}
	.brand-txt{display:flex;flex-direction:column;line-height:1.05}.brand-txt b{font-size:26px;font-weight:700;letter-spacing:-.3px;color:#fff}.brand-txt b i{font-style:normal;color:var(--pink)}
	.brand-txt small{font-size:10px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;opacity:.85;margin-top:4px;white-space:nowrap}
	.loc{grid-area:loc;width:100%;max-width:none;background:rgba(20,8,50,.32);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:8px 14px;gap:12px;align-items:center}
	.loc>.ic:first-child{width:34px;height:34px;padding:8px;border-radius:50%;background:rgba(255,255,255,.14);margin:0;flex:none}
	.loc>.ic:last-child{margin-left:auto;flex:none}
	.searchbar{grid-area:search;max-width:none;height:52px;border-radius:999px;padding:0 6px 0 18px}
	.sbtn{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:var(--pink);color:#fff;flex:none;cursor:pointer}.searchbar .sbtn .ic{color:#fff;width:20px;height:20px}
	.dnav{grid-area:nav;justify-self:end;gap:2px;align-items:center}
	.dnav a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 12px;border-radius:12px;font-size:12px;font-weight:600;opacity:.95}.dnav a .ic{width:22px;height:22px}
	.dnav a.bell-d,.dnav a.dcart{width:44px;height:44px;padding:0;flex-direction:row;justify-content:center;margin-left:4px}
	.modes{grid-area:modes;justify-self:start;width:300px;min-width:0}
}
html[data-mode=food] .brand-chip,html[data-mode=food] .sbtn{background:#FDE047;color:#7C2D12}html[data-mode=food] .brand-chip .ic,html[data-mode=food] .searchbar .sbtn .ic{color:#7C2D12}
@media(min-width:960px){
	.top-row{grid-template-columns:auto minmax(220px,270px) minmax(220px,1fr) auto}
	.dnav a{padding:6px 10px}
}
@media(min-width:960px) and (max-width:1199px){
	.top-row{grid-template-columns:auto minmax(170px,230px) minmax(180px,1fr) auto;gap:10px 14px}
	.brand-txt small{display:none}.brand-txt b{font-size:22px}
	.dnav a:not(.bell-d):not(.dcart){padding:8px 10px}
	.dnav a:not(.bell-d):not(.dcart) span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* icons only, labels stay for screen readers */
}

/* The logo is drawn straight on the header (no badge); the wordmark below is the fallback when no logo is uploaded. */
.brand .ic.logo-img{background:none;padding:0;border-radius:0}
@media(max-width:959px){
	.brand{display:flex;align-items:center;gap:10px;grid-column:1;grid-row:1;min-width:0}
	.hicons{grid-column:2;grid-row:1}
	.loc{grid-column:1/-1;grid-row:2;max-width:none;width:100%}
	.brand .ic.logo-img{height:min(var(--logo-h,44px),40px);width:auto;max-width:62vw}
	.brand-chip{width:36px;height:36px;border-radius:11px;background:var(--pink);display:grid;place-items:center;flex:none}.brand-chip .ic{width:20px;height:20px;color:#fff}
	.brand-txt{display:flex;flex-direction:column;line-height:1}.brand-txt b{font-size:22px;font-weight:700;color:#fff}.brand-txt b i{font-style:normal;color:var(--pink)}.brand-txt small{display:none}
}
@media(min-width:960px){.brand .ic.logo-img{max-width:260px}}

/* The installed phone app shows the logo on the loading screen only; its header keeps the compact location row. */
@media(max-width:959px){
	html.is-app .brand{display:none}
	html.is-app .loc{grid-column:1;grid-row:1;width:auto;max-width:none}
}

/* Type scale. Font: Manrope, then the device's own sans-serif.
   Base 15px (14-16) | product titles 14px phone / 15px desktop | prices 18px phone / 20px desktop | navigation 14px | headings 24px phone up to 32px desktop. */
body{font-size:15px}
.pb h3,.sc h3{font-size:14px;font-weight:700}
.pr b,.of-p b{font-size:18px;font-weight:800}
.dprice b{font-size:20px}
.bnav a,.dnav a,.modes button{font-size:14px}
.page h1,.h1{font-size:24px;font-weight:800;line-height:1.2}
.sec-h h2{font-size:24px;line-height:1.2}
@media(min-width:960px){
	.pb h3,.sc h3{font-size:15px}
	.pr b,.of-p b{font-size:20px}
	.dnav a{font-size:14px}
	.page h1,.h1{font-size:32px}
	.sec-h h2{font-size:28px}
}

/* Categories page on tablet and desktop: compact cards (the tiles were stretching to a third of the screen). */
@media(min-width:600px){
	.cats.big{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
	.cats.big .cat{gap:10px;padding:18px 10px 14px;background:var(--surface);border-radius:20px;box-shadow:var(--sh);font-size:14px;transition:transform .15s ease,box-shadow .15s ease}
	.cats.big .cat:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(76,29,149,.16)}
	.cats.big i{width:84px;max-width:84px;font-size:42px}
}

/* Prices sit on a soft orange highlight; a price on offer is solid orange so it stands out. */
.pr{align-items:center;flex-wrap:wrap}
.pr b,.of-p b,.dprice b{display:inline-block;background:#FFEDE4;color:#B93A06;padding:2px 9px;border-radius:10px;line-height:1.25}
.pr:has(s) b,.of-p:has(s) b,.dprice:has(s) b{background:linear-gradient(135deg,#FF6A2B,#E03A05);color:#fff;box-shadow:0 3px 8px rgba(249,71,8,.28)}
html[data-theme=dark] .pr b,html[data-theme=dark] .of-p b,html[data-theme=dark] .dprice b{background:rgba(249,71,8,.18);color:#FFB38A}
html[data-theme=dark] .pr:has(s) b,html[data-theme=dark] .of-p:has(s) b,html[data-theme=dark] .dprice:has(s) b{background:linear-gradient(135deg,#FF6A2B,#E03A05);color:#fff}

/* Desktop: the site uses the full window width with an even margin on both sides (it was a 1200px column with empty bands either side). */
@media(min-width:960px){
	:root{--gutter:clamp(24px,3vw,56px)}
	.topbar{padding-left:var(--gutter);padding-right:var(--gutter)}
	.top-row{max-width:none}
	#view{max-width:none;padding-left:var(--gutter);padding-right:var(--gutter)}
	.pgrid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
	.sgrid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}
	.cats:not(.big){grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}
	/* reading and account pages stay a comfortable width, centred */
	body[data-route=account] #view,body[data-route=orders] #view,body[data-route=order] #view,body[data-route=placed] #view,body[data-route=notifications] #view,body[data-route=legal] #view,body[data-route=apply] #view,body[data-route=login] #view,body[data-route=forgot] #view,body[data-route=pwa] #view{max-width:calc(1000px + 2 * var(--gutter))}
}

/* Product page */
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin:0 0 10px}.crumbs a{color:var(--muted)}.crumbs a:hover{color:var(--leaf)}.crumbs b{color:var(--leaf);font-weight:700}
.pd{display:grid;grid-template-columns:1fr;gap:20px;background:var(--surface);border-radius:24px;box-shadow:var(--sh);padding:14px}
.pd-gal{display:grid;grid-template-columns:1fr;gap:12px;align-content:start}
.pd-main{position:relative;aspect-ratio:1/.88;border-radius:20px;background:linear-gradient(145deg,hsl(var(--h,260) 90% 96%),#FFEDE4);display:grid;place-items:center;overflow:hidden;font-size:140px}
.pd-main img{width:100%;height:100%;object-fit:contain;padding:10px}
.pd-main .heart{top:12px;right:12px}.pd-main .off{top:12px;left:12px}
.pd-ths{display:flex;gap:10px;order:2;overflow-x:auto}
.pd-th{flex:none;width:68px;height:68px;border-radius:14px;border:2px solid transparent;background:var(--tint);padding:0;overflow:hidden;cursor:pointer}.pd-th img{width:100%;height:100%;object-fit:cover}.pd-th.on{border-color:var(--leaf)}
.pd-info{display:flex;flex-direction:column;min-width:0}
.pd-desc{color:var(--muted);margin:14px 0 0;max-width:60ch;line-height:1.55}
.pd-buy{display:flex;gap:12px;align-items:center;margin-top:18px}.pd-buyin{display:flex;gap:12px;align-items:center;flex:1;min-width:0}
.pd-qty{display:flex;align-items:center;height:52px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);flex:none}.pd-qty button{width:46px;height:100%;border:0;background:none;color:var(--leaf);display:grid;place-items:center;cursor:pointer}.pd-qty b{min-width:44px;text-align:center;font-size:17px}
.pd-add{flex:1;height:52px;border-radius:14px;background:linear-gradient(90deg,#FF6A2B,#E03A05);color:#fff;font-weight:800;font-size:16px;gap:8px;box-shadow:0 8px 18px rgba(249,71,8,.3);display:inline-flex;align-items:center;justify-content:center}.pd-add .ic{width:20px;height:20px}.pd-add:disabled{background:var(--line);color:var(--muted);box-shadow:none}
.pd-step{width:150px;flex:none}.pd-step .step,.pd-step .btn{height:52px;border-radius:14px}
.pd-share{width:52px;height:52px;padding:0;border-radius:14px;flex:none}
.pd-trust{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}
.pd-trust>div{display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:var(--surface)}
.pd-trust span{grid-row:span 2;width:34px;height:34px;border-radius:50%;background:var(--tint);color:var(--leaf);display:grid;place-items:center}.pd-trust span .ic{width:18px;height:18px}
.pd-trust b{font-size:13px;line-height:1.2}.pd-trust small{font-size:12px;color:var(--muted);line-height:1.2}
.pd-sold{display:flex;align-items:center;gap:14px;margin-top:16px;border:1px solid var(--line);border-radius:16px;padding:14px;background:var(--surface);color:inherit}
.pd-sold .em{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;font-size:28px;background:hsl(var(--h,260) 90% 95%);flex:none}.pd-sold h3{font-size:16px;margin:2px 0 6px}.pd-sold .meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12.5px;color:var(--muted)}.pd-sold .meta .ic{width:14px;height:14px;margin-right:3px;vertical-align:-2px}
@media(min-width:960px){
	.pd{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:32px;padding:20px}
	.pd-gal{grid-template-columns:76px 1fr}.pd-gal:not(:has(.pd-ths)){grid-template-columns:1fr}
	.pd-ths{flex-direction:column;order:0;overflow:visible}
	.pd-main{aspect-ratio:1/.9}
	.pd-trust{grid-template-columns:repeat(4,1fr)}.pd-trust>div{grid-template-columns:1fr;row-gap:6px;justify-items:start;padding:12px}.pd-trust span{grid-row:auto}
}
.pd-info .tag .ic{width:14px;height:14px;margin-right:4px;vertical-align:-2px}
.sec-h a{white-space:nowrap}
@media(max-width:600px){
	.pd-buy,.pd-buyin{gap:8px}
	.pd-qty button{width:36px}.pd-qty b{min-width:28px;font-size:16px}
	.pd-share{width:48px}.pd-add{font-size:15px;gap:6px;padding:0 10px}
}

/* Prices: a green 3D pill with white text. */
.pr b,.of-p b,.dprice b,
.pr:has(s) b,.of-p:has(s) b,.dprice:has(s) b,
html[data-theme=dark] .pr b,html[data-theme=dark] .of-p b,html[data-theme=dark] .dprice b,
html[data-theme=dark] .pr:has(s) b,html[data-theme=dark] .of-p:has(s) b,html[data-theme=dark] .dprice:has(s) b{
	background:linear-gradient(180deg,#2FBF5F 0%,#16A34A 50%,#15803D 100%);color:#fff;border-radius:10px;padding:3px 10px;margin-bottom:3px;
	text-shadow:0 1px 1px rgba(0,60,20,.45);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 0 rgba(0,70,30,.25),0 3px 0 #0E6B30,0 6px 10px rgba(21,128,61,.3)
}

/* ===== Home redesign ===== */
.hero{display:grid;gap:12px;grid-template-columns:1fr}
.hero-main{position:relative;min-width:0}
.hero-main .banners{border-radius:24px}
.hero-main .banner{flex:0 0 100%;min-height:150px}
.bn-t{position:relative;z-index:1;max-width:58%}
.banner .bn-img{position:absolute;right:0;top:0;height:100%;width:46%;object-fit:cover;z-index:0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%);mask-image:linear-gradient(90deg,transparent,#000 30%)}
.banner:has(.bn-img)::after{display:none}
.hero-nav{display:none}
.hero-dots{position:absolute;left:50%;transform:translateX(-50%);bottom:10px;display:flex;gap:6px;z-index:3}.hero-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.55);transition:width .2s}.hero-dots i.on{width:22px;background:#fff;border-radius:6px}
.hero-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hero-side .banner{flex:none;min-height:110px}
.hero-side .banner h3{font-size:16px}
@media(min-width:960px){
	.hero{grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:18px}
	.hero-main .banner{min-height:300px;padding:32px 44px;border-radius:28px}
	.hero-main .bn-t{max-width:48%}.hero-main .banner h3{font-size:clamp(30px,3vw,44px);line-height:1.1;max-width:none}.hero-main .banner p{font-size:16px;max-width:380px;margin-top:10px}.hero-main .banner .cta{margin-top:22px;padding:12px 26px;font-size:15px}
	.hero-main .be{font-size:190px}
	.hero-nav{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:#fff;color:var(--leaf);box-shadow:0 6px 16px rgba(0,0,0,.18);z-index:3;cursor:pointer}.hero-nav.prev{left:12px}.hero-nav.prev .ic{transform:rotate(180deg)}.hero-nav.next{right:12px}
	.hero-dots{bottom:14px}
	.hero-side{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.hero-side .banner{min-height:0;padding:20px 24px}.hero-side .banner h3{font-size:20px}.hero-side .be{font-size:84px}
}

/* product rails: one row, filling the width on desktop */
@media(min-width:960px){
	.hrow{margin:0;padding-inline:0;gap:12px}
	.hrow>.pc{flex:0 0 calc((100% - 5 * 12px) / 6)}
	.hrow.nrow>.nc{flex:0 0 calc((100% - 3 * 12px) / 4)}
}
@media(min-width:1280px){
	.hrow>.pc{flex:0 0 calc((100% - 7 * 12px) / 8)}
	.hrow.nrow>.nc{flex:0 0 calc((100% - 4 * 12px) / 5)}
}

/* nearby shops */
.nc{display:flex;gap:12px;align-items:center;flex:0 0 260px;background:var(--surface);border-radius:18px;box-shadow:var(--sh);padding:12px;color:inherit;scroll-snap-align:start;min-width:0}
.nc-img{width:76px;height:76px;border-radius:14px;overflow:hidden;flex:none;display:grid;place-items:center;font-size:36px;background:linear-gradient(145deg,hsl(var(--h,260) 90% 96%),hsl(calc(var(--h,260) + 40) 85% 90%))}.nc-img img{width:100%;height:100%;object-fit:cover}
.nc-b{min-width:0;display:flex;flex-direction:column;gap:4px}.nc-b h3{font-size:15px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-b p{font-size:12.5px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nc-t{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.nc-m{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;color:var(--muted)}.nc-m .ic{width:13px;height:13px;margin-right:3px;vertical-align:-2px}
.nc.closed{opacity:.7}

/* recently viewed / buy again */

/* add buttons: green round + (as in the design) */
.qc .btn.add{background:linear-gradient(135deg,#34D399,#16A34A);color:#fff;border:0;border-radius:50%;width:36px;height:36px;min-height:36px;padding:0;box-shadow:0 5px 12px rgba(22,163,74,.38)}.qc .btn.add .ic{color:#fff}
.pm .qc{width:auto;right:10px;bottom:10px}.pm .qc .btn.add{margin-left:auto}.pm .qc .step{width:92px}
.step{background:linear-gradient(135deg,#34D399,#16A34A);box-shadow:0 5px 12px rgba(22,163,74,.35)}
.vil{color:#E11D48}html[data-theme=dark] .vil{color:#FDA4AF}
html[data-theme=dark] .nc{background:var(--surface)}
@media(max-width:959px){
	.hero-side .banner{padding:14px;min-height:128px;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px}
	.hero-side .bn-t{max-width:100%}.hero-side .banner p{display:none}
	.hero-side .banner .cta{padding:5px 12px;font-size:12px;white-space:nowrap;margin-top:8px}
	.hero-side .banner .be{position:absolute;right:10px;bottom:8px;font-size:42px;opacity:.95}
	.hero-main .banner .be{font-size:64px}
}

/* ===== compact bottom bar, smaller heart and prices, rounded-square + ===== */
@media(max-width:959px){
	:root{--bn:52px}
	.bnav{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:1fr}
	.bnav a{gap:1px;font-size:12px}.bnav a .ic{width:21px;height:21px}.bnav a.on::before{height:3px}
}
.heart{width:28px;height:28px;top:6px;right:6px}.heart .ic{width:15px;height:15px}
.pr b,.of-p b{font-size:15px}.dprice b{font-size:18px}
@media(min-width:960px){.pr b,.of-p b{font-size:17px}}
.pr b,.of-p b,.dprice b{padding:2px 8px;border-radius:9px;margin-bottom:2px;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 0 rgba(0,70,30,.25),0 2px 0 #0E6B30,0 5px 8px rgba(21,128,61,.28)}

/* every price shows on the green 3D pill */
.pp,.bill dl dd:not(:has(span.save)),.ck-amt,.ckbar b{display:inline-block;background:linear-gradient(180deg,#2FBF5F 0%,#16A34A 50%,#15803D 100%);color:#fff;border-radius:9px;padding:2px 8px;font-weight:800;line-height:1.3;margin-bottom:2px;text-shadow:0 1px 1px rgba(0,60,20,.45);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 0 rgba(0,70,30,.25),0 2px 0 #0E6B30,0 5px 8px rgba(21,128,61,.28)}
.sugg .pp{margin-left:auto;color:#fff}.cartbar small .pp{opacity:1}

/* add button: a rounded square with smooth corners */
.qc .btn.add{border-radius:12px;width:36px;height:36px}.qc .btn.add .ic{width:18px;height:18px}
.step{border-radius:12px}
.pm .qc .btn.add,.pc .pm .qc .btn.add{width:32px;height:32px;border-radius:11px}.pm .qc .step{width:84px;height:32px;border-radius:11px}

/* category tiles with an uploaded image */
.cat i.has-img{background:none;box-shadow:none;overflow:hidden;padding:0}.cat i.has-img img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}

/* One size for every heading and title (page titles, section titles, card titles). */
:root{--hs:18px}
@media(min-width:960px){:root{--hs:20px}}
#view h1,#view h2,.page h1,.h1,.sec-h h2{font-size:var(--hs)!important;font-weight:800;line-height:1.25;letter-spacing:-.2px}

/* Rows of cards: the first card lines up with the heading (scroll-snap was pushing it to the screen edge). */
.hrow{scroll-padding-inline:14px}
@media(min-width:960px){.hrow{scroll-padding-inline:0}}

/* Header by page: the search BAR is only on the home page and on the search page; every other page gets a search icon that opens the search page.
   The Shop/Food/Print switch and the delivery location belong to home (the location also to checkout). */
body[data-route]:not([data-route=home]) .modes{display:none!important}
body[data-route]:not([data-route=home]):not([data-route=checkout]) .loc{display:none!important}
body[data-route]:not([data-route=home]):not([data-route=search]) .searchbar{display:none!important}
body[data-route=search] .searchbar{display:flex!important}
body[data-route=home] .sicon,body[data-route=search] .sicon,body[data-route=login] .sicon,body[data-route=forgot] .sicon,body[data-route=apply] .sicon,body[data-route=merchant] .sicon,body[data-route=delivery] .sicon,body[data-route=pwa] .sicon{display:none!important}
@media(max-width:959px){
	body[data-route=search] .brand{display:none!important}
	body[data-route=search] .top-row{grid-template-columns:minmax(0,1fr) auto}
	body[data-route=search] .searchbar{grid-column:1;grid-row:1;height:44px;min-width:0}
	body[data-route=search] .hicons{grid-column:2;grid-row:1}
	body[data-route=checkout] .loc{grid-column:1/-1;grid-row:2}
}
@media(min-width:960px){
	body[data-route]:not([data-route=home]):not([data-route=search]):not([data-route=checkout]) .top-row{grid-template-columns:auto 1fr auto;grid-template-areas:"brand . nav"}
	body[data-route=search] .top-row{grid-template-columns:auto minmax(220px,760px) 1fr auto;grid-template-areas:"brand search . nav"}
	body[data-route=checkout] .top-row{grid-template-columns:auto minmax(200px,270px) 1fr auto;grid-template-areas:"brand loc . nav"}
	body[data-route=search] .searchbar{max-width:760px}
}

/* Payment page: only the delivery address in the top bar, no icons, no search, no bottom menu. */
body[data-route=checkout] :is(.hicons,.bell,.dcart,.sicon,.searchbar,.dnav .bell-d,.dnav .dcart){display:none!important}
body[data-route=checkout]{--bn:0px}
body[data-route=checkout] .bnav,body[data-route=checkout] .cartbar{display:none!important}
@media(max-width:959px){
	body[data-route=checkout] .brand{display:none!important}
	body[data-route=checkout] .top-row{grid-template-columns:minmax(0,1fr)}
	body[data-route=checkout] .loc{grid-column:1;grid-row:1;width:100%;max-width:none;min-width:0}
}

/* ===== Zepto-style type scale: compact and even. Body 14, titles 16, product names 12.5, small print 11 ===== */
:root{--hs:16px}
@media(min-width:960px){:root{--hs:18px}}
body{font-size:14px}
.pb h3,.sc h3,.gc-h h3{font-size:12.5px;font-weight:600;line-height:1.3}
.pb .u,.vil,.low,.nc-m,.tag,.ktag,.cartbar small,.ckbar small,.payopt small,.ck-h small,.pill,.sugg-note,.tl small{font-size:11px}
.cat,.cats.big .cat{font-size:11px;font-weight:600}
.pr b,.of-p b{font-size:13px}.prprice b,.dprice b{font-size:17px}.pd-add{font-size:15px}
.pp{font-size:inherit}
.qc .btn,.btn.sm,.of .qc .btn,.banner .cta{font-size:12.5px}
.btn{font-size:14px}
.chip,.notice,.filters .input,.offbar,.rc,.eta,.cartbar .go,.trackbar,.of-more summary,.opt2 span,.ck-sum,.acc-h,.ferr{font-size:12.5px}
.bill dl,.install ol,.cartbar a,.toast{font-size:13px}
.loc b{font-size:13px}.loc small{font-size:10.5px}
.bnav a,.bnav a span{font-size:11px}
.dnav a,.modes button{font-size:13px}
.banner h3,.hero-side .banner h3{font-size:16px}
.state h2,.dlg h3,.pk-sheet h3,.ck-h,.install h3{font-size:15px}
.brand,.brand-txt b{font-size:17px}
@media(min-width:960px){
	.pb h3,.sc h3{font-size:14px}.pr b,.of-p b{font-size:15px}.dnav a{font-size:13px}.cats.big .cat{font-size:13px}
}

/* ===== cart bar: one tidy line, price pill sized to its text ===== */
.cartbar span:first-child{flex-direction:row;align-items:center;gap:8px;flex-wrap:nowrap}
.cartbar small{display:flex;align-items:center;gap:6px;white-space:nowrap}
.cartbar small .pp{margin:0;padding:1px 8px;font-size:13px;line-height:1.3}

/* ===== product page on phones: full-bleed photo with floating buttons, no header or tab bar, fixed Add to Cart bar ===== */
.pd-top,.pd-cartbtn{display:none}
.pd-meta{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:11px;color:var(--muted);font-weight:600}.pd-meta .tag{font-size:11px}.pd-meta .ic{width:12px;height:12px;vertical-align:-2px}.pd-sn{margin-left:auto;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pd-unit{margin:2px 0 0;font-size:12px;font-weight:600}
@media(max-width:959px){
	body[data-route=product] :is(.topbar,.bnav,.cartbar,.trackbar,#installHost,#offlineBar){display:none!important}
	.pd-info>.h1{margin:2px 14px 0!important}
	body[data-route=product]{--bn:0px;padding-bottom:calc(84px + var(--sab));background:#F3F2F8}
	body[data-route=product] .toasts{bottom:calc(var(--sab) + 94px)}
	body[data-route=product] #view{padding:0 0 24px}
	.pd{background:none;box-shadow:none;border-radius:0;padding:0;gap:10px}
	.pd-gal{gap:0}
	.pd-main{aspect-ratio:1/.95;border-radius:0 0 22px 22px;font-size:150px;background:linear-gradient(160deg,hsl(var(--h,260) 90% 96%),#FFEDE4)}
	.pd-main img{padding:0;object-fit:cover}
	.pd-main .heart{top:auto;bottom:16px;right:14px;width:40px;height:40px}.pd-main .heart .ic{width:20px;height:20px}
	.pd-main .off{top:auto;bottom:16px;left:14px}
	.pd-top{display:flex;justify-content:space-between;position:absolute;top:calc(12px + var(--sat));left:12px;right:12px;z-index:3}
	.pd-top span{display:flex;gap:10px}
	.pd-top button,.pd-top a{width:40px;height:40px;border-radius:50%;background:#fff;color:var(--text);display:grid;place-items:center;border:0;padding:0;box-shadow:0 2px 8px rgba(0,0,0,.18)}
	.pd-top .ic{width:20px;height:20px}.pd-top button:first-child .ic{transform:rotate(180deg)}
	.pd-ths{padding:10px 14px 0;order:2}
	.pd-info{gap:0;background:#fff;border-radius:18px;margin:0 10px;padding:0 0 14px}
	.pd-info>.pd-trust,.pd-info>.pd-sold{margin-left:10px;margin-right:10px}
	.pd-info>*{margin-left:14px;margin-right:14px}
	.pd-info>.pd-meta{margin-top:14px}
	.pd-info>.h1{margin-top:2px}
	.pd-desc{margin-top:10px}
	.pd-buy{position:fixed;left:0;right:0;bottom:0;z-index:60;margin:0;padding:10px 14px calc(10px + var(--sab));background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(30,27,46,.08)}
	.pd-buy .pd-share,.pd-qty{display:none}
	.pd-cartbtn{display:grid;position:relative;place-items:center;flex:none;width:52px;height:52px;border-radius:14px;border:1.5px solid var(--line);background:#fff;color:var(--text)}.pd-cartbtn .badge{top:-6px;right:-6px}
	.pd-add{border-radius:14px;box-shadow:none;background:var(--grad)}
	.pd-trust{margin-left:14px;margin-right:14px;background:#fff;border-radius:18px;padding:12px}
	.pd-trust>div{border:0;background:var(--tint)}
	.pd-sold{margin-left:14px;margin-right:14px}
	.dprice b{font-size:22px;padding:3px 12px;border-radius:11px}
	.dprice s{font-size:13px}
}

/* product page bottom bar: never wider than the screen */
@media(max-width:959px){
	.pd-buy{box-sizing:border-box;width:100%}
	.pd-buyin{min-width:0}
	.pd-buyin>.btn.pd-add,.pd-buyin>.pd-add{min-width:0;flex:1 1 0;padding:0 8px;white-space:nowrap;overflow:hidden}
	.pd-step{width:auto;flex:0 0 40%;min-width:0}
}
@media(max-width:959px){body[data-route=product] #view>:not(.pd){margin-left:14px;margin-right:14px}} /* the page has no side padding here; sections below the photo keep their usual gutter so their scrolling rows don't push the page wider */

/* ===== partner mode (merchant / delivery): a plain header with just the page title and bell, role tabs in the bottom bar ===== */
.pm-title{display:none}
body.pm .pm-title{display:block;color:#fff;font-weight:800;font-size:17px;grid-column:1;grid-row:1}
body.pm :is(.brand,.loc,.modes,.searchbar,.sicon,.cart-m,.dcart,.cartbar,.trackbar){display:none!important}
body.pm #installHost{display:none!important}
body.pm .top-row{grid-template-columns:minmax(0,1fr) auto!important}
body.pm .hicons{grid-column:2;grid-row:1}
@media(max-width:959px){body[data-pm=merchant] .tabs,body[data-pm=delivery] .tabs{display:none}}
@media(min-width:960px){
	body.pm .brand{display:flex!important;grid-area:brand}
	body.pm .pm-title{grid-area:title;margin-left:8px}
	body.pm .top-row{grid-template-columns:auto 1fr auto!important;grid-template-areas:"brand title nav"!important}
	body.pm .dnav a[data-nav]:not([data-nav=account]){display:none!important}
	body.pm .hicons{display:none}
}

/* Accepting orders: when paused the whole bar turns grey (not red) and stays visible; tap it to resume. */
.accept{cursor:pointer}
.accept.paused{background:#EFEEF3;border-color:#D4D1DF}.accept.paused b{color:#6B6580}
.accept .toggle[aria-checked=false]{background:#9C97AE}
html[data-theme=dark] .accept.paused{background:#26233A;border-color:#3A3656}

/* ===== simple order handling: big plain buttons, roomy cards ===== */
.btn.big{min-height:54px;padding:0 22px;font-size:17px;border-radius:16px;flex:1 1 140px}
.btn.big.sec{background:#fff;color:var(--text);border:1.5px solid var(--line);box-shadow:none}
.ocard{margin:0 0 14px;padding:16px}
.ocard .row.wrap{gap:10px;margin-top:12px}
.ocard p{margin:8px 0}
.ocard .small{line-height:1.45}
.stats+.ocard,.stats+.notice,.stats+.card,.stats+div{margin-top:14px}
.ogrp{display:flex;align-items:center;gap:8px;margin:20px 0 10px}.ogrp span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:var(--line);font-size:13px}
.ogrp.new span{background:#F97316;color:#fff}.ogrp.prep span{background:#7C3AED;color:#fff}.ogrp.rdy span{background:#16A34A;color:#fff}
body[data-route=delivery] #view>.card,body[data-route=delivery] #view>.stats{margin-bottom:14px}
body[data-route=delivery] #view>h1{margin:2px 0 12px}

/* ===== date range bar and charts ===== */
.rbar{display:grid;gap:10px}
.rcustom{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.rcustom label{display:grid;gap:3px;flex:1 1 130px;font-size:12px;font-weight:700;color:var(--muted)}.rcustom .input{min-height:42px}.rcustom .btn{min-height:42px}
.chips .chip.on{background:var(--g2,#7C3AED);color:#fff;border-color:transparent}
.chart{overflow-x:auto;margin-top:10px;-webkit-overflow-scrolling:touch}
.chart-in{display:flex;align-items:stretch;gap:4px;height:160px}
.cc{flex:1;display:flex;flex-direction:column;min-width:0}.cb{flex:1;display:flex;align-items:flex-end;justify-content:center;gap:2px}.cb i{display:block;flex:1;max-width:18px;border-radius:5px 5px 0 0;min-height:0}
.cc>span{height:18px;font-size:10.5px;color:var(--muted);text-align:center;white-space:nowrap;overflow:visible}
.c1{background:#16A34A}.c2{background:#7C3AED}.c3{background:#EF4444}
.legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px;font-size:12px;color:var(--muted)}.legend span{display:flex;align-items:center;gap:5px}.legend i{display:block;width:10px;height:10px;border-radius:3px}
.ogrp.out span{background:#0EA5E9;color:#fff}
.ogrp small{font-size:12px;font-weight:600}
.rbar .chips{flex-wrap:wrap;overflow:visible}
.rbar>select{width:100%;min-height:46px;font-weight:700}.rcustom[hidden]{display:none}
.chart-in{gap:2px}.cb i{max-width:18px}

/* partner header: logo with the shop name (merchant) or partner name (delivery) underneath */
body.pm .brand{display:flex!important;grid-column:1;grid-row:1}
body.pm .pm-title{grid-column:1;grid-row:2;font-size:14px;font-weight:700;opacity:.92;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:-4px}
body.pm .hicons{grid-row:1/3;align-self:center}
body.pm .top-row{row-gap:0!important}
@media(min-width:960px){
	body.pm .top-row{grid-template-columns:1fr auto!important;grid-template-areas:"brand nav" "title nav"!important}
	body.pm .pm-title{margin-left:0}
}

/* partner header: logo only; the account type is shown as a pill on the page itself */
body.pm .pm-title{display:none!important}
body.pm .hicons{grid-row:1}

/* merchant products as cards */
.mgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(min-width:640px){.mgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:960px){.mgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.pcard{margin:0;padding:10px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.pcard p{margin:0}
.pth{width:100%;aspect-ratio:1;border-radius:14px;display:grid;place-items:center;font-size:46px;background:hsl(var(--h,120) 45% 94%);overflow:hidden}.pth img{width:100%;height:100%;object-fit:cover;display:block}
.pn{font-size:13.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.pact{width:100%;gap:8px;margin-top:auto;padding-top:4px}
/* sales: even spacing between cards */
.scols{display:grid;gap:14px;margin-top:14px}.scols>div{display:grid;gap:14px;align-content:start;min-width:0}
@media(min-width:960px){.scols{grid-template-columns:1fr 1fr}}
.pill-link{margin-left:6px;text-decoration:none;background:#EDE9FE}
/* villages: dropdown with tick boxes */
.msel{border:1.5px solid var(--line);border-radius:14px;background:#fff;position:relative}
.msel summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:0 14px;font-weight:600}.msel summary::-webkit-details-marker{display:none}
.msel summary .ic{transform:rotate(90deg);width:16px;height:16px;transition:transform .15s}.msel[open] summary .ic{transform:rotate(-90deg)}
.mpanel{display:grid;gap:2px;padding:6px 10px 10px;border-top:1px solid var(--line);max-height:260px;overflow:auto}.mpanel .check{padding:9px 4px;min-width:0!important}
html[data-theme=dark] .msel{background:var(--surface)}
.sset{font-size:15px;margin:6px 0 10px;padding:8px 12px;border-radius:12px;background:#F3E8FF;color:#5B21B6}

/* ===== location page ===== */
.locpage{max-width:560px;margin:0 auto;padding-bottom:20px}
.loc-top{display:flex;align-items:center;gap:12px;margin:4px 0 14px}.loc-top h1{margin:0}
.loc-back{width:42px;height:42px;border-radius:50%;border:1.5px solid var(--line);background:var(--surface,#fff);color:var(--text);display:grid;place-items:center;flex:none;padding:0}.loc-back .ic{transform:rotate(180deg);width:20px;height:20px}
.loc-search{display:flex;align-items:center;gap:10px;height:50px;padding:0 14px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface,#fff);margin-bottom:14px}.loc-search .ic{color:var(--muted);flex:none}.loc-search input{flex:1;min-width:0;border:0;background:none;outline:0;font-size:16px;color:var(--text)}
.loc-actions{padding:0;overflow:hidden;margin-bottom:6px}
.loc-cur{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--line)}.loc-cur>div{flex:1;min-width:0}.loc-cur b,.loc-add b{color:var(--g2,#7C3AED)}.loc-cur small{display:block;color:var(--muted);font-size:12px;line-height:1.35}
.loc-add{display:flex;align-items:center;gap:12px;width:100%;padding:14px;background:none;border:0;text-align:left;color:inherit}.loc-add b{flex:1}.loc-add>.ic:last-child{color:var(--muted);width:18px;height:18px}
.loc-ic{width:30px;height:30px;display:grid;place-items:center;color:var(--g2,#7C3AED)}.loc-ic .ic{width:22px;height:22px}
.loc-h{margin:22px 0 10px!important}
.loc-list{padding:0;overflow:hidden}
.la{display:flex;align-items:center;border-bottom:1px dashed var(--line)}.la:last-child{border-bottom:0}.la[hidden]{display:none}
.la-main{flex:1;min-width:0;display:flex;align-items:flex-start;gap:12px;padding:14px;background:none;border:0;text-align:left;color:inherit}.la-main>.ic{flex:none;width:22px;height:22px;margin-top:2px}
.la-main span{min-width:0}.la-main b{display:flex;align-items:center;gap:8px}.la-main small{display:block;color:var(--muted);font-size:12.5px;line-height:1.4;margin-top:2px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.la-more{width:44px;align-self:stretch;background:none;border:0;font-size:22px;color:var(--muted);flex:none}
.loc-vil .chip{font-size:13px}.loc-vil .chip.on{background:var(--g2,#7C3AED);color:#fff;border-color:transparent}.loc-vil .chip[hidden]{display:none}
@media(max-width:959px){
	body[data-route=location] :is(.topbar,.bnav,.cartbar,.trackbar,#installHost){display:none!important}
	body[data-route=location]{--bn:0px}
}
.loc-vil{flex-wrap:wrap;overflow:visible}

/* ===== dark mode for the newer pages ===== */
html[data-theme=dark] body[data-route=product]{background:var(--bg)}
html[data-theme=dark] :is(.pd-info,.pd-buy,.pd-trust,.pd-cartbtn,.pd-sold,.pd-top button,.pd-top a,.loc-back,.loc-search,.msel,.ocard,.stat,.pcard,.chart,.card){background:var(--surface);color:var(--text)}
html[data-theme=dark] .pd-trust>div{background:#26233A}
html[data-theme=dark] .pd-buy{border-top-color:rgba(255,255,255,.08)}
html[data-theme=dark] .pd-main{background:linear-gradient(160deg,#2A2644,#33264A)}
html[data-theme=dark] .heart{background:var(--surface);color:var(--text)}
html[data-theme=dark] .sset{background:#2E2650;color:#D8C8FF}
html[data-theme=dark] .pill-link{background:#2E2650}
html[data-theme=dark] .la-main small,html[data-theme=dark] .loc-cur small{color:var(--muted)}
html[data-theme=dark] .btn.big.sec{background:var(--surface);color:var(--text);border-color:rgba(255,255,255,.14)}
html[data-theme=dark] .pth{background:#2A2644}
html[data-theme=dark] .stat b{color:#D8C8FF}html[data-theme=dark] .stat small{color:var(--muted)}
html[data-theme=dark] .btn:disabled{background:#2A2644;color:#8F89AC}
html[data-theme=dark] .ogrp{color:var(--text)}
html[data-theme=dark] .seg .on{color:#EADFFF;background:#2E2650}
html[data-theme=dark] :is(.menu,.loc-list,.loc-actions,.la-main) .ic,html[data-theme=dark] .loc-ic{color:#B8A2F5}
html[data-theme=dark] :is(.loc-cur b,.loc-add b){color:#C9B8FF}

/* checkout: the address lives in the header; the full-width address bar shows up to two lines */
body[data-route=checkout] .loc{width:100%;max-width:none;min-width:0}
body[data-route=checkout] .loc b{-webkit-line-clamp:2}
.ck-more>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}.ck-more>summary::-webkit-details-marker{display:none}
.ck-more>summary::after{content:"+";font-size:20px;color:var(--muted)}.ck-more[open]>summary::after{content:"–"}
.ck-more .ck-body{margin-top:10px}
@media(min-width:960px){
	body[data-route=checkout] .top-row{grid-template-columns:auto minmax(0,1fr)!important;grid-template-areas:"brand loc"!important}
}
body[data-route=checkout] .dnav{display:none!important}

/* ===================== Desktop polish (960px and up) ===================== */
@media(min-width:960px){
	/* one even page margin, one heading size, one rhythm */
	:root{--gutter:clamp(32px,5vw,88px);--hs:20px}
	/* header: a single slim row */
	.topbar{padding:8px var(--gutter);box-shadow:0 4px 18px rgba(76,29,149,.2)}
	.top-row{gap:0 16px}
	html body .top-row{grid-template-columns:auto minmax(190px,250px) 236px minmax(240px,1fr) auto;grid-template-areas:"brand loc modes search nav"}
	.brand-chip{width:36px;height:36px;border-radius:11px}.brand-chip .ic{width:20px;height:20px}
	.brand-txt b{font-size:21px}.brand-txt small{display:none}
	.brand-logo,.brand .ic.logo-img{max-height:36px;height:36px;width:auto}
	.loc{padding:5px 12px;border-radius:14px;min-height:44px}.loc>.ic:first-child{width:30px;height:30px;padding:6px}
	.loc small{font-size:10.5px}.loc b{font-size:13px}
	.modes{grid-area:modes;width:auto;min-width:0;padding:3px;border-radius:12px;height:44px}.modes button{min-height:38px;font-size:13px;border-radius:9px}
	.searchbar{height:44px;padding:0 5px 0 16px}.sbtn{width:34px;height:34px}
	.dnav a.bell-d,.dnav a.dcart{width:40px;height:40px}
	.dnav a{padding:4px 8px}
	/* other pages: the same slim row without the Shop/Food/Print switch */
	body[data-route]:not([data-route=home]) .modes{display:none!important}
	body[data-route]:not([data-route=home]):not([data-route=search]):not([data-route=checkout]) .top-row{grid-template-columns:auto 1fr auto}
	/* card rows: same width as the grids */
	.hrow>.pc{flex:0 0 clamp(170px,14.5vw,215px)}
	.pgrid{gap:16px}.sgrid{gap:16px}.mgrid{gap:16px}
	section{margin-top:28px}
	.sec-h{margin-bottom:14px}
	/* one type scale */
	body{font-size:14px}
	#view h1,#view h2,.page h1,.h1,.sec-h h2{font-size:var(--hs)!important}
	.pb h3,.sc h3,.gc-h h3,.pd-sold h3,.nc-t{font-size:14px;font-weight:700;line-height:1.3}
	.pr b,.of-p b{font-size:15px}.dprice b{font-size:20px}
	.small,small{font-size:12px}
	.pb .u,.vil,.low,.tag,.ktag,.pill{font-size:11px}
	.btn{font-size:14px}.btn.sm,.qc .btn,.chip,.filters .input{font-size:13px}
	.cat,.cats.big .cat{font-size:13px;font-weight:600}
	.acc-h{font-size:12px}
	.bill dl,.ck-sum,.notice{font-size:13px}
}
@media(min-width:960px){
	html body .top-row{grid-template-columns:auto minmax(190px,250px) 276px minmax(240px,1fr) auto}
	.modes button{flex-direction:row;white-space:nowrap;padding:0 8px;gap:6px}
}
@media(min-width:960px){
	.state{max-width:560px;margin-left:auto;margin-right:auto}
	form[data-form=storefilter]{grid-template-columns:minmax(0,1fr) 220px!important;max-width:760px}
	.pgrid{grid-auto-rows:1fr}
	.ckbar{padding-left:max(var(--gutter),calc(50% - 300px));padding-right:max(var(--gutter),calc(50% - 300px))}
}
@media(min-width:960px){
	/* dashboards: a comfortable column, not edge to edge */
	body[data-route=merchant] #view,body[data-route=delivery] #view{max-width:calc(1180px + 2 * var(--gutter))}
	.ocard .btn.big{flex:0 1 240px}
	.rbar>select{max-width:320px}.rcustom{max-width:520px}
	.cb i{max-width:34px}
	form[data-form=mstore],form[data-form=mproduct]{max-width:780px}
	.stats{max-width:none}
}
@media(min-width:960px){.mgrid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.pth{aspect-ratio:4/3;font-size:38px}}
@media(min-width:960px) and (max-width:1199px){
	html body .top-row{grid-template-columns:auto minmax(140px,190px) 210px minmax(140px,1fr) auto;column-gap:10px}
	.brand-txt{display:none}.brand-logo{max-width:110px;object-fit:contain}
	.modes button{font-size:12px;padding:0 4px;gap:4px}
	.dnav a{padding:4px 6px}
}
/* the address bar spans the whole header: text takes the free space, the arrow sits at the far right */
.loc{display:flex;align-items:center;width:100%}
.loc>span{flex:1 1 auto;min-width:0;text-align:left}
.loc>.ic:last-child{margin-left:auto;flex:none}
body[data-route=checkout] .loc{padding-right:12px}

/* bottom bar slides away on the way down and back on the way up (phones) */
@media(max-width:959px){
	.bnav,.cartbar,.trackbar{transition:transform .28s cubic-bezier(.3,.7,.2,1)}
	body.bn-hide .bnav{transform:translateY(100%)}
	body.bn-hide :is(.cartbar,.trackbar){transform:translateY(calc(var(--bn) + var(--sab)))}
}
@media(prefers-reduced-motion:reduce){.bnav,.cartbar,.trackbar{transition:none}}

/* ===== customer header title (phones): Account, Categories, Notifications ===== */
@media(max-width:959px){
	body[data-title]:not(.pm):not([data-title=""]) .brand{display:none!important}
	body[data-title]:not(.pm):not([data-title=""]) .pm-title{display:block!important;color:#fff;font-weight:800;font-size:18px;grid-column:1;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* ===== motion ===== */
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes pop{0%{transform:scale(1)}40%{transform:scale(1.28)}100%{transform:scale(1)}}
@keyframes slideup{from{transform:translateY(120%);opacity:0}to{transform:none;opacity:1}}
@keyframes wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-8deg)}75%{transform:rotate(8deg)}}
@media(prefers-reduced-motion:no-preference){
	#view.in :is(.pc,.sc,.nc,.cat,.ocard,.pcard,.stat,.card,.banner,.state){animation:rise .42s cubic-bezier(.2,.7,.2,1) backwards}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(2){animation-delay:0.045s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(3){animation-delay:0.09s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(4){animation-delay:0.135s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(5){animation-delay:0.18s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(6){animation-delay:0.22499999999999998s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(7){animation-delay:0.27s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(8){animation-delay:0.315s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(9){animation-delay:0.36s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(10){animation-delay:0.40499999999999997s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(11){animation-delay:0.44999999999999996s}
#view.in :is(.pgrid,.hrow,.sgrid,.mgrid,.cats,.stats)>:nth-child(12){animation-delay:0.44999999999999996s}
	#view.in section>.sec-h{animation:rise .35s ease backwards}
	.pc,.sc,.nc,.pcard,.cat i{transition:transform .22s ease,box-shadow .22s ease}
	@media(hover:hover){.pc:hover,.sc:hover,.nc:hover,.pcard:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(76,29,149,.16)}.cat:hover i{transform:translateY(-3px) scale(1.05)}}
	.btn,.qc .btn,.step button,.chip,.bnav a,.heart{transition:transform .12s ease,filter .15s ease,background .2s ease}
	.btn:active,.qc .btn:active,.step button:active,.chip:active,.heart:active{transform:scale(.92)}
	.bump{animation:pop .4s ease}
	.cartbar.bump a{animation:pop .4s ease}
	.cartbar:not([hidden]){animation:slideup .4s cubic-bezier(.2,.8,.2,1)}
	.heart.on .ic{animation:pop .4s ease}
	.bnav a.on .ic{animation:pop .45s ease}
	.bell:has(.badge:not([hidden])) .ic{animation:wiggle .9s ease .6s 1}
	.toast{animation:rise .3s ease backwards}
	.step span{display:inline-block;animation:pop .25s ease}
}

/* ===== search: one grouped Filters panel ===== */
.fgroup{background:var(--surface,#fff);border:1.5px solid var(--line);border-radius:14px;margin:10px 0 12px}
.fgroup>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:46px;padding:0 14px;font-weight:700}.fgroup>summary::-webkit-details-marker{display:none}
.fgroup>summary>span{display:flex;align-items:center;gap:8px;flex:1}.fgroup>summary .ic{width:18px;height:18px}.fgroup>summary>.ic:last-child{transform:rotate(90deg);transition:transform .2s}.fgroup[open]>summary>.ic:last-child{transform:rotate(-90deg)}
.fcount{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--g2,#7C3AED);color:#fff;font-size:12px}
.fgroup .filters{padding:4px 14px 14px;margin:0;border-top:1px solid var(--line);grid-template-columns:1fr 1fr;align-items:center}
.fclear{grid-column:1/-1;justify-self:start;font-size:13px;font-weight:700;color:var(--g2,#7C3AED);text-decoration:underline}
@media(min-width:960px){.fgroup .filters{grid-template-columns:repeat(4,minmax(0,1fr))}.fgroup{max-width:900px}}
/* categories and notifications: the title is already in the app header */
@media(max-width:959px){
	body[data-route=categories] #view>h1.h1{display:none}
	body[data-route=notifications] #view>.row .h1{display:none}
	body[data-route=notifications] #view>.row{justify-content:flex-end}
}

/* ===== account section: no search or cart in the header, the theme button instead ===== */
.themebtn{display:none!important;border:0;background:none;font-size:19px;line-height:1;cursor:pointer}
body[data-acct="1"] .themebtn.bell-m{display:grid!important}
body[data-acct="1"] :is(.sicon,.cart-m,.dcart){display:none!important}
@media(min-width:960px){
	body[data-acct="1"] .themebtn.bell-m{display:none!important}
	body[data-acct="1"] .themebtn.bell-d{display:grid!important}
}
/* the page title lives in the header on phones, so the big title under it goes */
@media(max-width:959px){
	body[data-route=orders] #view>h1.h1:first-child,body[data-route=wishlist] #view>h1.h1:first-child,body[data-route=legal] #view>h1.h1:first-child,body[data-route=pwa] #view>h1.h1:first-child{display:none}
	body[data-route=account][data-sub=profile] #view>h1.h1,body[data-route=account][data-sub=addresses] #view>h1.h1,body[data-route=account][data-sub=prefs] #view>h1.h1{display:none}
}
@media(max-width:959px){body[data-route=pwa] #view h1.h1{display:none}}

/* ===== Desktop: every page uses the full width between the side margins ===== */
.ck-cols>div>.card:first-child,.ck-cols>div>div:first-child{margin-top:0}
@media(min-width:960px){
	body[data-route] #view{max-width:none}
	body[data-route=merchant] #view,body[data-route=delivery] #view{max-width:none}
	.state{max-width:none}
	.locpage{max-width:none}
	form[data-form=storefilter]{max-width:none}
	.fgroup{max-width:none}
	form[data-form=mstore],form[data-form=mproduct]{max-width:none}
	.rcustom{max-width:none}
	/* checkout: left = address options, items, coupon; right = bill and payment */
	.ckform{max-width:none;margin:0}
	.ck-cols{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(340px,1fr);gap:20px;align-items:start}
	.ck-side{position:sticky;top:84px}
	.ckbar{padding-left:var(--gutter);padding-right:var(--gutter)}
}

/* ===== merchant "Customer view": only the logo and a back button in the header, no bottom menu ===== */
.pvback{display:none}
html body[data-preview="1"] .pvback{display:inline-flex;align-items:center;gap:4px;grid-area:back;grid-column:1;grid-row:1;border:0;background:rgba(255,255,255,.16);color:#fff;font-weight:700;font-size:14px;width:42px;height:42px;padding:0;justify-content:center;border-radius:50%;cursor:pointer}
html body[data-preview="1"] .pvback .ic{transform:rotate(180deg);width:20px;height:20px}
html body[data-preview="1"] :is(.hicons,.sicon,.bell,.cart-m,.dcart,.searchbar,.loc,.modes,.dnav,.pm-title,.bnav,.cartbar,.trackbar,#installHost){display:none!important}
html body[data-preview="1"] .brand{display:flex!important;grid-area:brand;grid-column:2;grid-row:1}
html body[data-preview="1"] .top-row{grid-template-columns:auto 1fr!important;grid-template-areas:"back brand"!important;gap:0 14px!important}
html body[data-preview="1"]{--bn:0px}
/* browsing only: nothing to add to a cart in this view */
html body[data-preview="1"] :is(.qc,.pd-buy,.pd-top a[href="#/search"]){display:none!important}
html body[data-preview="1"][data-route=product]{padding-bottom:24px}

@media(max-width:959px){body[data-route=stores] #view>h1.h1:first-child{display:none}} /* the header already says Stores */

/* ===== search page: title and count on the left, a filter icon on the right, tidy chips ===== */
.shead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:2px 0 12px}.shead .h1{margin:0}.shead p{margin:2px 0 0}
.ibtn{position:relative;flex:none;width:44px;height:44px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface,#fff);color:var(--text);display:grid;place-items:center;cursor:pointer;padding:0}
.ibtn .ic{width:21px;height:21px}.ibtn.on,.ibtn[aria-expanded=true]{border-color:var(--g2,#7C3AED);color:var(--g2,#7C3AED)}
.ibtn .fcount{position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;font-size:11px}
.fpanel{background:var(--surface,#fff);border:1.5px solid var(--line);border-radius:16px;padding:12px;margin:0 0 12px}.fpanel[hidden]{display:none}
.fpanel .filters{margin:0;grid-template-columns:1fr 1fr;gap:10px;align-items:center}
@media(min-width:960px){.fpanel .filters{grid-template-columns:repeat(4,minmax(0,1fr))}}
.achips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.achips .chip{display:inline-flex;align-items:center;gap:6px;background:#EDE9FE;border-color:transparent;color:#5B21B6;font-weight:700}.achips .chip .ic{width:14px;height:14px}
html[data-theme=dark] .achips .chip{background:#2E2650;color:#D8C8FF}
.ssec{margin:0 0 18px}
.ssec-h{display:flex;align-items:center;gap:8px;margin-bottom:10px}.ssec-h h2{margin:0;flex:1}.ssec-h .ic{width:18px;height:18px;color:var(--g2,#7C3AED);flex:none}
.ssec-h button{background:none;border:0;color:var(--g2,#7C3AED);font-weight:700;font-size:13px;padding:4px}
.ssec .chips{flex-wrap:wrap;overflow:visible;gap:8px}

.gps-fab.busy{animation:gpsPulse 1s ease-in-out infinite}@keyframes gpsPulse{50%{box-shadow:0 0 0 8px rgba(124,58,237,.22)}}
/* recent searches and trending: one row that scrolls sideways instead of wrapping onto many lines */
.ssec .chips{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:8px;margin:0 -14px;padding:2px 14px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-padding-inline:14px}
.ssec .chips::-webkit-scrollbar{display:none}
.ssec .chips .chip{flex:none;white-space:nowrap}
@media(min-width:960px){.ssec .chips{margin:0 calc(-1 * var(--gutter));padding-left:var(--gutter);padding-right:var(--gutter);scroll-padding-inline:var(--gutter)}}

/* several shops under one product: the full shop name (wrapping if long) and its village */
.of{align-items:flex-start}.of .qc,.of-p{align-self:center}
.of-s b{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25;font-size:13px}
.of-s small.of-v{font-weight:700;color:var(--muted)}

/* ===== product cards: a little wider, noticeably shorter ===== */
.pimg{aspect-ratio:1/.64}
.pb{padding:12px 8px 8px}
.hrow>.pc{flex:0 0 126px}
.pgrid{gap:7px}
@media(min-width:600px){.hrow>.pc{flex-basis:140px}}
@media(min-width:960px){
	.pimg{aspect-ratio:1/.68}
	.pb{padding:14px 10px 10px}
	.hrow>.pc{flex:0 0 clamp(190px,15.5vw,236px)}
	.pgrid{grid-template-columns:repeat(auto-fill,minmax(226px,1fr));gap:16px}
}

/* ===== the add (+) button sits beside the price, not on the photo ===== */
.pc .pb{padding:9px 8px 9px;gap:2px}
.pc .prow{order:1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 6px;margin:0 0 4px}
.pc .prow .pr{order:0;margin:0;min-width:0;flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.pc .prow .qc{margin:0;width:auto;flex:none;position:static}
.pc .pb .qc .btn.add{width:32px;height:32px;min-height:32px;padding:0;border-radius:11px;background:linear-gradient(135deg,#34D399,#16A34A);color:#fff;border:0}
.pc .pb .qc .step{width:84px;height:32px;border-radius:11px}.pc .pb .qc .step button{width:28px}
.pc .pb .qc:has(.btn:disabled){flex:1 1 100%;width:100%}.pc .pb .qc .btn:disabled{width:100%;height:30px;min-height:30px;border-radius:9px}
.pc .pb h3{order:2}.pc .pb .u{order:3}.pc .pb .vil{order:4}.pc .pb .low{order:5}
html[data-theme=dark] .pc .pb .qc .btn.add{background:linear-gradient(135deg,#34D399,#16A34A);color:#fff}
html[data-theme=dark] .pc .pb .qc .btn:disabled{background:#2A2644;color:#8F89AC}
@media(min-width:960px){.pc .pb{padding:11px 10px 11px}.pc .pb .qc .btn.add{width:34px;height:34px}.pc .pb .qc .step{width:92px;height:34px}}
.pc .pb .qc:has(.step){flex:1 1 100%;width:100%}.pc .pb .qc .step{width:100%;max-width:none}

/* add (+) buttons and quantity steppers: #fc5022 instead of green */
.qc .btn.add,.pc .pb .qc .btn.add,html[data-theme=dark] .pc .pb .qc .btn.add{background:#fc5022;color:#fff;border:0;box-shadow:0 5px 12px rgba(252,80,34,.35)}
.qc .btn.add .ic{color:#fff}
.step,html[data-theme=dark] .step{background:#fc5022;color:#fff;box-shadow:0 5px 12px rgba(252,80,34,.35)}
.step button{color:#fff}

.pk-out{margin:8px 0 10px;padding:8px 10px;border-radius:10px;background:#fdecea;color:#b3261e;font-size:13px;font-weight:600}
.pk-out[hidden]{display:none}
[data-theme=dark] .pk-out{background:#3b1d1a;color:#ffb4ab}

/* checkout: one even gap between every card, on phone and desktop */
.ck-cols>div{display:flex;flex-direction:column;gap:12px}
.ck-cols>div+div{margin-top:12px}
.ck-cols>div>*{margin:0!important}
.ck-cols>div>[hidden]{display:none}
@media(min-width:960px){.ck-cols>div+div{margin-top:0}}

/* pin screen: search bar next to the close button, results list, address line */
.pk-search{position:absolute;top:calc(var(--sat) + 12px);left:62px;right:12px;z-index:600}
.pk-search input{width:100%;height:42px;border:0;border-radius:21px;padding:0 16px;background:#fff;color:var(--text);box-shadow:0 4px 14px rgba(0,0,0,.22);font-size:14px}
.pk-res{list-style:none;margin:6px 0 0;padding:4px;background:#fff;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.25);max-height:42vh;overflow:auto}
.pk-res[hidden]{display:none}
.pk-res li{padding:10px 12px;font-size:13px}
.pk-res li button{display:flex;gap:10px;align-items:flex-start;width:100%;text-align:left;background:none;border:0;padding:8px;border-radius:10px;color:var(--text);font-size:13px}
.pk-res li button:active{background:var(--bg)}.pk-res .ic{width:16px;height:16px;flex:none;margin-top:1px;color:#7E22CE}
.pk-addr{margin:2px 0 4px;color:var(--text);font-weight:600;min-height:18px}
html[data-theme=dark] :is(.pk-search input,.pk-res){background:var(--surface);color:var(--text)}
.loc-add .loc-t{flex:1;min-width:0}.loc-add small{display:block;font-weight:400;color:var(--muted);font-size:12px}
