/* Melhorias só no cardápio do cliente; cálculo e regras continuam em menu.js/servidor. */
.menu-main,.sheet,.sheet-body,.sheet-foot,.product .info{min-width:0}
.menu-main .search{position:sticky;top:0;background:var(--bg);z-index:22;padding:.5rem 0;margin:0}
.menu-main .search input{width:100%;min-height:48px;font-size:16px}
.menu-main .cat-tabs{top:64px;margin-left:0;margin-right:0;width:100%;max-width:100%}
.menu-main .product.sold-out{opacity:.55;cursor:default}
.menu-main .product.sold-out .pill{opacity:1}
.menu-main .product .name,.sheet p,.sheet h2{overflow-wrap:anywhere}
.cart-bar .btn{gap:.5rem;min-height:56px;flex-wrap:wrap}
.sheet-body input:not([type=checkbox]):not([type=radio]),.sheet-body select,.sheet-body textarea{font-size:16px;max-width:100%;min-width:0}
.sheet-body .btn,.sheet-body .seg button,.sheet-body .opt,.sheet-body .pay-option,.sheet-foot button,.sheet-body .qty button{min-height:48px}
.mobile-checkout-nav{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap;margin-bottom:.8rem}
.mobile-step{width:40px;height:40px;border:1px solid var(--line);background:var(--surface);border-radius:50%;font-weight:700}
.mobile-step.active{background:var(--brand);color:white;border-color:var(--brand)}
.mobile-step-status{font-size:1.2rem;font-weight:800;margin:.5rem 0 1rem}
.mobile-choice-help{margin:.4rem 1rem .7rem;font-weight:600;color:#166534}
.sheet .group{scroll-margin-top:1rem}
@media(max-width:400px){.sheet-head,.sheet-body,.sheet-foot{padding-left:.75rem;padding-right:.75rem}.sheet-foot{gap:.4rem;flex-wrap:wrap}.sheet-foot .grow{min-width:150px}.menu-main{padding-left:.75rem;padding-right:.75rem}.product{gap:.5rem}.product .thumb{width:76px;height:76px}.store-facts{gap:.8rem}.mobile-step{width:36px;height:36px}.sheet-body .field-row{grid-template-columns:minmax(0,1fr)}.cart-bar{padding-left:.5rem;padding-right:.5rem}}
@supports(height:100dvh){.sheet{max-height:94dvh}}

/* Cardápio de entrega/retirada: visual claro para o almoço, sem afetar mesas ou painel. */
.menu-caseiro{--bg:#fbf7ef;--surface:#fffefa;--surface-2:#f1e8da;--ink:#30251c;--ink-2:#655343;--ink-3:#6d5c4c;--line:#dfd1bf}
.menu-caseiro a{color:var(--ink);text-underline-offset:3px}
.menu-caseiro :is(button,a,input):focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.menu-caseiro .menu-hero{position:relative;isolation:isolate;padding:2rem 1rem 1.5rem;overflow:hidden}
.menu-caseiro .menu-hero:has(.store-cover){padding-top:1.5rem}
.menu-caseiro .store-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.menu-caseiro .menu-hero .wrap{background:var(--brand);border-radius:18px;padding:1rem;gap:.9rem;flex-wrap:nowrap}
.menu-caseiro .menu-hero .grow{min-width:0}
.menu-caseiro .menu-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:1.8rem;overflow-wrap:anywhere}
.menu-caseiro .menu-hero p{opacity:1;font-size:.92rem}
.menu-caseiro .store-location{font-size:.85rem;font-weight:600;margin-top:.3rem}
.menu-caseiro .store-badge{width:64px;height:64px;background:var(--brand);color:var(--brand-ink);border:2px solid currentColor;border-radius:50%}
.menu-caseiro .store-badge img{width:64px;height:64px;object-fit:contain;background:transparent}
.menu-caseiro .store-info{position:relative;margin-top:-1.25rem}
.menu-caseiro .store-info .card{box-shadow:var(--shadow);border-color:var(--line);gap:.9rem}
.menu-caseiro .store-info .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;width:100%}
.menu-caseiro .store-info .btn-sm{font-size:.75rem;padding:.45rem .35rem;min-width:0;justify-content:center;text-align:center;white-space:normal}
.menu-caseiro .store-facts{width:100%;gap:1rem 1.25rem;color:var(--ink-2);font-size:.9rem}
.menu-caseiro .store-status{width:100%;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.menu-caseiro .store-status .pill{font-size:.94rem;padding:.4rem .7rem;font-weight:800}
.menu-caseiro .status-detail{font-size:.85rem;color:var(--ink-2)}
.menu-caseiro .store-facts b{font-size:1rem}
.menu-caseiro .store-info :is(.btn,a){min-height:44px;display:inline-flex;align-items:center}
.menu-caseiro .menu-main{padding-bottom:calc(7.5rem + env(safe-area-inset-bottom))}
.menu-caseiro #search-result:empty{display:none}
.menu-caseiro .cat-tabs{z-index:21}
.menu-caseiro .cat-tab{min-height:44px}
.menu-caseiro .cat-section{scroll-margin-top:136px}
.menu-caseiro :is(.cat-section,.bestsellers) h2{font-family:Georgia,'Times New Roman',serif;font-size:1.5rem}
.menu-caseiro .cat-promo{background:#f7e9ce;color:#69421c}
.menu-caseiro .product{min-height:140px;align-items:flex-start;padding:.85rem;gap:.8rem;border-radius:16px;box-shadow:0 2px 4px #30251c06}
.menu-caseiro .product .thumb{width:112px;height:112px;object-fit:cover;border-radius:12px;flex:none}
.menu-caseiro .product-placeholder{display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,#fffaf1,#e5d2b8);border:1px solid #dbc7ad;color:#6b472a;font:700 2.4rem Georgia,serif}
.menu-caseiro .product .info{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem}
.menu-caseiro .product .name{font-size:1rem;line-height:1.3}
.menu-caseiro .product .desc{margin:.1rem 0 .2rem;line-height:1.4}
.menu-caseiro .product .price{font-size:1.05rem;font-weight:800;display:block}
.menu-caseiro .product.sold-out{opacity:1;background:#eee7dd;border-color:#d3c6b6;color:#625344;cursor:default}
.menu-caseiro .product.sold-out .thumb{opacity:.55;filter:grayscale(.8)}
.menu-caseiro .product.sold-out :is(.name,.desc,.price){color:#625344}
.menu-caseiro .sold-out-label{margin-top:.25rem;background:#e1d5c6;color:#513c29;font-weight:800}
.menu-caseiro .bestsellers{margin:1.25rem 0 1.5rem}
.menu-caseiro .bestsellers-help{margin:0 0 .75rem;color:var(--ink-2);font-size:.9rem}
.menu-caseiro .bestsellers-list{display:flex;gap:.75rem;overflow-x:auto;padding:2px 2px .75rem;scroll-snap-type:x proximity}
.menu-caseiro .bestsellers-list .product{flex:0 0 280px;width:280px;flex-direction:row-reverse;justify-content:flex-end;scroll-snap-align:start;gap:.75rem}
.menu-caseiro .bestsellers-list .thumb{width:112px;height:112px}
.menu-caseiro .bestsellers-list .desc,.menu-caseiro .bestsellers-list .tags{display:none}
.menu-caseiro .cart-bar{background:var(--surface);border-top:1px solid #cbbba6;box-shadow:0 -4px 20px #30251c1a;padding-top:.65rem}
.menu-caseiro .cart-bar .btn{min-height:60px;flex-wrap:nowrap;gap:.5rem;border-radius:14px;font-weight:800;color:var(--brand-ink)}
.menu-caseiro #cart-count{font-size:.85rem;border:1px solid currentColor;padding:.25rem .45rem;border-radius:8px;white-space:nowrap}
.menu-caseiro #cart-total{white-space:nowrap}
.menu-caseiro .legal-links a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:359px){.menu-caseiro .product .thumb{width:96px;height:96px}.menu-caseiro .menu-hero h1{font-size:1.5rem}.menu-caseiro .cart-bar .btn{font-size:.9rem}}
.menu-caseiro .mobile-step.active{color:var(--brand-ink)}
.menu-caseiro .qty button{color:var(--ink)}
.menu-caseiro .btn-primary:hover{filter:none}
