@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/roboto-latin-400-normal.woff2) format("woff2")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/roboto-latin-700-normal.woff2) format("woff2")}@font-face{font-family:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/montserrat-latin-400-normal.woff2) format("woff2")}@font-face{font-family:Montserrat;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/montserrat-latin-700-normal.woff2) format("woff2")}*{box-sizing:border-box} :root{--accent:#f58220;--text:#354581;--card:#fff;--price:#d76b20;--categories:#f58220;--active:#354581;--category-text:#fff;font-size:16px}body{margin:0;color:var(--text);background:#fef6ef;font-family:Arial,sans-serif;min-height:100vh;padding-bottom:100px;overflow-wrap:anywhere}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #edc9a9;border-radius:14px;background:#feefe3;color:#824513;padding:13px 18px;font-weight:700;min-height:46px}button:disabled{opacity:.55;cursor:wait}input,select,textarea{width:100%;min-height:48px;padding:12px;border:1px solid #cebfae;border-radius:12px;background:#fff;color:#263248;font-size:max(16px,1rem)}input[type=checkbox],input[type=radio]{width:23px;min-height:23px;height:23px;flex:0 0 23px;accent-color:var(--accent)}input[type=number]{max-width:140px}label{display:grid;gap:8px;margin:14px 0}fieldset{border:1px solid #e6d8c8;border-radius:14px;margin:18px 0;padding:12px}legend{font-weight:bold;padding:0 8px}.choice{display:flex;align-items:center;gap:10px}.choice span{flex:1}.menu-shell{max-width:960px;padding:20px;margin:auto}.card{border:1px solid #efd0b4;border-radius:22px;background:var(--card);padding:22px;margin-bottom:20px}.restaurant{text-align:center}.restaurant-logo{height:120px;max-width:80%;object-fit:contain}.restaurant h1{font-size:2rem;margin:14px 0}.badges{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.badges span{background:#f0f1f3;padding:10px 15px;border-radius:30px;color:#262e3d}.badges .open{background:#e0f3e7;color:#286642}.badges .closed{background:#fbe3e0;color:#a22525}.search{font-weight:700}#categories{display:flex;gap:10px;overflow-x:auto;padding:8px 0 16px;position:sticky;top:0;z-index:2;background:var(--card);border-radius:14px;margin-bottom:20px}#categories button{flex:0 0 auto;background:var(--categories);color:var(--category-text);border:0}#categories button[aria-pressed=true]{background:var(--active)}.category-title{padding:14px 20px;border-radius:14px;background:var(--card)}.product-grid{display:grid;grid-template-columns:1fr;gap:16px}.product{display:flex;gap:16px;align-items:center;text-align:left;background:var(--card);color:var(--text);width:100%;border-radius:var(--radius,18px);border:1px solid #eed4bc;padding:18px}.product img{width:100px;height:100px;border-radius:12px;object-fit:cover;flex:0 0 100px}.product h3{margin:0 0 8px;font-size:1.2rem}.product p{margin:8px 0;font-weight:400;font-size:.95rem}.price{color:var(--price);font-size:1.2rem}.brand{text-align:center;margin-top:35px}.brand img{display:block;max-width:230px;max-height:90px;object-fit:contain;margin:0 auto 18px}.brand a{display:block;margin:10px;color:#354581}.cart-bar{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(95%,650px);z-index:5;background:var(--accent);color:#fff;box-shadow:0 5px 20px #0003;border:0;padding:18px}.primary{display:block;width:100%;background:var(--accent);color:#fff;border:0;margin-top:16px}.error{color:#a02020}.state{max-width:600px;margin:70px auto;background:#fff;border-radius:20px;padding:30px}dialog{width:min(96vw,650px);max-height:90vh;max-height:90dvh;border:0;border-radius:20px;padding:24px;color:var(--text);background:var(--card);overflow-y:auto;overscroll-behavior:contain}dialog::backdrop{background:#141b32a8}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-head h2{margin:0}.dialog-head button{font-size:1.6rem;padding:5px 15px}.cart-item{padding:16px 0;border-bottom:1px solid #dfd3c5}.cart-item p{margin:10px 0}.cart-item button{margin-right:10px}textarea{min-height:90px}small,.help{font-weight:400} [hidden]{display:none!important}:focus-visible{outline:3px solid #e9a553;outline-offset:3px}@media(max-width:650px){.menu-shell{padding:12px}.card{padding:18px}.product-grid{grid-template-columns:1fr}.product{gap:12px;padding:14px}.product img{width:86px;height:86px;flex-basis:86px}.restaurant h1{font-size:1.6rem}dialog{padding:18px}.state{margin:20px 12px}#categories{top:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
body[data-layout=vitrine] .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-layout=vitrine] .product{flex-direction:column;align-items:stretch}body[data-layout=vitrine] .product img{width:100%;height:190px;flex-basis:auto}body[data-layout=compacto] .product{padding:12px;gap:12px}body[data-layout=compacto] .product img{width:65px;height:65px;flex-basis:65px}body[data-layout=destaque] .product.featured{border:2px solid var(--accent)}#products summary{cursor:pointer}#products summary .category-title{display:inline-block;width:90%}@media(max-width:650px){body[data-layout=vitrine] .product-grid{grid-template-columns:1fr}}

/* Confirmação da taxa antes do envio: independente do layout do restaurante. */
.fee-confirm-dialog{width:min(95vw,540px);background:#fff;color:var(--text,#354581);border:1px solid #e8eaf1;box-shadow:0 18px 70px #15254b38}
.fee-confirm-dialog .dialog-head h2{font-size:1.4rem;line-height:1.25}
.fee-confirm-dialog #fee-confirm-description{color:#677189;line-height:1.5}
.fee-summary{background:#f7f8fc;border:1px solid #e8eaf1;border-radius:14px;padding:15px 17px;margin:20px 0}
.fee-summary>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;align-items:baseline}
.fee-summary>div+div{border-top:1px solid #e8eaf1}
.fee-summary .fee-total{font-weight:700;font-size:1.07rem}
.fee-confirm-dialog .fee-warning{background:color-mix(in srgb,var(--accent,#f58220) 10%,#fff);border-left:4px solid var(--accent,#f58220);border-radius:8px;padding:12px 14px;line-height:1.55;color:#38445e}
.fee-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;margin-top:16px}
.fee-actions button{min-height:52px;margin:0;white-space:normal}
.fee-actions .primary{background:var(--accent,#f58220);color:#fff}
@media(max-width:460px){.fee-actions{grid-template-columns:1fr}}

.restaurant-title{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}.restaurant-title h1{flex:1;min-width:180px}.restaurant-title button{flex:0 0 auto}.dialog-head h2,legend{color:var(--text)}#product-options .help{color:var(--text)}#product-options input:checked{accent-color:var(--accent)}#product-options fieldset{border-color:color-mix(in srgb,var(--accent) 35%,#fff)}

#product-dialog,#cart-dialog{color:#263248}#product-dialog .dialog-head h2,#cart-dialog .dialog-head h2{color:var(--accent)}#product-options legend{color:#8a4518}#product-options .help{color:#59616c}#product-options .choice{padding:10px;border-radius:10px;background:#faf7f2}#product-options .choice:has(input:checked){background:#feefe2;outline:1px solid var(--accent)}#product-options fieldset{border-color:#e9cbb1}#cart-dialog h3{color:#8a4518}
.track-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 22px;border-radius:14px;border:1px solid #edc9a9;background:#feefe3;color:#824513;font-weight:700;text-decoration:none;box-sizing:border-box}.track-btn:active{transform:translateY(1px)}.track-btn svg{flex:0 0 auto}@media(max-width:480px){.track-btn{width:100%;max-width:340px}}
.qtd-campo{display:grid;gap:6px;margin:12px 0}.qtd-campo>span{font-weight:600}
.qtd-passo{display:flex;align-items:center;gap:10px;width:100%;max-width:260px}
.qtd-passo button{flex:0 0 48px;width:48px;height:48px;min-height:48px;padding:0;border-radius:14px;font-size:26px;line-height:1;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.qtd-passo input{flex:1;min-width:0;width:auto;height:48px;text-align:center;font-size:18px;font-weight:700;-moz-appearance:textfield;appearance:textfield}
.qtd-passo input::-webkit-outer-spin-button,.qtd-passo input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.choice.desligado{opacity:.45}.choice input:disabled+span{cursor:not-allowed}
/* blocos com cor própria (opcionais) */
.restaurant.card{background:var(--header-card,var(--card))}
.has-header-color .restaurant.card,.has-header-color .restaurant.card h1,.has-header-color .restaurant.card p{color:var(--header-text)}
.info-block .restaurant-info{background:var(--info-card);border-radius:16px;padding:14px;margin:14px 0 4px}
.info-block .restaurant-info,.info-block .restaurant-info p{color:var(--info-text)}
/* barra de categorias: botões longe das bordas e centralizados (rola quando não cabe) */
#categories{padding:12px 14px}
#categories>button:first-child{margin-left:auto}
#categories>button:last-child{margin-right:auto}

.restaurant.card.has-foto{position:relative;isolation:isolate;overflow:hidden}.restaurant.card.has-foto::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--foto-cab) center/cover no-repeat;opacity:var(--foto-cab-op,1)}

.product-photo{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:12px;margin:0 0 12px}.product-photo[hidden]{display:none}
