@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url(/fonts/inter-400.woff) format("woff")}
@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url(/fonts/inter-600.woff) format("woff")}
@font-face{font-family:Inter;font-weight:800;font-display:swap;src:url(/fonts/inter-800.woff) format("woff")}
*{box-sizing:border-box}
:root{--purple:#63247C;--plum:#281A35;--lilac:#F2E8F7;--cream:#FAF7F2;--panel:#F6F4F8;--ink:#251D2C;--muted:#665B6D;--line:#E6DFE9;--green:#237650;--amber:#946000;--red:#AB354A;
font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-variant-numeric:tabular-nums;-webkit-text-size-adjust:100%}
body{margin:0;min-height:100dvh}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.45}
:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
h1,h2,h3,p{margin:0}
.wrap{width:min(720px,calc(100% - 32px));margin-inline:auto}
.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:3}
.top-inner{display:flex;justify-content:space-between;align-items:center;min-height:60px}
.top nav{display:flex;align-items:center;gap:8px;font-size:.88rem;font-weight:600}
.top nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;color:var(--purple)}
.brand{display:inline-flex;align-items:center}
.brand img{display:block;height:48px;width:auto}
.small-bag,.secondary{border:1px solid var(--line);background:#fff;color:var(--purple);border-radius:12px;padding:0 14px;min-height:44px;font-weight:600}
.small-bag{border-color:var(--purple)}
.small-bag span{margin-left:4px;font-weight:800}
.store-strip{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin:16px 0 24px;display:grid;gap:10px}
.store-strip>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.store-dot{width:10px;height:10px;border-radius:100%;background:var(--red);flex:none}
.store-dot.online{background:var(--green)}
.store-note{font-size:.86rem;color:var(--muted);line-height:1.45}
.methods{gap:8px!important}
.methods span,.size-tag,.pill{border-radius:999px;background:var(--lilac);color:var(--purple);padding:5px 11px;font-size:.78rem;font-weight:600;white-space:nowrap}
.pill.ok{background:#e3f2ea;color:var(--green)}
.pill.warn{background:#fbf0d9;color:var(--amber)}
.pill.bad{background:#fbe6ea;color:var(--red)}
.section-head{margin-bottom:12px}
.section-head p,.muted,small{color:var(--muted)}
.section-head p{font-size:.9rem;margin-top:4px}
h2{font-size:1.35rem;letter-spacing:-.02em;font-weight:800;color:var(--plum)}
h3{font-weight:800}
.menu{display:grid;gap:12px}
.product{display:grid;grid-template-columns:96px 1fr;gap:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;align-items:center}
.product-photo{width:96px;height:120px;border-radius:12px;overflow:hidden;background:var(--lilac)}
.product-photo img{display:block;width:100%;height:100%;object-fit:cover}
.product-photo.tile{display:grid;place-items:center;padding:6px;text-align:center}
.product-photo.tile img{object-fit:contain;height:auto;max-height:62px}
.product-photo.tile b{display:block;color:var(--purple);font-size:1.2rem;font-weight:800;margin-top:4px}
.product-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.product h3{font-size:1.05rem;color:var(--plum)}
.product p{font-size:.84rem;color:var(--muted)}
.product-action{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;margin-top:10px}
.product-action>strong{font-size:1.1rem}
.add,.stepper button,.icon-button{border:0;background:var(--purple);color:#fff;font-weight:800;width:44px;height:44px;border-radius:12px;font-size:1.4rem;line-height:1}
.stepper button,.icon-button{background:var(--lilac);color:var(--purple)}
.stepper{display:flex;align-items:center;gap:6px}
.stepper span{min-width:26px;text-align:center;font-weight:800}
.closed-tag{font-size:.8rem;font-weight:600;color:var(--red)}
.retry{margin-top:10px}
.footer{display:flex;align-items:center;gap:6px 18px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:32px;padding:18px 0 110px;font-size:.88rem;color:var(--muted)}
.footer a:not(.brand){display:inline-flex;align-items:center;min-height:44px;color:var(--purple);font-weight:600}
.footer-brand{margin-right:auto;min-height:44px}
.footer-brand img{height:40px}
.basket-bar{position:fixed;bottom:0;left:0;right:0;z-index:2;display:flex;justify-content:center;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:#fffffff2;border-top:1px solid var(--line)}
.primary{border:0;border-radius:12px;background:var(--purple);color:#fff;font-weight:800;padding:0 18px;min-height:52px}
.basket-bar button{width:min(720px,100%);display:flex;align-items:center;justify-content:space-between;gap:8px}
.full{width:100%}
dialog{padding:0;width:min(520px,100%);max-height:92dvh;border:0;border-radius:20px 20px 0 0;color:var(--ink);margin:auto auto 0;background:#fff}
dialog::backdrop{background:#281a35b3}
.dialog-head{position:sticky;top:0;background:#fff;z-index:2;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:10px 16px 10px 20px}
.dialog-body{padding:16px 20px 0}
.bag-line,.checkout-total>div,.order-lines li{display:flex;justify-content:space-between;align-items:center;gap:12px}
.bag-line{padding:8px 0 12px;border-bottom:1px solid var(--line);margin-bottom:10px}
.bag-line strong{white-space:nowrap}
.bag-line small{display:block;margin-top:3px}
.bag-line .remove{border:0;background:none;color:var(--red);font-size:.82rem;font-weight:600;min-height:44px;padding:0 8px}
.bag-actions{display:flex;align-items:center;gap:4px}
.stepper,.choices{display:flex;align-items:center;gap:10px}
fieldset{border:0;padding:0;margin:0;min-width:0}
legend,label{font-weight:600;font-size:.88rem}
legend{margin-bottom:10px;padding:0}
label{display:grid;gap:6px}
input:not([type=checkbox],[type=radio]),textarea,select{border:1px solid #cfc3d4;border-radius:10px;padding:10px 12px;background:#fff;color:var(--ink);width:100%;min-height:48px;font-size:1rem}
textarea{resize:vertical;min-height:84px}
input[type=radio],input[type=checkbox]{accent-color:var(--purple);width:20px;height:20px;margin:0}
.choices{align-items:stretch;flex-wrap:wrap}
.choices label,.check{display:flex;align-items:center;gap:10px}
.choices label{flex:1 1 130px;min-height:52px;padding:8px 14px;border:1px solid var(--line);border-radius:12px;font-weight:600}
.choices label:has(input:checked){border-color:var(--purple);background:var(--lilac);color:var(--purple)}
form,.pix{display:grid;gap:16px}
.block{display:grid;gap:12px}
.block legend{display:flex;align-items:center;gap:10px;font-size:1rem;font-weight:800;color:var(--plum)}
.n{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--purple);color:#fff;font-size:.8rem;font-weight:800}
.checkout-total{display:grid;gap:8px;padding:12px 14px;background:var(--cream);border-radius:12px}
.checkout-total b,.checkout-total div:last-child strong{font-size:1.1rem}
.submit-bar{position:sticky;bottom:0;background:#fff;margin:0 -20px;padding:12px 20px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.muted,[role=alert],[role=status]{font-size:.88rem;line-height:1.5}
[role=alert]:not(:empty){margin-top:10px;padding:10px 12px;border-radius:10px;background:#fbe6ea;color:var(--red);border:1px solid #efc3cb}
[role=status]:not(:empty){margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--lilac);color:var(--plum)}
.dialog-body>[role=alert]:not(:empty){margin-bottom:16px}
.narrow{max-width:560px}
.back{display:inline-flex;align-items:center;min-height:44px;margin:12px 0 4px;color:var(--purple);font-weight:600}
.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:16px}
.tracking h1{letter-spacing:-.03em;font-size:1.7rem;font-weight:800;color:var(--plum)}
.tracking-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 4px}
.tracking-code{font-size:1.5rem;font-weight:800;letter-spacing:.04em;color:var(--plum)}
.tracking-next{margin:6px 0 16px;color:var(--muted);line-height:1.5}
.tracking-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:14px 0}
.steps{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:0}
.steps li{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;color:var(--muted);font-size:.92rem}
.steps li:not(:last-child):before{content:"";position:absolute;left:11px;top:34px;bottom:-10px;width:2px;background:var(--line)}
.steps li.done:not(:last-child):before{background:var(--green)}
.steps i{flex:none;width:24px;height:24px;border-radius:50%;border:2px solid var(--line);background:#fff;display:grid;place-items:center;font-style:normal;font-size:.75rem;font-weight:800;position:relative;z-index:1}
.steps .done{color:var(--ink)}
.steps .done i{background:var(--green);border-color:var(--green);color:#fff}
.steps .current{color:var(--purple);font-weight:800}
.steps .current i{border-color:var(--purple);background:var(--lilac)}
.order-lines{list-style:none;padding:0;margin:13px 0}
.order-lines li{padding:6px 0}
.line-total{border-top:1px solid var(--line)}
.pix{background:var(--lilac);padding:16px;border-radius:14px;margin:16px 0}
.pix h2{font-size:1.1rem}
@media(min-width:651px){dialog{margin:auto;border-radius:20px}.product{grid-template-columns:120px 1fr}.product-photo{width:120px;height:150px}.brand img{height:52px}}
@media(max-width:650px){.menu{gap:10px}}
@media(max-width:380px){.product{grid-template-columns:84px 1fr;gap:10px;padding:10px}.product-photo{width:84px;height:110px}.product-action{gap:6px}}
@media(max-width:345px){.top nav a{padding:0 4px}}
@media(prefers-reduced-motion:no-preference){.add,.primary,.small-bag{transition:transform .12s}.add:active,.primary:active{transform:scale(.97)}}
.whatsapp{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:12px;background:#1f7a4d;color:#fff;font-weight:800;margin:0 0 12px}
.pix .primary{min-height:48px}
