:root{color-scheme:light;--brand:#ff5a1f;--brand-ink:#fff;--bg:#f6f4f1;--card:#fff;--ink:#17130f;--mute:#776f66;--line:#ece7e1;--ok:#14a44d;--wa:#25d366;--r:18px;--shadow:0 6px 24px rgba(30,20,10,.08)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth;scroll-padding-top:118px}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.45 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
#app{max-width:560px;margin:0 auto;background:var(--bg);min-height:100vh;padding-bottom:110px}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
h1,h2,h3{font-family:"Bricolage Grotesque",Inter,sans-serif;margin:0;letter-spacing:-.01em}
[hidden]{display:none!important}

.demo-ribbon{background:#17130f;color:#ffd7c7;font-size:12px;text-align:center;padding:7px 12px}

/* hero */
.hero{position:relative}
.hero-img{height:190px;background:#2a1d14 center/cover no-repeat}
.hero-img::after{content:"";position:absolute;inset:0 0 auto;height:190px;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35))}
.hero-card{position:relative;margin:-56px 14px 0;background:var(--card);border-radius:22px;padding:46px 18px 16px;text-align:center;box-shadow:var(--shadow);z-index:1}
.logo{position:absolute;top:-42px;left:50%;transform:translateX(-50%);width:84px;height:84px;border-radius:50%;border:4px solid #fff;background:var(--brand) center/cover;color:var(--brand-ink);display:grid;place-items:center;font:800 28px "Bricolage Grotesque";box-shadow:var(--shadow)}
.hero h1{font-size:25px;line-height:1.1}
.slogan{margin:4px 0 10px;color:var(--mute);font-size:14px}
.status{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:99px;font-size:13px;font-weight:600;background:#e9f8ef;color:var(--ok)}
.status::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(20,164,77,.18)}
.status.off{background:#fdecec;color:#d23b3b}.status.off::before{box-shadow:0 0 0 3px rgba(210,59,59,.15)}
.status::after{content:"ⓘ";font-weight:400;opacity:.7}
.facts{display:grid;grid-template-columns:repeat(3,1fr);margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.facts span{display:flex;flex-direction:column;font-size:14px}.facts span+span{border-left:1px solid var(--line)}
.facts small{color:var(--mute);font-size:12px}

.promo{margin:14px 14px 0;padding:13px 15px;border-radius:16px;background:linear-gradient(135deg,var(--brand),#ffb020);color:#fff;font-weight:600;font-size:14px;display:flex;gap:10px;align-items:center;box-shadow:0 8px 20px rgba(255,90,31,.25)}
.promo b{font-size:16px}
.repeat{display:flex;align-items:center;gap:12px;width:calc(100% - 28px);margin:12px 14px 0;padding:12px 14px;background:var(--card);border-radius:16px;text-align:left;box-shadow:var(--shadow)}
.repeat-ico{width:38px;height:38px;border-radius:12px;background:#fff1ea;color:var(--brand);display:grid;place-items:center;font-size:20px;font-weight:700}
.repeat span:nth-child(2){flex:1;display:flex;flex-direction:column}.repeat small{color:var(--mute);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.chev{font-size:24px;color:var(--mute)}

/* sticky search + chips */
.sticky{position:sticky;top:0;z-index:5;background:var(--bg);padding:12px 14px 8px;margin-top:6px}
.sticky.shadow{box-shadow:0 6px 14px rgba(30,20,10,.06)}
.search{display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:0 12px;height:44px}
.search svg{width:18px;height:18px;fill:none;stroke:var(--mute);stroke-width:2;stroke-linecap:round;flex:none}
.search input{border:0;outline:0;background:none;width:100%;height:100%;font-size:16px}
.chips{display:flex;gap:8px;overflow-x:auto;padding:10px 0 2px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips button{flex:none;padding:7px 14px;border-radius:99px;background:var(--card);border:1px solid var(--line);font-size:14px;font-weight:600;color:var(--mute);transition:.15s}
.chips button.on{background:var(--ink);border-color:var(--ink);color:#fff}

/* menu */
main{padding:0 14px}
.sec{padding-top:18px}
.sec h2{font-size:20px;margin:0 0 10px}
.top-row{display:flex;gap:12px;overflow-x:auto;margin:0 -14px;padding:2px 14px 6px;scroll-snap-type:x mandatory;scrollbar-width:none}
.top-row::-webkit-scrollbar{display:none}
.top{flex:none;width:150px;scroll-snap-align:start;background:var(--card);border-radius:16px;overflow:hidden;text-align:left;box-shadow:var(--shadow)}
.top .ph{height:110px}
.top div.t{padding:9px 11px 11px}.top b{display:block;font-size:14px;line-height:1.25;height:2.5em;overflow:hidden}.top span{color:var(--brand);font-weight:700;font-size:14px}
.item{display:flex;gap:12px;width:100%;text-align:left;background:var(--card);border-radius:var(--r);padding:12px;margin-bottom:10px;box-shadow:0 1px 0 var(--line);transition:transform .1s}
.item:active{transform:scale(.985)}
.item .tx{flex:1;min-width:0;display:flex;flex-direction:column}
.item b{font-size:15.5px;line-height:1.25}
.item p{margin:4px 0 8px;color:var(--mute);font-size:13.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item .pr{margin-top:auto;font-weight:700}
.item .pr small{color:var(--mute);font-weight:500;font-size:12px;margin-right:4px}
.item .ph{width:104px;height:104px;border-radius:14px;flex:none;position:relative}
.item .ph .plus{position:absolute;right:6px;bottom:6px;width:30px;height:30px;border-radius:50%;background:#fff;color:var(--brand);display:grid;place-items:center;font-size:20px;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.item.off{opacity:.55}.item.off .pr{color:#d23b3b;font-size:13px}
.ph{background:#efe7df center/cover no-repeat;display:grid;place-items:center;font-size:34px}
.badge{display:inline-block;font-size:11px;font-weight:700;color:var(--brand);background:#fff1ea;padding:2px 7px;border-radius:6px;margin-bottom:4px;align-self:flex-start}
.empty{text-align:center;color:var(--mute);padding:40px 10px}
.foot{padding:26px 20px 10px;text-align:center;color:var(--mute);font-size:12.5px}
.foot a{color:inherit}
.foot .pw{display:inline-block;margin-top:10px;opacity:.7}

/* cart bar */
.cartbar{position:fixed;left:50%;transform:translateX(-50%);bottom:max(14px,env(safe-area-inset-bottom));width:min(532px,calc(100% - 28px));height:56px;border-radius:16px;background:var(--brand);color:var(--brand-ink);display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-weight:700;font-size:16px;box-shadow:0 10px 26px rgba(255,90,31,.35);z-index:20;animation:up .3s ease}
.cb-qty{background:rgba(255,255,255,.25);min-width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-size:14px}
.cartbar.bump{animation:bump .35s ease}
@keyframes up{from{transform:translate(-50%,120%)}}
@keyframes bump{50%{transform:translateX(-50%) scale(1.04)}}

/* sheets */
.backdrop{position:fixed;inset:0;background:rgba(15,10,5,.5);opacity:0;pointer-events:none;transition:opacity .25s;z-index:30}
.backdrop.on{opacity:1;pointer-events:auto}
.sheet{position:fixed;left:50%;bottom:0;width:min(560px,100%);height:94vh;height:94dvh;transform:translate(-50%,105%);background:var(--card);border-radius:22px 22px 0 0;z-index:40;display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.2,.8,.2,1);overflow:hidden}
.sheet.small{height:auto;max-height:85dvh}
.sheet.on{transform:translate(-50%,0)}
.sh-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain}
.sh-scroll.pad{padding:4px 18px 18px}
.sh-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px;border-bottom:1px solid var(--line)}
.sh-head h2{font-size:20px}
.sh-close{position:absolute;top:12px;right:12px;z-index:2;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 2px 10px rgba(0,0,0,.15);font-size:15px}
.sh-close.static{position:static;box-shadow:none;background:#f3efea}
.sh-foot{display:flex;gap:10px;align-items:center;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--card)}
.sh-foot.col{flex-direction:column;align-items:stretch}
.pd-img{height:250px}
.pd-body{padding:16px 18px 10px}
.pd-body h2{font-size:23px}
.pd-desc{color:var(--mute);margin:6px 0 8px}
.pd-price{font-weight:700;font-size:18px;margin:0 0 6px}
.grp{margin:16px -18px 0;}
.grp-h{display:flex;justify-content:space-between;align-items:center;background:#f6f3ef;padding:10px 18px}
.grp-h b{font-size:15px}.grp-h small{display:block;color:var(--mute);font-size:12.5px}
.tag{font-size:11px;font-weight:700;padding:3px 8px;border-radius:6px;background:#17130f;color:#fff}
.tag.ok{background:#e9f8ef;color:var(--ok)}
.opt{display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid var(--line);cursor:pointer}
.opt span{flex:1}.opt em{font-style:normal;color:var(--mute);font-size:14px}
.opt input{appearance:none;width:22px;height:22px;border:2px solid #cfc6bc;border-radius:7px;margin:0;display:grid;place-items:center;transition:.15s;flex:none}
.opt input[type=radio]{border-radius:50%}
.opt input:checked{border-color:var(--brand);background:var(--brand)}
.opt input:checked::after{content:"";width:8px;height:8px;border-radius:50%;background:#fff}
.opt input[type=checkbox]:checked::after{content:"✓";width:auto;height:auto;background:none;color:#fff;font-size:13px;font-weight:800;line-height:1}
.opt.dis{opacity:.45}
.field{display:flex;flex-direction:column;gap:5px;margin-top:14px}
.field span{font-size:13px;font-weight:600;color:var(--mute)}
.field input,.field select,.field textarea,.cupom input{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:12px;background:#fff;font-size:16px;outline:0;transition:border-color .15s}
.field input:focus,.field select:focus,.field textarea:focus,.cupom input:focus{border-color:var(--brand)}
.field .bad,.bad{border-color:#e0533d!important;background:#fff6f4!important}
.row2{display:flex;gap:10px}.grow{flex:1}.w90{width:90px;flex:none}
.stepper{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:14px;height:50px}
.stepper button{width:44px;height:100%;font-size:22px;color:var(--brand);font-weight:700}
.stepper b{min-width:22px;text-align:center}
.btn{flex:1;height:52px;border-radius:14px;background:var(--brand);color:var(--brand-ink);font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;padding:0 14px}
.btn:disabled{opacity:.45}
.btn.ghost{flex:none;background:#f3efea;color:var(--ink);height:48px}
.btn.wa{background:var(--wa);color:#fff}.btn.wa svg{width:22px;height:22px;fill:#fff}
.link{color:var(--brand);font-weight:600;padding:12px 0;display:block}
.sheet h3{font-size:17px;margin:22px 0 2px}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.seg.three{grid-template-columns:repeat(3,1fr)}
.seg button{height:46px;border-radius:12px;border:1.5px solid var(--line);font-weight:600;font-size:14.5px}
.seg button.on{border-color:var(--brand);background:#fff4ee;color:var(--brand)}
.hint{color:var(--mute);font-size:13px;margin:8px 0 0}
.hint.good{color:var(--ok);font-weight:600}.hint.bad{color:#d23b3b;border:0!important;background:none!important}
.ci{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.ci .ph{width:56px;height:56px;border-radius:12px;flex:none;font-size:22px}
.ci .tx{flex:1;min-width:0}.ci b{font-size:15px}.ci small{display:block;color:var(--mute);font-size:12.5px;line-height:1.35}
.ci .side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:6px}
.ci .stepper{height:34px;border-radius:10px}.ci .stepper button{width:32px;font-size:18px}
.resumo{margin-top:22px;background:#f8f5f1;border-radius:14px;padding:12px 14px}
.resumo div{display:flex;justify-content:space-between;padding:4px 0;font-size:14.5px}
.resumo .disc{color:var(--ok)}
.resumo .tot{border-top:1px dashed #d9d0c6;margin-top:6px;padding-top:10px;font-weight:800;font-size:18px}
.resumo .save{margin-top:8px;background:#e9f8ef;color:var(--ok);border-radius:10px;padding:8px 10px;font-size:13px;font-weight:600;display:block}
.erro{color:#d23b3b;font-size:13.5px;font-weight:600;margin:0;text-align:center}.erro:empty{display:none}
.ok{text-align:center;padding:30px 22px 22px!important}
.ok-ico{width:72px;height:72px;border-radius:50%;background:#e9f8ef;color:var(--ok);font-size:36px;font-weight:800;display:grid;place-items:center;margin:0 auto 14px;animation:pop .4s ease}
.ok h2{font-size:24px}.ok p{color:var(--mute);margin:8px 0 18px}
@keyframes pop{0%{transform:scale(.4)}70%{transform:scale(1.1)}}
.info-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.info-row.today{font-weight:700;color:var(--brand)}
.toast{position:fixed;left:50%;bottom:86px;transform:translate(-50%,20px);background:#17130f;color:#fff;padding:10px 16px;border-radius:12px;font-size:14px;font-weight:600;opacity:0;pointer-events:none;transition:.25s;z-index:60;white-space:nowrap}
.toast.on{opacity:1;transform:translate(-50%,0)}
.install{margin:16px 14px 0;display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:16px;background:#17130f;color:#fff;width:calc(100% - 28px);text-align:left}
.install b{display:block}.install small{color:#cbbfb3}
.install .ic{width:38px;height:38px;border-radius:11px;background:var(--brand);display:grid;place-items:center;font-size:18px;flex:none}
@media (min-width:600px){body{background:#ebe6e0}#app{box-shadow:0 0 40px rgba(0,0,0,.06)}}
.bubble{text-align:left;background:#e7ffdb;border-radius:4px 14px 14px 14px;padding:12px 14px;font-size:13.5px;line-height:1.5;margin:4px 0 14px;box-shadow:0 1px 2px rgba(0,0,0,.12);max-height:46dvh;overflow:auto;position:relative}
.bubble::before{content:"WhatsApp da loja";display:block;font-size:11px;font-weight:700;color:#128c4a;margin-bottom:6px;letter-spacing:.04em;text-transform:uppercase}

/* máquina de recompra */
.flash{margin:14px 14px 0;padding:14px 15px 15px;border-radius:18px;background:#17130f;color:#fff;position:relative;overflow:hidden}
.flash::after{content:"";position:absolute;right:-30px;top:-30px;width:120px;height:120px;border-radius:50%;background:var(--brand);opacity:.35;filter:blur(20px)}
.fl-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}
.fl-tag{white-space:nowrap;font-weight:800;letter-spacing:.06em;color:#ffcf5a}
.fl-clock{white-space:nowrap;font-variant-numeric:tabular-nums;background:rgba(255,255,255,.12);padding:3px 8px;border-radius:7px;font-weight:600}
.fl-tit{display:block;font:800 20px/1.15 "Bricolage Grotesque",Inter,sans-serif;margin-top:8px}
.flash p{margin:4px 0 12px;color:#d9cfc6;font-size:14px}
.fl-btn{position:relative;z-index:1;width:100%;height:46px;border-radius:12px;background:var(--brand);color:#fff;font-weight:700}
.wallet{display:flex;gap:12px;align-items:center;margin:12px 14px 0;padding:12px 14px;border-radius:16px;background:#fff8e6;border:1px solid #ffe4a3}
.wallet span:last-child{display:flex;flex-direction:column}.wallet b{font-size:14.5px}.wallet small{color:#7a6230;font-size:12.5px}
.w-ico{width:38px;height:38px;border-radius:12px;background:#ffe9b0;display:grid;place-items:center;font-size:19px;flex:none}
.ups{display:flex;gap:10px;overflow-x:auto;margin:10px -18px 0;padding:0 18px 4px;scrollbar-width:none}
.up{flex:none;width:128px;text-align:left;border:1.5px solid var(--line);border-radius:14px;padding:8px;position:relative}
.up .ph{height:74px;border-radius:10px;font-size:26px}
.up b{display:block;font-size:13px;line-height:1.25;margin-top:6px;height:2.5em;overflow:hidden}.up span{font-size:13px;color:var(--brand);font-weight:700}
.up i{position:absolute;right:12px;top:58px;width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;font-style:normal;font-weight:800;display:grid;place-items:center}
.cbk{display:flex;gap:12px;align-items:center;margin-top:18px;padding:12px 14px;border-radius:14px;background:#fff8e6;border:1.5px solid #ffe4a3;cursor:pointer}
.cbk input{appearance:none;width:24px;height:24px;border-radius:7px;border:2px solid #d8b45c;margin:0;flex:none;display:grid;place-items:center}
.cbk input:checked{background:#e0a21a;border-color:#e0a21a}.cbk input:checked::after{content:"✓";color:#fff;font-weight:800;font-size:14px}
.cbk span{display:flex;flex-direction:column}.cbk small{color:#7a6230;font-size:12.5px}
.earn{display:block;margin-top:8px;background:#fff3d1;color:#7a5200;border-radius:10px;padding:8px 10px;font-size:13px;font-weight:600}
.earn.big{text-align:left;font-size:15px;margin:0 0 12px;padding:12px 14px}.earn.big small{display:block;font-weight:500;font-size:12.5px;margin-top:2px}
.pix{border:1.5px solid var(--line);border-radius:16px;padding:14px;margin:0 0 12px;text-align:center;display:flex;flex-direction:column;gap:8px}
.pix-qr svg{width:170px;height:170px;display:block;margin:0 auto}
.pix textarea{width:100%;font:12px ui-monospace,monospace;border:1px solid var(--line);border-radius:10px;padding:8px;resize:none;color:var(--mute);background:#faf8f5}
.pix small{color:var(--mute);font-size:12.5px}
.btn.full{width:100%;flex:none}
.ref{background:#eefaf2;border-radius:16px;padding:14px;margin:0 0 12px;text-align:left;display:flex;flex-direction:column;gap:4px}
.ref b{font-size:16px}.ref small{color:#3d6b4c;font-size:13px;margin-bottom:8px}
.ok #okMsg{margin-top:4px}
/* acompanhar pedido */
.trk{background:#17130f;color:#fff;border-radius:18px;padding:14px 16px;margin:0 0 12px;text-align:left}
.trk-h{display:flex;justify-content:space-between;align-items:center}.trk-h b{font-size:16px}
.trk-h span{font-size:11.5px;color:#cbbfb3;display:flex;align-items:center;gap:6px;text-transform:uppercase;letter-spacing:.06em}
.trk .dot{width:8px;height:8px;border-radius:50%;background:#ffb020;animation:blink 1.2s infinite}
.trk p{margin:6px 0 12px;font-size:14.5px;color:#f3ece5}
.trk-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.trk-bar div i{display:block;height:5px;border-radius:9px;background:#3a322c;transition:background .4s}
.trk-bar div.on i{background:var(--brand)}
.trk-bar small{display:block;font-size:11px;color:#8f857b;margin-top:5px}.trk-bar div.on small{color:#fff;font-weight:600}
.trk.cancel{background:#5a1f1f}
#trackHome .trk{margin:0 0 12px}
@keyframes blink{50%{opacity:.25}}

/* loja pausada (mensalidade) */
.pausa{margin:18px 16px 40px;background:#fff;border-radius:18px;padding:22px;text-align:center;box-shadow:0 6px 20px rgba(0,0,0,.06)}
.pausa b{font:800 19px "Bricolage Grotesque",Inter,sans-serif;display:block}
.pausa p{color:#776f66;margin:8px 0 0}
