:root{color-scheme:light;scroll-behavior:smooth}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;font:16px/1.55 "DM Sans",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#183731;background:#fbf7ef}
body.theme-brasa.restaurant{color:#f8f1e5;background:#171413;--paper:#241f1c;--surface:#221c19;--line:#4b3a2e;--muted:#d6c8bb;--ink:#fff1e2}
body.restaurant{--paper:#fffaf2;--surface:#f4eee1;--line:#ded6c5;--muted:#49615a;--ink:#183731}
body.admin{color:#172c3b;background:#eff4f6;--paper:#fff;--surface:#eef4f6;--line:#d6e0e4;--muted:#526676;--ink:#172c3b}
body{--brand-color:#14534e;--brand-fg:white;--side:#16373a}
body.theme-brasa{--side:#211914}
a{color:inherit;text-underline-offset:.2em}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{line-height:1.1;letter-spacing:-.027em;margin:0 0 .6rem}
h1{font-size:clamp(2.2rem,5vw,4.3rem)}
h2{font-size:clamp(1.4rem,2.6vw,2.45rem)}
h3{font-size:clamp(1.16rem,2vw,1.75rem)}
p,ul,dl{margin:.5rem 0 1rem}
input,select,textarea,button{font:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid #2877ad;outline-offset:3px}
.skip{position:absolute;left:1rem;top:-5rem;z-index:90;background:#fff;color:#101820;padding:.65rem}
.skip:focus{top:.5rem}
.wrap{width:min(100% - clamp(1.35rem,6vw,6rem),1280px);margin-inline:auto}
.button,.plain,.subtle,.chip{display:inline-flex;align-items:center;justify-content:center;min-height:44px;line-height:1.2;text-align:center;text-decoration:none;padding:.63rem 1rem;font-weight:760;border:1px solid transparent;border-radius:.52rem;overflow-wrap:anywhere}
.button{color:var(--brand-fg);background:var(--brand-color)}
.button:hover{filter:brightness(1.08)}
.button.secondary{color:var(--ink);background:var(--paper);border-color:var(--line)}
.button-small{font-size:.87rem;padding:.5rem .72rem}
.plain,.subtle{color:inherit;background:transparent;text-decoration:underline;padding-inline:.25rem}
button:disabled{opacity:.55;cursor:not-allowed}
label{display:grid;gap:.35rem;font-size:.9rem;font-weight:690;color:var(--ink);min-width:0}
input:not([type=checkbox],[type=radio],[type=color]),select,textarea{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:.48rem;padding:.58rem .7rem;width:100%;min-width:0;min-height:44px}
textarea{resize:vertical}
input[type=color]{width:100%;min-height:44px;border:1px solid var(--line);border-radius:.48rem;background:var(--paper)}
input[type=checkbox],input[type=radio]{width:1.1rem;height:1.1rem;accent-color:var(--brand-color);flex:none;margin:0}
label.check,label.choice{display:flex;align-items:center;gap:.65rem;min-height:44px}
label.choice{justify-content:flex-start;padding:.45rem 0;border-bottom:1px solid var(--line)}
label.choice span{flex:1;min-width:0}
label.choice strong{font-size:.85rem}
label.choice input[type=number]{width:4rem;flex:none}
fieldset{margin:0;min-width:0;border:1px solid var(--line);padding:.65rem .8rem .8rem;border-radius:.65rem}
legend{padding:0 .36rem;font-weight:780}
.stack{display:grid;gap:.9rem}
.inline-form{display:flex;flex-wrap:wrap;gap:.65rem;align-items:end}
.inline-form>label{flex:0 1 13rem}
.card{background:var(--paper);border:1px solid var(--line);border-radius:.85rem;padding:clamp(.9rem,2vw,1.45rem);margin-block:.8rem;overflow-wrap:anywhere}
.small,.card small,.food-copy p,.category-head p{color:var(--muted)}
.notice,.empty{border:1px solid var(--line);border-radius:.65rem;padding:.75rem 1rem;background:var(--surface);margin-block:1rem}
.notice.error{color:#8a241e;background:#fceae5;border-color:#e9b5ab}
.kicker{font-weight:800;text-transform:uppercase;letter-spacing:.105em;font-size:.72rem;margin:0 0 .45rem}
.demo-line{min-height:36px;background:#0f2c30;color:#fff7e8;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.35rem .9rem;padding:.25rem max(.75rem,calc((100% - 1280px)/2));font-size:.76rem}
.theme-brasa .demo-line{background:#32231c;color:#fcdec2}
.demo-line a{min-height:34px;display:inline-flex;align-items:center;gap:.2rem}
.shop-header{border-bottom:1px solid var(--line);background:var(--paper)}
.shop-nav,.brand,.shop-cart,.open-flag{display:flex;align-items:center;gap:.65rem}
.shop-nav{padding-block:.7rem;gap:.75rem;min-height:74px}
.brand{flex:1;font-weight:900;font-size:clamp(1rem,2.3vw,1.45rem);line-height:1.15;text-decoration:none;overflow-wrap:anywhere}
.brand img{border-radius:.5rem;object-fit:contain}
.brand-mark{background:var(--brand-color);color:var(--brand-fg);border-radius:.72rem;display:grid;place-items:center;width:42px;aspect-ratio:1;flex:none;font-family:Georgia,serif;font-size:1.7rem}
.open-flag{width:max-content;font-size:.8rem;font-weight:760;white-space:nowrap}
.open-flag i{width:.55rem;height:.55rem;background:#bf6847;border-radius:50%}
.open-flag.is-open i{background:#48a775}
.shop-cart{border:1px solid var(--line);border-radius:.65rem;min-height:44px;padding:.35rem .7rem;text-decoration:none;font-weight:750}
.shop-cart span{background:var(--brand-color);color:var(--brand-fg);padding:.05rem .35rem;border-radius:.3rem}
.hero{margin-block:clamp(.9rem,3vw,2.3rem);position:relative}
.hero-slide{display:grid;grid-template-columns:1.04fr 1fr;align-items:stretch;background:#123e3c;color:#fff9e9;border-radius:1.1rem;overflow:hidden;min-height:390px}
.theme-brasa .hero-slide{background:#2b211c}
.hero-copy{padding:clamp(1.2rem,4.1vw,4rem);align-content:center}
.hero-copy h1,.hero-copy h2{font-size:clamp(2.1rem,5.5vw,5.05rem);font-weight:850;letter-spacing:-.061em;text-wrap:balance}
.hero-copy p:not(.kicker){max-width:41ch;color:#f0e6d5}
.hero-copy .button{margin-top:.6rem}
.hero-slide picture{height:100%;min-height:220px}
.hero-slide picture img{width:100%;height:100%;object-fit:cover}
.slide-controls{display:flex;justify-content:end;gap:.45rem;margin-top:.4rem}
.slide-controls button{background:var(--paper);border:1px solid var(--line);min-height:44px;padding:0 .7rem;color:inherit;border-radius:.4rem}
.catalog{padding:1.1rem 0 1.4rem}
.catalog-top{display:flex;align-items:end;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.search{display:flex;align-items:end;flex-wrap:wrap;gap:.5rem;max-width:100%}
.search label:first-of-type{flex:1 1 10rem}
.chips{position:sticky;top:0;z-index:2;display:flex;gap:.5rem;overflow:auto;scrollbar-width:none;background:var(--paper);padding:.65rem .4rem;margin-block:.75rem 1.15rem;border:1px solid var(--line);border-radius:.7rem}
.chips a{min-height:44px;display:flex;align-items:center;white-space:nowrap;border:1px solid var(--line);border-radius:2rem;text-decoration:none;padding:.35rem .86rem;font-size:.86rem;font-weight:760}
.chips a:hover{background:var(--surface)}
.category{scroll-margin-top:70px;margin-block:1.7rem 2.1rem}
.category-head{margin-bottom:.85rem}
.food-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.6rem,1.4vw,1.1rem)}
.food{display:flex;flex-direction:column;min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:.85rem;overflow:hidden}
.food-picture{aspect-ratio:4/3;display:block;overflow:hidden;background:var(--surface)}
.food-picture img{width:100%;height:100%;object-fit:cover;transition:transform .24s ease}
.food-picture:hover img{transform:scale(1.035)}
.food-copy{padding:clamp(.68rem,1.45vw,1.05rem);display:flex;flex-direction:column;flex:1}
.food-copy h4{font-size:1.07rem;overflow-wrap:anywhere}
.food-copy p{font-size:.88rem}
.food-action{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.4rem;margin-top:auto}
.food-action strong,.big-price{white-space:nowrap}
.sold{font-size:.83rem;font-weight:730}
.how-card{display:grid;grid-template-columns:1fr 1fr;gap:1rem;border-top:1px solid var(--line);padding-block:1.4rem}
.shop-footer{border-top:1px solid var(--line);background:var(--paper);padding:1.4rem 0 2rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:1.25rem}
.footer-grid h2{font-size:1.05rem}
.footer-grid a:not(.brand),.footer-grid summary{display:flex;align-items:center;min-height:44px}
.product-view{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:1.1rem;align-items:start;padding-block:.8rem 1.6rem}
.product-media>img{border-radius:1rem;width:100%;aspect-ratio:4/3;object-fit:cover}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-top:.6rem}
.gallery img{border-radius:.5rem}
.product-config h1,.order-layout h1,.receipt h1{font-size:clamp(1.85rem,4vw,3.4rem);overflow-wrap:anywhere}
.product-config .stack{margin-top:1rem}
.big-price{font-size:1.3rem}
.order-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.82fr);gap:1.1rem;align-items:start;padding-block:1rem 2rem}
.cart-line{display:flex;justify-content:space-between;align-items:flex-start;gap:.45rem}
.cart-line h2,.receipt-item h2{font-size:1.15rem}
.cart-actions{display:flex;flex-wrap:wrap;gap:.45rem}
.totals div{display:flex;justify-content:space-between;gap:.8rem;padding:.4rem 0}
.totals dd{margin:0;font-weight:740;white-space:nowrap}
.totals .grand-total{margin-top:.4rem;padding-top:.6rem;border-top:1px solid var(--line);font-size:1.1rem}
.receipt,.problem{max-width:760px;margin-block:1.25rem 2rem}
.receipt-item{border-bottom:1px solid var(--line);padding:.6rem 0}
.line-descriptions{font-size:.865rem;color:var(--muted);margin:.4rem 0 .65rem;padding-left:1.15rem}
.login{max-width:480px;margin:8vh auto;padding:clamp(1.1rem,5vw,2.5rem);width:calc(100% - 2rem)}
.login h1{font-size:2rem;margin-block:1rem}
.admin-layout{display:grid;grid-template-columns:16rem minmax(0,1fr);min-height:100vh}
.side{background:var(--side);color:#f5fbfc;position:sticky;top:0;max-height:100dvh;overflow:auto;align-self:start;min-height:100vh;padding:.65rem}
.side-brand{padding:.55rem .5rem .75rem}
.side-nav summary{display:none}
.side-nav a{color:inherit;display:flex;min-height:44px;align-items:center;border-radius:.48rem;text-decoration:none;padding:.35rem .65rem;font-size:.87rem}
.side-nav a:hover,.side-nav [aria-current]{background:#ffffff24;font-weight:760}
.side-nav h2{color:#c0d5d6;font-size:.71rem;text-transform:uppercase;letter-spacing:.08em;margin:.55rem .65rem .25rem}
.admin-top{min-height:65px;padding:.65rem clamp(.85rem,3vw,2.2rem);background:#fff;display:flex;align-items:center;justify-content:flex-end;gap:.7rem 1.35rem;flex-wrap:wrap;border-bottom:1px solid var(--line);font-size:.87rem}
.admin-top .open-flag{margin-right:auto}
.admin-main{padding:clamp(.8rem,3vw,2.3rem);min-width:0;overflow-wrap:anywhere}
.admin-title h1{font-size:clamp(1.7rem,4vw,2.85rem)}
.admin-main .card h2{font-size:clamp(1.15rem,2vw,1.55rem)}
.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:.65rem}
.metrics>div{background:#fff;border:1px solid var(--line);border-radius:.7rem;padding:.85rem;min-width:0}
.metrics dt{font-size:.82rem;font-weight:710;color:var(--muted)}
.metrics dd{font-size:1.37rem;font-weight:850;margin:.2rem 0}
.resource-tools{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:.75rem;margin:1rem 0}
.resource-list,.chart ul,.media-list{list-style:none;margin:.65rem 0;padding:0}
.resource-list li{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;padding:.6rem .72rem;background:var(--paper);border:1px solid var(--line);border-radius:.56rem;margin-bottom:.45rem;min-height:50px}
.resource-list img,.media-list img{width:51px;height:44px;object-fit:cover;border-radius:.4rem}
.resource-list li>div,.resource-list li>span{flex:1;min-width:0}
.resource-list small{display:block}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.admin-form,.admin-form>fieldset{display:grid;gap:.9rem}
.demo-create{margin:1rem 0}
.demo-create>summary{padding:.65rem .85rem;color:var(--ink);font-weight:780;cursor:pointer}
.demo-create[open]>summary{margin-bottom:.4rem}
.demo-create .admin-form button{justify-self:start}
.admin-main fieldset:disabled button,.admin-main button:disabled{cursor:not-allowed}
.media-field img,.admin-preview{width:min(100%,260px);border-radius:.5rem;margin:.35rem 0}
.check-grid,.orders-list,.chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.chart-grid .card,.orders-list .card{margin:.25rem 0}
.chart li{display:grid;grid-template-columns:minmax(0,.7fr) minmax(50px,1fr) auto;align-items:center;gap:.45rem;font-size:.87rem;padding:.28rem 0}
.chart meter{width:100%;min-width:0;accent-color:#337a74}
.kanban{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.55rem}
.kanban>section{border:1px solid var(--line);border-radius:.7rem;padding:.6rem;background:#e6edef}
.kanban h2,.order-card h2{font-size:1.03rem}
@media(max-width:1024px){.food-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.admin-layout{grid-template-columns:1fr}.side{position:static;min-height:auto;max-height:none}.side-nav summary{display:list-item;min-height:44px;padding:.62rem .65rem;cursor:pointer}.side-nav nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.admin-top{justify-content:flex-start}.admin-top .open-flag{margin:0}.food-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-slide{min-height:310px}}
@media(max-width:610px){.hero-slide,.product-view,.order-layout,.how-card,.footer-grid{grid-template-columns:1fr}.hero-slide picture{max-height:280px}.hero-slide picture img{aspect-ratio:4/3}.hero-copy{padding:1.15rem}.hero-copy h1,.hero-copy h2{font-size:clamp(2.08rem,9.1vw,3.6rem)}.check-grid,.orders-list,.chart-grid,.field-grid{grid-template-columns:1fr}.resource-tools .inline-form{width:100%}.resource-tools .inline-form>label{flex:1 1 8rem}.shop-nav{flex-wrap:wrap}.shop-nav .brand{flex:1 1 125px}.open-flag{font-size:.73rem}.shop-cart{padding:.3rem .45rem}.food-action .button{width:100%}.food-copy p{margin:.35rem 0 .65rem}.search{width:100%}}
@media(max-width:350px){.food-grid{gap:.38rem}.food-copy{padding:.5rem}.food-copy h4{font-size:.96rem}.terms .wrap{width:calc(100% - 1rem)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media print{body.admin{background:#fff;color:#000}.admin-layout{display:block}.side,.admin-top,.admin-title,.no-print,.admin-main>.notice,.skip{display:none!important}.admin-main{padding:0}.slip{max-width:80mm;font:11pt monospace;border:0;color:#000}.slip h2{font:700 14pt monospace}@page{margin:5mm}}
@media(min-width:801px){
    .side-nav summary{display:list-item;min-height:44px;padding:.64rem .6rem;color:#dce8e7;font-size:.87rem;cursor:pointer}
    .admin-layout:has(.side-nav:not([open])){grid-template-columns:7.8rem minmax(0,1fr)}
    .admin-layout:has(.side-nav:not([open])) .side-brand .brand>span:last-child{font-size:.9rem}
}
.mobile-cart{display:none}
@media(max-width:610px){
    .restaurant:has(.mobile-cart) .shop-footer{padding-bottom:calc(5.6rem + env(safe-area-inset-bottom))}
    .mobile-cart{display:flex;align-items:center;justify-content:space-between;position:fixed;z-index:5;
        bottom:calc(.6rem + env(safe-area-inset-bottom));left:.75rem;right:.75rem;padding:.72rem 1rem;min-height:48px;
        background:var(--brand-color);color:var(--brand-fg);border:1px solid #ddd4c8;border-radius:.7rem;text-decoration:none;font-weight:750}
}

/* Destaques e navegação do Cardápio Digital Premium */
.slide-window{border-radius:1rem;overflow:hidden;touch-action:pan-y}
.slide-track{display:flex;align-items:stretch;transform:translateX(calc(-100% * var(--position,0)));transition:transform 500ms cubic-bezier(.22,.68,.32,1)}
.hero-slide{flex:0 0 100%;min-width:0;min-height:0;aspect-ratio:3/1;position:relative;isolation:isolate;border-radius:0;grid-template-columns:1.05fr 1fr}
.hero-copy{z-index:1;padding:clamp(1rem,3.6vw,3.15rem)}
.hero-copy h1,.hero-copy h2{font-size:clamp(1.55rem,3.65vw,3.55rem);line-height:1.05;letter-spacing:-.045em}
.hero-copy .kicker{margin:0 0 .42rem}
.hero-slide picture{min-height:0;max-height:none;overflow:hidden}
.hero-slide picture img{aspect-ratio:auto;object-fit:cover;object-position:center}
.theme-brasa .hero-slide picture{position:absolute;inset:0 0 0 34%;width:66%;z-index:-2}
.theme-brasa .hero-slide::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#211711 5%,#211711ed 32%,#21171117 76%)}
.theme-brasa .hero-copy{grid-column:1}
.theme-estacao .hero-slide{background:#133d33;grid-template-columns:1.3fr 1fr}
.theme-estacao .hero-copy{grid-column:2;grid-row:1}
.theme-estacao .hero-slide picture{grid-column:1;grid-row:1}
.slide-controls{display:flex;justify-content:center;align-items:center;gap:.2rem;margin-top:.3rem}
.slide-controls button{min-width:44px;min-height:44px;background:transparent;border:0;color:var(--ink);cursor:pointer;padding:.2rem .4rem}
.slide-controls button[data-position] span{display:block;margin:auto;background:#879296;border-radius:100%;width:.43rem;height:.43rem}
.slide-controls button[aria-current] span{background:var(--brand-color);width:.76rem;border-radius:1rem}
.slide-controls [data-pause]{font-size:.83rem;text-decoration:underline}
@media(max-width:800px){
.admin-layout .side{position:sticky;top:0;z-index:5}
.side-nav[open] nav{max-height:min(70dvh,34rem);overflow:auto;overscroll-behavior:contain}
}
@media(max-width:610px){
.hero-slide,.theme-estacao .hero-slide{aspect-ratio:4/5;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto}
.theme-brasa .hero-slide picture{inset:0 0 auto;width:100%;height:66%}
.theme-brasa .hero-slide::after{background:linear-gradient(0deg,#211711 20%,#211711e8 41%,transparent 71%)}
.theme-brasa .hero-copy,.theme-estacao .hero-copy{grid-column:1;grid-row:2;padding:1rem}
.theme-estacao .hero-slide picture{grid-column:1;grid-row:1;min-height:0;height:100%}
.hero-copy h1,.hero-copy h2{font-size:clamp(1.62rem,7.1vw,2.85rem)}
.hero-copy p:not(.kicker){font-size:.89rem;line-height:1.4;margin:.4rem 0}
.hero-copy .button{margin-top:.22rem}
}
@media(prefers-reduced-motion:reduce){.slide-track{transition:none}}
