/*
 * ATFood / Experiencia Sabor — prototipo de interface 2026
 * Camada visual aditiva: nao altera endpoints, ids ou contratos legados.
 * Importar DEPOIS de marketplace.css, auth.css e atfood-approved.css.
 */
.atfood-ui{
 --at-green:#2f261e;--at-green-light:#fff2e6;--at-orange:#f56a25;
 --at-text:#252018;--at-muted:#82786f;--at-line:#f0e4d7;
 --at-bg:#fff9f1;--brand-primary:#f56a25;--brand-secondary:#d84f15;
 --sabor-orange:#f56a25;--sabor-orange-dark:#d84f15;
 --sabor-coffee:#392719;--sabor-soft:#fff4e8;--sabor-card:#fff;
 --sabor-border:#efe3d7;--sabor-muted:#85786e;
 background:#fff9f1!important;color:#392719!important;
 font-family:Manrope,"Segoe UI",Arial,sans-serif;line-height:1.55;
}
.atfood-ui *{box-sizing:border-box}
.atfood-ui a{color:#b74719}
.atfood-ui :is(a,button,input,textarea,select,[role=button],summary):focus-visible{
 outline:3px solid #ff9b62!important;outline-offset:3px!important
}
.atfood-ui :is(.btn-main,.btn-primary,.btn-success,.card_add,#card_continuar,#btn_carrinho){
 background:#f56a25!important;color:white!important;border:1px solid transparent!important;
 border-radius:17px!important;box-shadow:0 10px 24px rgba(245,106,37,.2)!important;
}
.atfood-ui :is(.btn-main,.btn-primary,.btn-success,.card_add,#card_continuar):hover{
 background:#df5418!important;transform:translateY(-1px)
}
.atfood-ui :is(.btn-main,.btn-primary,.btn-success,.card_add,#card_continuar){
 transition:background .16s,transform .16s,box-shadow .16s;min-height:48px
}
.atfood-ui :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
 background:#fff!important;border:1.5px solid #eaded2!important;border-radius:15px!important;
 color:#392719!important;min-height:46px;box-shadow:none!important
}
.atfood-ui :is(input[type=checkbox],input[type=radio]){accent-color:#f56a25}
.atfood-ui :is(.home-shell,.store-shell,.products-shell){
 width:100%!important;max-width:1160px!important;margin:0 auto!important;
 padding:24px 30px 112px!important
}
.atfood-ui #loading-page-bb{background:transparent!important}
.atfood-ui :is(.home-shell,.products-shell,.store-shell) :is(h1,h2,h3){letter-spacing:-.04em}
.atfood-ui :is(#cabecalho,.home-header,.products-header){
 background:transparent!important;border:0!important;box-shadow:none!important;
 max-width:1160px!important;color:#392719!important
}
.atfood-ui .home-header{display:flex!important;gap:14px!important;min-height:62px!important;
 border-bottom:0!important;margin-bottom:6px!important;padding:0!important}
.atfood-ui #menu-button{
 background:white!important;border:1px solid #f1e6dc!important;
 border-radius:16px!important;width:48px!important;height:48px!important;min-width:48px!important;
 display:grid!important;place-items:center;box-shadow:0 6px 16px #4f2b150d!important
}
.atfood-ui .home-greeting{display:flex!important;flex-direction:column;justify-content:center;flex:1;gap:0}
.atfood-ui .home-greeting strong{font-size:16px!important;color:#392719;font-weight:800!important}
.atfood-ui .home-greeting small{font-size:11px!important;color:#94857b!important;letter-spacing:.09em;text-transform:uppercase}
.atfood-ui .home-brand{width:132px!important;max-height:50px;object-fit:contain}
.atfood-ui .delivery-location{
 background:#fff!important;border:1px solid #f1e4d9!important;border-radius:15px!important;
 width:max-content;max-width:100%;padding:11px 18px!important;margin:6px 0 24px!important;
 box-shadow:0 6px 20px #8e54200a;display:flex!important;align-items:center;gap:11px
}
.atfood-ui .delivery-location>i:first-child{color:#f56a25!important;font-size:17px}
.atfood-ui .delivery-location small{color:#958476;font-size:10px!important}
.atfood-ui .delivery-location strong{color:#392719;font-size:13px!important}
.atfood-ui .delivery-location>i:last-child{color:#f56a25}
.atfood-ui .home-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:5px 0 16px}
.atfood-ui .home-intro .eyebrow{color:#e26727;font-size:11px;text-transform:uppercase;
 font-weight:800;letter-spacing:.14em;display:block}
.atfood-ui .home-intro h1{font-size:clamp(26px,4.5vw,40px);font-weight:900;line-height:1.15;margin:6px 0;color:#332419}
.atfood-ui .home-intro p{color:#85786e;font-size:13px;margin:7px 0 0}
.atfood-ui .home-intro .intro-icon{font-size:26px;padding:14px;background:#ffebd9;border-radius:20px;color:#ed6226}
.atfood-ui .search-wrap{
 background:#fff!important;border:1.5px solid #efdfd0!important;border-radius:18px!important;
 margin:0 0 22px!important;padding:0!important;box-shadow:0 10px 22px #9c623010!important
}
.atfood-ui .search-wrap>i{left:20px!important;color:#ed742f!important}
.atfood-ui .search-input{height:56px!important;padding-left:52px!important;
 font-size:14px!important;border:0!important;background:transparent!important;border-radius:18px!important}
.atfood-ui .search-input::placeholder{color:#ae9c8e}
.atfood-ui .home-banner{
 position:relative;overflow:hidden!important;min-height:200px;border:0!important;
 border-radius:26px!important;background:linear-gradient(115deg,#f66e2a,#ed5018)!important;
 box-shadow:0 20px 35px rgba(231,101,39,.18)!important;
 margin:0 0 30px!important;isolation:isolate
}
.atfood-ui .home-banner.has-fallback{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important}
.atfood-ui .home-banner.has-fallback:before{
 content:"";position:absolute;right:18%;top:-120px;width:330px;height:330px;
 border:1px solid #ffffff4a;border-radius:50%;pointer-events:none
}
.atfood-ui .home-banner.has-fallback:after{
 content:"";position:absolute;right:5%;bottom:-170px;width:380px;height:380px;
 border:1px solid #ffffff30;border-radius:50%;pointer-events:none
}
.atfood-ui .home-banner .banner-copy{padding:36px 34px!important;
 display:flex;flex-direction:column;justify-content:center;position:relative;z-index:1}
.atfood-ui .banner-copy:before{content:"PEÇA COM ATFOOD";font-size:11px;letter-spacing:.15em;font-weight:800;
 color:#ffe9cd;margin-bottom:12px}
.atfood-ui .banner-copy strong{font-size:clamp(25px,4vw,45px)!important;
 letter-spacing:-.05em!important;line-height:1.07!important;color:white;max-width:360px}
.atfood-ui .banner-copy small{font-size:13px!important;color:#fff1e5!important;margin-top:13px!important}
.atfood-ui .home-banner img{display:block;width:100%;max-height:300px!important;
 height:100%;min-height:200px;object-fit:cover;border-radius:0;position:relative}
.atfood-ui .home-banner.has-fallback img{object-fit:cover;object-position:center}
.atfood-ui .home-banner:not(.has-fallback) img{width:100%;max-height:300px;min-height:190px;object-fit:cover}
.atfood-ui .category-heading{margin:5px 0 15px;display:flex;justify-content:space-between;align-items:center}
.atfood-ui .category-heading h2{font-size:22px!important;font-weight:900;color:#392719;margin:0}
.atfood-ui .category-heading span{color:#998a7b;font-size:12px}
.atfood-ui .tela-categorias{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;
 gap:10px!important;margin-bottom:24px!important;padding:0!important}
.atfood-ui .card-categoria{display:flex!important;align-items:center;flex-direction:column;justify-content:flex-start;
 gap:7px;min-width:0;padding:12px 4px!important;border:1px solid #f3e6d7;
 background:white!important;border-radius:18px!important;cursor:pointer;min-height:110px;
 transition:transform .15s,background .15s,border-color .15s}
.atfood-ui .card-categoria:hover{transform:translateY(-3px);background:#fff3e9!important;border-color:#ffc9a6}
.atfood-ui .card-categoria i{width:60px!important;height:55px!important;
 display:grid;place-items:center;border-radius:16px!important;
 background:#fff0e1!important;color:#ee7430!important;font-size:26px!important}
.atfood-ui .card-categoria:nth-child(2n) i{background:#fff2d9!important;color:#e59629!important}
.atfood-ui .card-categoria:nth-child(3n) i{background:#faece6!important;color:#c86644!important}
.atfood-ui .card-categoria .card-text{font-size:11px!important;font-weight:800!important;
 margin:0!important;color:#5d4534!important;text-align:center}
.atfood-ui .more-categories{min-width:0;position:relative}
.atfood-ui .more-categories>summary{list-style:none;cursor:pointer;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
 height:110px;border-radius:18px;background:#fff;border:1px solid #f3e6d7;
 font-size:11px;font-weight:800;color:#5d4534}
.atfood-ui .more-categories summary::-webkit-details-marker{display:none}
.atfood-ui .more-categories>summary i{font-size:26px;background:#fff0e1;
 padding:15px;border-radius:16px;color:#ed7430}
.atfood-ui .extra-categories{position:absolute;top:calc(100% + 10px);right:0;width:320px;
 max-width:calc(100vw - 40px);background:#fff;padding:12px;display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-radius:20px;
 border:1px solid #f0ded0;box-shadow:0 20px 60px #3d2a1b24;z-index:40}
.atfood-ui .extra-categories .card-categoria{min-height:98px}
.atfood-ui .extra-categories .card-categoria i{height:42px!important;width:44px!important;font-size:20px!important}
.atfood-ui .scroll-menu{display:flex!important;gap:10px!important;overflow-x:auto;margin:0 0 27px!important;
 padding:0 0 8px!important;scrollbar-width:thin}
.atfood-ui .scroll-item{flex:0 0 auto;display:inline-flex!important;align-items:center;gap:8px;
 padding:11px 17px!important;border:1px solid #eaded2!important;border-radius:999px!important;
 background:#fff!important;color:#5d4c3e!important;font-size:12px!important;font-weight:800;cursor:pointer}
.atfood-ui .scroll-item:first-child{background:#392719!important;color:#fff!important;border-color:#392719!important}
.atfood-ui .scroll-item:first-child i{color:#ffb07a!important}
.atfood-ui .section-heading{margin:4px 0 18px!important;align-items:center!important}
.atfood-ui .section-heading h1{font-size:clamp(21px,2.8vw,27px)!important;color:#382719!important;
 letter-spacing:-.045em!important;font-weight:900}
.atfood-ui .section-heading button{font-weight:800;font-size:12px!important;color:#ee6828!important}
.atfood-ui #lista-lojas{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:20px!important;padding:0 0 40px!important}
.atfood-ui .store-item{overflow:hidden!important;margin:0!important;padding:0!important;
 border-radius:23px!important;border:1px solid #f2e4d8!important;
 background:#fff!important;box-shadow:0 10px 28px #6b3f240d!important;
 cursor:pointer;transition:transform .2s,box-shadow .2s}
.atfood-ui .store-item:hover{transform:translateY(-5px);box-shadow:0 20px 40px #6b3f2420!important}
.atfood-ui .store-grid{display:block!important}
.atfood-ui .store-thumb{height:200px!important;width:100%!important;object-fit:cover!important;
 background:#fce7d6;border:0!important;border-radius:0!important}
.atfood-ui .store-grid>div{padding:17px 19px 20px!important}
.atfood-ui .store-title{font-size:17px!important;font-weight:900!important;letter-spacing:-.04em;color:#392719!important}
.atfood-ui .store-subtitle{font-size:12px!important;line-height:1.5!important;
 color:#887b70!important;margin:7px 0!important;min-height:18px;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.atfood-ui .store-meta{display:inline-flex;align-items:center;gap:6px;
 font-size:11px!important;font-weight:800!important;color:#cf5a25!important;
 background:#fff3e8;padding:7px 10px;border-radius:999px;margin:9px 0 0}
.atfood-ui .store-meta.status-closed{background:#f7ebe9!important;color:#b7463a!important}
.atfood-ui .store-meta:before{content:"●";font-size:9px}
.atfood-ui .atfood-bottom-nav{
 position:fixed!important;bottom:12px!important;z-index:60!important;
 left:50%!important;transform:translateX(-50%)!important;
 display:grid!important;grid-template-columns:repeat(4,1fr)!important;
 background:#fffffff2!important;backdrop-filter:blur(20px)!important;
 padding:11px 16px calc(11px + env(safe-area-inset-bottom))!important;
 max-width:520px!important;width:calc(100% - 24px)!important;min-height:66px!important;
 border:1px solid #f0e2d6!important;border-radius:23px!important;
 box-shadow:0 12px 42px rgba(71,42,23,.17)!important
}
.atfood-ui .atfood-bottom-nav :is(a,button){font-size:11px!important;color:#998679!important;
 display:flex!important;flex-direction:column;align-items:center;gap:5px;font-weight:700}
.atfood-ui .atfood-bottom-nav :is(a,button).active{color:#ef6c2f!important}
.atfood-ui .atfood-bottom-nav i{font-size:19px!important}
.atfood-ui .menu-modal-card{background:#fffaf6!important;border-radius:27px!important;padding:25px!important;
 border:1px solid #f1e3d6!important;box-shadow:0 22px 70px #3320133d!important}
.atfood-ui .menu-modal-card h3{color:#392719!important}
.atfood-ui .menu-modal-actions{gap:10px!important}
.atfood-ui .menu-modal-actions button{border-radius:14px!important;min-height:45px!important}
.atfood-ui .menu-modal-actions .btn-ghost{color:#b4491d!important;border-color:#f3d3bd}
.atfood-ui .products-header{background:transparent!important;border-bottom:0!important;align-items:center;
 gap:13px!important;margin-bottom:12px!important}
.atfood-ui .products-header-title{color:#382719!important;font-size:20px!important;font-weight:900!important}
.atfood-ui #logo_loja{width:52px!important;height:52px!important;border-radius:15px!important;
 object-fit:cover!important;box-shadow:0 4px 13px #8e542015}
.atfood-ui .products-back,.atfood-ui #back_btn{height:45px!important;width:45px!important;
 min-width:45px!important;border-radius:15px!important;background:white!important;
 border:1px solid #f0e0d2!important;box-shadow:0 5px 14px #5f37140d}
.atfood-ui .products-back img{width:21px!important;height:21px!important}
.atfood-ui .store-intro,.atfood-ui .products-intro{
 padding:21px 23px;margin:12px 0 22px;border-radius:22px;
 background:#fff1e5;border:1px solid #ffdfc1;display:flex;align-items:center;gap:14px
}
.atfood-ui .products-intro i{display:grid;place-items:center;width:52px;height:52px;
 background:#f56a25;border-radius:16px;color:white;font-size:22px}
.atfood-ui .products-intro h1{font-weight:900;font-size:21px;color:#392719;margin:0}
.atfood-ui .products-intro p{font-size:12px;color:#896c5a;margin:3px 0 0}
.atfood-ui .category-nav{display:flex!important;align-items:center;gap:9px;overflow-x:auto;
 padding:5px 0 17px;scrollbar-width:thin}
.atfood-ui .category-chip{flex:0 0 auto;background:#fff!important;
 border:1px solid #e9d9cb!important;border-radius:999px!important;padding:11px 18px!important;
 color:#5e4a39!important;font-size:12px!important;font-weight:800!important}
.atfood-ui .category-chip:is(:hover,[aria-current=true]){background:#f56a25!important;
 border-color:#f56a25!important;color:#fff!important}
.atfood-ui .products-search-wrap{position:relative;margin:4px 0 24px!important}
.atfood-ui .products-search-wrap:before{content:"⌕";position:absolute;top:6px;left:18px;
 font-size:28px;font-weight:700;color:#e67b3e;z-index:1;pointer-events:none}
.atfood-ui .products-search-input{width:100%!important;height:54px!important;
 padding:10px 15px 10px 49px!important;border-radius:18px!important;
 border:1px solid #ebddd0!important;background:white!important}
.atfood-ui .product-section{margin-bottom:22px!important}
.atfood-ui .product-section-title{font-size:22px!important;font-weight:900!important;
 margin:10px 0 15px!important;color:#392719!important}
.atfood-ui #lista-produtos{display:grid!important;gap:7px}
.atfood-ui .product-item{position:relative;background:white!important;
 border:1px solid #f0e1d4!important;border-radius:20px!important;padding:13px!important;
 margin:0 0 12px!important;min-height:123px;cursor:pointer;
 box-shadow:0 8px 22px #643d1b0a!important;transition:transform .17s,box-shadow .17s}
.atfood-ui .product-item:hover{transform:translateY(-2px);box-shadow:0 13px 26px #643d1b18!important}
.atfood-ui .product-grid{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;
 align-items:center;gap:18px!important}
.atfood-ui .product-thumb{width:120px!important;height:110px!important;
 border-radius:16px!important;object-fit:cover!important;background:#fff1e1}
.atfood-ui .product-title{font-size:16px!important;font-weight:900!important;color:#392719!important}
.atfood-ui .product-subtitle{font-size:12px!important;color:#807268!important;
 line-height:1.4;margin-top:4px!important}
.atfood-ui .product-meta{font-size:15px!important;color:#ec6728!important;font-weight:900!important;
 margin:9px 0 0}
.atfood-ui .product-item:after{content:"+";position:absolute;right:16px;bottom:16px;
 display:grid;place-items:center;height:30px;width:30px;background:#ffefe0;color:#e15b20;
 border-radius:50%;font-size:23px;font-weight:700}
.atfood-ui .product-item .product-grid>div{padding-right:32px}
.atfood-ui .product-empty{background:white;color:#85786e;border-radius:16px;
 padding:20px;border:1px dashed #e8ccba}
.atfood-ui :is(#btn_carrinho,.cart-bar){max-width:630px!important;
 bottom:calc(14px + env(safe-area-inset-bottom))!important;
 padding:13px 22px!important;border-radius:20px!important;background:#f56a25!important;
 box-shadow:0 18px 35px #da652b3a!important}
.atfood-ui #btn_carrinho :is(#total_lbl,#total_carrinho){color:white!important}
.atfood-ui #btn_carrinho #total_lbl{font-size:11px!important;font-weight:700!important;opacity:.87}
.atfood-ui #btn_carrinho #total_carrinho{font-size:20px!important;font-weight:900!important}
.atfood-ui #btn_carrinho #cart_img{filter:brightness(0) invert(1)}
.atfood-ui.atfood-estabelecimento .store-shell #banner{border-radius:24px!important;
 max-height:300px!important;min-height:130px;object-fit:cover!important;box-shadow:0 10px 24px #58371a14}
.atfood-ui.atfood-estabelecimento #barra_info{background:#fff!important;border:1px solid #eee1d5!important;
 border-radius:18px!important;padding:18px!important;gap:15px!important;margin:12px 0 24px!important;
 min-height:70px!important}
.atfood-ui.atfood-estabelecimento #status{color:#e36b2a!important;font-weight:800!important}
.atfood-ui.atfood-estabelecimento #entrega_info{color:#76685e!important;font-size:12px!important}
.atfood-ui.atfood-estabelecimento .categorias{background:#fff!important;border-radius:19px!important;
 box-shadow:0 10px 22px #643d1b0a!important;padding:17px!important;margin:0 0 13px!important}
.atfood-ui.atfood-estabelecimento .imagem_categorias{height:72px!important;width:72px!important;border-radius:15px!important}
.atfood-ui.atfood-estabelecimento .titulo_categorias{color:#392719!important;font-weight:900!important}
.atfood-ui.atfood-product #loading-page-bb{background:#fff9f1!important}
.atfood-ui.atfood-product #cabecalho,
.atfood-ui.atfood-checkout #cabecalho,
.atfood-ui.atfood-orders #cabecalho{
 padding:18px 24px!important;max-width:740px!important;margin:0 auto 16px!important;
 display:flex!important;align-items:center!important;gap:13px;
 border-bottom:0!important;background:#fff9f1!important
}
.atfood-ui :is(#detalhes,#lbl_carrinho,#pedidos_lbl){font-size:21px!important;font-weight:900!important;
 color:#392719!important;letter-spacing:-.04em}
.atfood-ui #voltar_btn{background:#fff!important;border:1px solid #f0e0d2!important;
 border-radius:15px!important;min-width:44px!important;width:44px!important;
 min-height:44px!important;height:44px!important;padding:10px!important;
 filter:none!important;object-fit:contain}
.atfood-ui.atfood-product #img_produto{border-radius:26px!important;
 margin:0 auto 18px!important;width:calc(100% - 32px)!important;max-width:690px!important;
 max-height:380px!important;object-fit:cover!important;box-shadow:0 12px 32px #69371d1c!important}
.atfood-ui.atfood-product #id_da_tela{max-width:720px!important;margin:0 auto!important}
.atfood-ui.atfood-product #nome_produto{color:#392719!important;
 font-style:normal!important;font-size:clamp(20px,3vw,26px)!important;line-height:1.3}
.atfood-ui.atfood-product #tela_total{margin-top:8px!important}
.atfood-ui.atfood-product #lbl_total{font-size:25px!important;font-weight:900!important;color:#f56a25!important}
.atfood-ui.atfood-product #container_adicionais{max-width:720px!important;padding:0 16px 120px!important}
.atfood-ui.atfood-product #card_adicionais{background:white!important;border:1px solid #ecdfd2!important;
 border-radius:20px!important;padding:24px!important}
.atfood-ui.atfood-product .form-check{padding:13px 5px!important;border-bottom:1px solid #f2e9e0}
.atfood-ui.atfood-product .form-check-label{font-size:14px;color:#493a2f}
.atfood-ui.atfood-product .product-observations{max-width:700px;margin:14px auto 0;
 padding:19px!important;border-radius:20px;background:white;border:1px solid #ecdfd2}
.atfood-ui.atfood-product .product-observations label{color:#392719!important;
 font-weight:800!important;margin-bottom:9px!important;display:block}
.atfood-ui.atfood-product #tela_btn_add{display:flex!important;justify-content:center;
 padding:14px!important;background:#fffdf9ed!important;border-top:1px solid #f1e2d5}
.atfood-ui.atfood-product #tela_btn_qnt{display:flex;align-items:center;gap:14px!important}
.atfood-ui.atfood-product :is(#menos_btn,#mais_btn){width:40px!important;height:40px!important;
 color:#e76529!important;border-radius:12px!important;background:#fff1e5!important;
 border:1px solid #f7d7be}
.atfood-ui.atfood-product .card_add{min-width:190px}
.atfood-ui.atfood-checkout #loading-page-bb{max-width:760px!important;
 padding:0 16px 100px!important;margin:auto!important}
.atfood-ui.atfood-checkout :is(.meu_card,.produtos,#card_totais){
 background:#fff!important;border:1px solid #f0e2d5!important;
 border-radius:20px!important;box-shadow:0 9px 26px #643d1b0d!important;
 padding:21px!important;margin:0 0 14px!important
}
.atfood-ui.atfood-checkout :is(#card_totais,#totais_container){background:#fff!important}
.atfood-ui.atfood-checkout :is(#lbl_valor,#lbl_taxa,#lbl_valor_fim){color:#e36124!important;font-weight:900!important}
.atfood-ui.atfood-checkout #card_continuar{background:#f56a25!important;
 min-height:54px!important;border-radius:17px!important;display:grid;place-items:center}
.atfood-ui.atfood-checkout #continuar_lbl{color:#fff!important;font-size:16px!important}
.atfood-ui.atfood-orders #loading-page-bb>.container{max-width:760px!important;padding:0 16px 70px!important}
.atfood-ui.atfood-orders .meu_card{background:#fff!important;border:1px solid #f1e4d8!important;
 border-radius:22px!important;padding:22px!important;
 box-shadow:0 9px 24px #643d1b10!important;margin:0 0 15px!important}
.atfood-ui.atfood-orders .pedido-topo{padding-bottom:14px!important;border-bottom:1px solid #f1e4d8!important}
.atfood-ui.atfood-orders .pedido-id{font-size:15px!important;font-weight:900!important}
.atfood-ui.atfood-orders .pedido-status{border-radius:999px!important;padding:7px 12px!important}
.atfood-ui.atfood-orders .delivery-hero{background:#fff1e5!important;border-radius:18px!important}
.atfood-ui.atfood-orders .order-progress{margin:20px 0!important}
.atfood-ui.atfood-orders .order-step.current span{background:#f56a25!important;border-color:#f56a25!important}
.atfood-ui.atfood-orders #lbl_pedido_lbl{color:#392719!important}
.atfood-ui.atfood-orders #lbl_pedido{color:#6c5e51!important}
.atfood-ui :is(.modal-content,.modal-dialog .modal-content){background:#fffaf5!important;
 border:1px solid #f0dfd2!important;border-radius:22px!important;box-shadow:0 24px 60px #422b1c2e!important}
.atfood-ui .modal-header{border-color:#f1e6da!important}
.atfood-ui .modal-title{font-size:18px!important;color:#392719!important;font-weight:900!important}
.atfood-ui .modal-footer{border-color:#f1e6da!important}
.atfood-ui.atfood-local #base{background:#fff9f1!important;min-height:100vh!important;
 padding:30px 16px!important;display:flex!important;justify-content:center!important}
.atfood-ui.atfood-local #tela_formulario{background:#fff!important;
 width:min(100%,610px)!important;border:1px solid #f1e3d8!important;border-radius:28px!important;
 padding:26px!important;box-shadow:0 16px 45px #643d1b10!important}
.atfood-ui.atfood-local #box_logo{background:white!important}
.atfood-ui.atfood-local #logo{width:165px!important;max-width:100%!important}
.atfood-ui.atfood-local :is(#label_rua,#label_numero,#label_cidade,#label_bairro){
 color:#392719!important;font-size:14px!important;font-weight:800!important}
.atfood-ui.atfood-local :is(#rua_box,#numero_box,#cidades,#bairros){width:100%!important}
.atfood-ui.atfood-local #card_continuar{background:#f56a25!important;min-height:52px!important;
 display:grid;place-items:center;margin-top:16px!important}
.atfood-ui.atfood-login,.atfood-ui.atfood-cadastro{
 background:#fff7ee!important;color:#392719!important
}
.atfood-ui.atfood-login .welcome-screen{
 background:linear-gradient(145deg,#f7772f,#e8581c)!important;
 border-radius:0 30px 30px 0!important;box-shadow:none!important;color:white!important
}
.atfood-ui.atfood-login .welcome-screen :is(h1,p,small){color:#fff!important}
.atfood-ui.atfood-login .welcome-screen #welcome-title{
 font-size:clamp(34px,4.2vw,58px)!important;letter-spacing:-.06em;line-height:1.1;font-weight:900
}
.atfood-ui.atfood-login .welcome-screen .welcome-photo{
 border-radius:28px!important;box-shadow:0 20px 50px #9b3b1761!important;
 object-fit:cover
}
.atfood-ui.atfood-login .welcome-screen .btn-main{background:#fff!important;color:#d84f15!important;
 box-shadow:0 12px 24px #9a380e30!important}
.atfood-ui.atfood-login .welcome-screen .btn-ghost{
 border:1px solid #fff9!important;color:white!important;background:transparent!important
}
.atfood-ui .auth-wrap{background:transparent!important}
.atfood-ui .auth-card{background:white!important;border:1px solid #f0dfd1!important;
 border-radius:28px!important;padding:32px!important;box-shadow:0 18px 50px #56371d12!important}
.atfood-ui .auth-title{color:#392719!important;font-size:26px!important;
 font-weight:900!important;letter-spacing:-.045em}
.atfood-ui .auth-subtitle{color:#8b7b70!important}
.atfood-ui .auth-card label{color:#513c2f!important;font-weight:800!important}
.atfood-ui .auth-card :is(#btn-login,#btn-cadastro){width:100%;margin-top:12px;background:#f56a25!important;
 border:0!important;color:#fff!important;font-weight:900!important}
.atfood-ui .auth-card .logo-box img{max-width:180px!important;width:100%;height:auto}
.atfood-ui .auth-card a{color:#e15f22!important;font-weight:800}
.atfood-ui.atfood-index .surface-card{background:#fff!important;
 border:1px solid #f0dfd1!important;border-radius:28px!important;box-shadow:0 18px 40px #56371d13!important}
.atfood-ui.atfood-index .loading-pill{background:#fff1e5!important;border-color:#f9d9c2!important}
.atfood-ui.atfood-product #tela_btn_add .row{display:flex;gap:15px;align-items:center;flex-wrap:wrap}
.atfood-ui .atfood-empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;
 justify-content:center;text-align:center;gap:9px;padding:34px 18px;background:#fff;
 border:1px dashed #edd6c3;border-radius:20px;color:#85786e}
.atfood-ui .atfood-empty-state i{font-size:26px;color:#ee7135}
.atfood-ui .atfood-empty-state h2{font-size:17px!important;font-weight:900;color:#392719;margin:0}
.atfood-ui .atfood-empty-state p{margin:0;font-size:13px}
.atfood-ui .atfood-empty-state a{font-weight:800;color:#d65118}
.atfood-ui .atfood-ui-error{margin:12px 0;padding:12px 16px;
 background:#fff1e7;border:1px solid #f0c1a7;border-radius:15px;color:#8d4324}
@media(min-width:1000px){
 .atfood-ui .home-shell{padding-top:22px!important}
 .atfood-ui .home-banner.has-fallback{min-height:265px}
 .atfood-ui .home-banner img{max-height:330px!important}
}
@media(max-width:900px){
 .atfood-ui #lista-lojas{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .atfood-ui .tela-categorias{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .atfood-ui .home-shell,.atfood-ui .products-shell,.atfood-ui .store-shell{padding:16px 16px 108px!important}
 .atfood-ui .store-thumb{height:175px!important}
}
@media(max-width:560px){
 .atfood-ui .home-header{min-height:58px!important}
 .atfood-ui .home-brand{width:104px!important}
 .atfood-ui .home-greeting strong{font-size:13px!important}
 .atfood-ui .home-intro{margin-top:7px}
 .atfood-ui .home-intro h1{font-size:27px!important}
 .atfood-ui .home-intro p{font-size:12px}
 .atfood-ui .home-intro .intro-icon{display:none}
 .atfood-ui .delivery-location{margin-bottom:20px!important}
 .atfood-ui .home-banner.has-fallback{grid-template-columns:1.15fr .85fr!important;min-height:163px!important}
 .atfood-ui .home-banner .banner-copy{padding:21px 18px!important}
 .atfood-ui .banner-copy:before{font-size:9px;margin-bottom:8px}
 .atfood-ui .banner-copy strong{font-size:23px!important}
 .atfood-ui .banner-copy small{font-size:10px!important;margin-top:7px!important}
 .atfood-ui .home-banner img{min-height:165px!important}
 .atfood-ui .category-heading h2{font-size:19px!important}
 .atfood-ui .tela-categorias{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
 .atfood-ui .card-categoria{min-height:95px;padding:9px 2px!important;border-radius:14px!important}
 .atfood-ui .card-categoria i{width:48px!important;height:44px!important;font-size:21px!important}
 .atfood-ui .card-categoria .card-text{font-size:10px!important}
 .atfood-ui .more-categories>summary{height:95px;border-radius:14px}
 .atfood-ui .more-categories>summary i{padding:11px}
 .atfood-ui .section-heading h1{font-size:20px!important}
 .atfood-ui #lista-lojas{gap:12px!important}
 .atfood-ui .store-item{border-radius:16px!important}
 .atfood-ui .store-thumb{height:123px!important}
 .atfood-ui .store-grid>div{padding:12px!important}
 .atfood-ui .store-title{font-size:13px!important}
 .atfood-ui .store-subtitle{font-size:11px!important}
 .atfood-ui .store-meta{font-size:9px!important;padding:6px 7px}
 .atfood-ui .products-intro{padding:15px!important;gap:9px}
 .atfood-ui .products-intro i{height:40px;width:40px;font-size:18px}
 .atfood-ui .products-intro h1{font-size:17px}
 .atfood-ui .products-header-title{font-size:16px!important}
 .atfood-ui .product-grid{grid-template-columns:90px minmax(0,1fr)!important;gap:11px!important}
 .atfood-ui .product-thumb{width:90px!important;height:94px!important}
 .atfood-ui .product-item{padding:10px!important;min-height:112px}
 .atfood-ui .product-title{font-size:14px!important}
 .atfood-ui .product-subtitle{font-size:11px!important}
 .atfood-ui .product-meta{font-size:13px!important}
 .atfood-ui.atfood-product #tela_btn_add .row{justify-content:center}
 .atfood-ui.atfood-product #tela_btn_qnt{gap:9px!important}
 .atfood-ui.atfood-product .card_add{min-width:165px}
 .atfood-ui.atfood-login .welcome-screen{border-radius:0 0 28px 28px!important}
 .atfood-ui .auth-card{padding:23px!important}
}
@media(max-width:380px){
 .atfood-ui #lista-lojas{grid-template-columns:1fr!important}
 .atfood-ui .store-thumb{height:175px!important}
 .atfood-ui .home-banner .banner-copy strong{font-size:20px!important}
}
@media(prefers-reduced-motion:reduce){
 .atfood-ui *, .atfood-ui *:before, .atfood-ui *:after{scroll-behavior:auto!important;
 transition-duration:.01ms!important;animation-duration:.01ms!important}
}

.atfood-ui .atfood-empty-state[hidden]{display:none!important}
.atfood-ui .scroll-item.sabor-selected{background:#392719!important;color:white!important;border-color:#392719!important}
.atfood-ui .sabor-image-fallback{object-fit:contain!important;padding:22px;background:#fff1e5!important}

/* Wordmark variations and product-intro icon without third-party icon fonts. */
.atfood-ui.atfood-login .welcome-screen>.atfood-brand{background:#fff;border-radius:14px;padding:8px 12px;max-width:220px!important}
.atfood-ui .products-intro .intro-emoji{display:grid;place-items:center;width:52px;height:52px;background:#f56a25;border-radius:16px;font-size:23px;flex:0 0 52px}
@media(max-width:560px){.atfood-ui .products-intro .intro-emoji{width:40px;height:40px;flex-basis:40px;font-size:19px}}

/* Home: keep generous space for the floating mobile navigation. */
.atfood-ui.atfood-home .home-shell{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}

/* Consistent visible and keyboard-accessible back navigation on the address form. */
.atfood-ui.atfood-local .atfood-local-nav{display:flex!important;justify-content:flex-start;align-items:center;padding:12px 0 5px;margin-bottom:2px}
.atfood-ui.atfood-local .atfood-local-nav .atfood-back{
 display:inline-flex;align-items:center;gap:10px;min-height:45px;
 color:#392719!important;background:#fff!important;border:1px solid #eedccc!important;
 border-radius:15px;padding:9px 16px;font-family:inherit;font-size:14px;
 font-weight:800;text-decoration:none;box-shadow:0 5px 15px #51301810
}
.atfood-ui.atfood-local .atfood-local-nav .atfood-back:hover{background:#fff0e4!important}
.atfood-ui.atfood-local .atfood-local-nav .atfood-back:focus-visible{outline:3px solid #f56a25!important;outline-offset:2px}

/* Live order status (no page reload). Ready != out for delivery. */
.atfood-ui.atfood-orders .pedido-live-indicator{
  display:flex;align-items:center;gap:9px;padding:10px 14px;
  margin:4px 0 17px;border-radius:14px;background:#f3fdf5;
  border:1px solid #d8efdf;color:#306644;font-size:12px;font-weight:700;
}
.atfood-ui.atfood-orders .pedido-live-dot{
  flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#38a169;
  box-shadow:0 0 0 4px rgba(56,161,105,.12)
}
.atfood-ui.atfood-orders .pedido-live-indicator[data-live-state="offline"],
.atfood-ui.atfood-orders .pedido-live-indicator[data-live-state="error"]{
  color:#985326;background:#fff4e8;border-color:#ffdec0
}
.atfood-ui.atfood-orders .pedido-live-indicator[data-live-state="offline"] .pedido-live-dot,
.atfood-ui.atfood-orders .pedido-live-indicator[data-live-state="error"] .pedido-live-dot{
  background:#db813d;box-shadow:none
}
.atfood-ui.atfood-orders .pedido-live-indicator[data-live-state="updated"]{
  color:#1c7442;background:#e8faec
}
.atfood-ui.atfood-orders .pedido-status.status-pronto{
  background:#edf4ff!important;border-color:#c8dcfe!important;color:#275f9d!important
}
.atfood-ui.atfood-orders .pedido-status.status-entrega{
  background:#fff0e4!important;border-color:#f9d0ae!important;color:#c75c20!important
}
@keyframes atfood-order-status-updated{
  0%{outline:3px solid rgba(245,106,37,.38);outline-offset:1px}
  100%{outline:3px solid transparent;outline-offset:1px}
}
@media(prefers-reduced-motion:no-preference){
 .atfood-ui.atfood-orders .meu_card.pedido-atualizado{
   animation:atfood-order-status-updated 1.5s ease-out
 }
}

/* Store-selected online payment can be unavailable until Mercado Pago is ready.
   Keep the disabled option visible and tell customers what needs setup. */
.atfood-ui.atfood-checkout .atfood-online-payment-hint{
  display:block;
  margin:8px 0 16px;
  padding:12px 14px;
  border:1px solid #f5c89d;
  border-radius:14px;
  background:#fff7ed;
  color:#925222;
  font-size:13px;
  line-height:1.5;
}
