:root{--primary:#278d75;--secondary:#e6f4ea;--background:#f7f9f7;--ink:#20322a;--muted:#718079;--line:#e2e9e4;--danger:#b63546;--shadow:0 12px 32px #1d3e2d0c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--background);color:var(--ink);font:14px/1.48 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;text-transform:uppercase}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}a{color:var(--primary);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(23px,3vw,32px);line-height:1.13}h2{font-size:18px;letter-spacing:-.25px}h3{font-size:15px}small,.tiny{font-size:11px;color:var(--muted);letter-spacing:.15px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;border:0;border-radius:10px;background:var(--primary);color:#fff;font-weight:800;padding:12px 18px;line-height:1.3;white-space:normal}.btn:hover{filter:brightness(.94)}.btn.outline{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.danger{background:var(--danger)}.btn.wide{width:100%}.sm{font-size:11px;font-weight:800;border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px 10px;cursor:pointer;margin:2px}.sm.danger{color:var(--danger)}.sm.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.brand-img{width:170px;max-width:100%;max-height:80px;object-fit:contain}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;box-shadow:var(--shadow);min-width:0}.card h2{margin:0 0 18px}.card p{margin:6px 0 16px}.form-stack{display:grid;gap:13px}label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800}label input,label select,label textarea,input,select,textarea{background:#fff;border:1px solid #d6e2db;border-radius:8px;padding:11px 12px;outline-color:var(--primary);max-width:100%}input[type=checkbox],input[type=radio]{width:17px;height:17px;accent-color:var(--primary)}label:has(input[type=checkbox]),label:has(input[type=radio]){flex-direction:row;align-items:center;cursor:pointer}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.three-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-wide{grid-column:1/-1}.stack{display:grid;gap:9px}.item-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.item-row:last-child{border:0}.pill{font-size:10px;font-weight:900;padding:5px 8px;border-radius:22px;background:#edf1ee;color:#425448;display:inline-block}.pill.ok{background:#e1f6e8;color:#217448}.pill.bad{background:#ffebeb;color:#a32c32}.pill.warn{background:#fff2d7;color:#99620b}.muted{color:var(--muted)}.error{background:#ffeded;color:#9b2b38;border-radius:8px;padding:11px}.success{background:#e5f8ef;color:#206d48;padding:12px;border-radius:9px}.alert{background:#e7f6ec;color:#207447;border:1px solid #c5e8d2;padding:11px 14px;border-radius:9px;margin-bottom:12px}.alert.bad{background:#ffebeb;color:#9b2431}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:28px 12px}.auth-card{width:min(490px,100%);background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:32px;border-radius:20px;display:grid;gap:17px}.auth-card p{font-size:12px;color:var(--muted)}.app-shell{display:flex;min-height:100vh}.side{position:sticky;top:0;height:100vh;overflow-y:auto;flex:0 0 238px;background:#fff;border-right:1px solid var(--line);padding:22px 13px;display:flex;flex-direction:column;gap:7px}.side .brand-img{margin:0 auto 14px}.side h2{margin:0 10px 15px;font-size:13px}.nav{width:100%;text-align:left;background:transparent;border:0;padding:12px;border-radius:9px;font-weight:800;font-size:12px}.nav.active,.nav:hover{background:var(--secondary);color:var(--primary)}.app-main{flex:1;padding:24px;min-width:0;max-width:1580px;margin:auto;width:100%}.topline{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;flex-wrap:wrap}.topline span{color:var(--muted);font-size:11px}.dashboard-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kpi{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px}.kpi small{display:block;margin-bottom:7px}.kpi strong{font-size:26px}.actionbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:17px}.control{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.control label{margin:0}.statusbar{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:8px 0 18px}.order-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:12px}.order-card{padding:16px;background:#fff;border-radius:13px;border:1px solid var(--line);display:grid;gap:9px;box-shadow:var(--shadow)}.order-card.new{border:2px solid #db9a26}.order-card .lines{border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);padding:10px 0;display:grid;gap:4px;font-size:12px}.order-card .actions{display:flex;gap:7px;flex-wrap:wrap}.order-card .actions>*{flex:1}.section{margin-bottom:24px}.empty{text-align:center;color:var(--muted);padding:28px;border:1px dashed var(--line);border-radius:11px}.store-page{background:var(--background)}.store-bar{height:90px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid var(--line);padding:0 max(18px,calc((100vw - 1220px)/2))}.store-brand{display:flex;align-items:center;gap:12px}.store-brand b{font-size:20px;display:block}.store-brand small{display:block}.brand-symbol{width:49px;height:49px;background:var(--secondary);color:var(--primary);display:grid;place-items:center;border-radius:12px;font-size:24px;font-weight:900}.store-container{max-width:1220px;margin:auto;padding:24px 18px 70px}.banner{border-radius:22px;min-height:280px;background:linear-gradient(110deg,#d9f0e1,#f2f9f0);display:flex;align-items:center;justify-content:space-between;overflow:hidden;padding:36px 5%;margin-bottom:23px;position:relative}.banner-text{max-width:64%;z-index:1}.banner h1{font-size:clamp(29px,5vw,54px);margin:10px 0}.banner p{font-size:13px}.banner-art{font-size:170px;color:#86c6a322;line-height:1}.peak{font-size:12px;font-weight:900;background:#fff6d9;border:1px solid #eecb72;color:#915a07;border-radius:10px;padding:8px;margin-top:12px}.delivery-estimate{display:inline-block;margin-top:10px;font-weight:850;font-size:12px}.search-area{margin:0 0 12px}.search-area input{width:100%;border-radius:13px;padding:15px 19px}.category-pills{display:flex;overflow-x:auto;gap:8px;margin-bottom:25px;padding:5px 0}.category-pill{background:#fff;border:1px solid var(--line);border-radius:999px;padding:11px 15px;font-size:12px;font-weight:850;white-space:nowrap}.category-pill:hover{background:var(--secondary)}.store-container section h2{margin:0 0 16px}.category-section{margin:32px 0}.cat-status{font-size:11px;color:#926008;font-weight:700;background:#fff5d9;padding:7px 11px;border-radius:8px;display:inline-block;margin-bottom:14px}.featured-grid{display:flex;overflow-x:auto;gap:13px;padding-bottom:12px}.featured-grid .product-card{flex:0 0 165px;max-width:165px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:14px}.product-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);padding:11px;border-radius:13px;position:relative;min-width:0}.product-card.is-out{opacity:.65}.product-photo{width:96px;height:96px;object-fit:cover;border-radius:10px;background:var(--secondary);flex:0 0 auto}.product-emoji{width:96px;height:96px;border-radius:10px;background:var(--secondary);display:grid;place-items:center;font-size:36px;flex:0 0 auto}.product-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.product-info b{font-size:12px;line-height:1.32;display:block}.product-info small{font-size:10px;line-height:1.35}.old-price{text-decoration:line-through;color:#a2aaa5;font-size:10px}.price{font-size:15px;font-weight:900;color:var(--primary)}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.qty{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:3px}.qty button{background:var(--secondary);border:0;border-radius:6px;font-size:16px;width:27px;height:27px}.qty strong{min-width:10px;text-align:center}.badge-sale{font-size:10px;background:#ffeedd;color:#9f5314;border-radius:7px;padding:4px 7px;display:inline-block}.featured-grid .product-card{flex-direction:column;align-items:stretch}.featured-grid .product-photo,.featured-grid .product-emoji{width:100%;height:118px}.featured-grid .product-info{flex:1}.featured-grid .product-bottom{flex-wrap:wrap}.product-grid.layout-grade2{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid.layout-grade3{grid-template-columns:repeat(3,minmax(0,1fr))}.product-grid.layout-grade4,.product-grid.layout-compacta,.product-grid.layout-mini{grid-template-columns:repeat(4,minmax(0,1fr))}.layout-grade2 .product-card,.layout-grade3 .product-card,.layout-grade4 .product-card,.layout-compacta .product-card,.layout-mini .product-card,.layout-foto .product-card{flex-direction:column;align-items:stretch}.layout-grade2 .product-photo,.layout-grade2 .product-emoji,.layout-grade3 .product-photo,.layout-grade3 .product-emoji,.layout-grade4 .product-photo,.layout-grade4 .product-emoji,.layout-compacta .product-photo,.layout-compacta .product-emoji,.layout-mini .product-photo,.layout-mini .product-emoji,.layout-foto .product-photo,.layout-foto .product-emoji{width:100%;height:120px}.layout-mini .product-photo,.layout-mini .product-emoji{height:74px}.layout-horizontal .product-card{padding:17px}.layout-detalhado .product-card{padding:19px}.layout-semfoto .product-photo,.layout-semfoto .product-emoji{display:none}.layout-lista{grid-template-columns:1fr}.layout-lista .product-photo,.layout-lista .product-emoji{width:84px;height:84px}.layout-foto{grid-template-columns:repeat(3,minmax(0,1fr))}.store-footer{background:#fff;border-top:1px solid var(--line);text-align:center;padding:26px 14px;display:grid;gap:20px}.fixed-credit{display:flex;justify-content:center;align-items:center;gap:15px;border-top:1px solid var(--line);padding-top:19px;font-size:10px;font-weight:800;color:#476153}.fixed-credit img{width:175px;max-width:43%;height:55px;object-fit:contain}.drawer-overlay{position:fixed;inset:0;background:#10251cb0;z-index:10}.cart-drawer{position:fixed;right:0;top:0;bottom:0;width:min(480px,100%);overflow:auto;z-index:12;background:#fff;padding:24px;box-shadow:-18px 0 70px #0002}.drawer-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.icon-btn{border:0;background:#edf3ee;border-radius:9px;padding:10px}.cart-lines{display:grid;gap:11px;margin-bottom:20px}.cart-line{display:flex;align-items:center;justify-content:space-between;gap:11px;padding:12px;border:1px solid var(--line);border-radius:11px}.checkout-form{display:grid;gap:13px}.choice-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.choice{border:1px solid var(--line);background:#fff;border-radius:10px;min-height:52px;font-size:12px;font-weight:900}.choice.active{background:var(--secondary);border-color:var(--primary);color:var(--primary)}.cart-totals{padding:12px;background:#f2f7f2;border-radius:9px;display:grid;gap:7px}.total-line{display:flex;justify-content:space-between;gap:12px}.total-line.grand{font-size:18px;font-weight:900;border-top:1px solid #dce8dd;padding-top:10px}body[data-theme=ifood]{--primary:#ed5c67;--secondary:#ffeced;--background:#fffafa}body[data-theme=classico]{--primary:#318fd2;--secondary:#dff1fc;--background:#f4f8fb}body[data-theme=elegante]{--primary:#514f82;--secondary:#eae9f4;--background:#faf9fc}body[data-theme=minimalista]{--primary:#303d47;--secondary:#e9edef;--background:#fff}.tiny-bar{display:flex;gap:8px;align-items:center}.tiny-bar .sm{white-space:nowrap}.chart-bars{display:flex;gap:8px;align-items:end;min-height:190px;padding:10px 0 22px;border-bottom:1px solid var(--line);overflow-x:auto}.bar-wrap{display:grid;gap:5px;justify-items:center;flex:1;min-width:35px;font-size:10px}.bar{width:80%;max-width:44px;background:var(--primary);border-radius:6px 6px 0 0;min-height:3px}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table td,.data-table th{border-bottom:1px solid var(--line);padding:9px;text-align:left}.modal-overlay{position:fixed;inset:0;background:#152a1eaa;z-index:30;display:grid;place-items:center;padding:18px}.modal{background:#fff;border-radius:16px;width:min(780px,100%);max-height:92vh;overflow:auto;padding:24px;box-shadow:0 12px 90px #0003}.modal h2{margin-bottom:17px}.schedule-row{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:10px;align-items:end;margin:9px 0}.schedule-row select{width:100%}.preview-frame{width:100%;min-height:470px;border:1px solid var(--line);border-radius:12px}.activity-area{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:15px}.login-note{margin-top:12px;font-size:12px;color:var(--muted)}
@media(max-width:1100px){.product-grid.layout-compacta,.product-grid.layout-grade4,.product-grid.layout-mini{grid-template-columns:repeat(3,minmax(0,1fr))}.app-main{padding:20px}.side{flex-basis:205px}.dashboard-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.app-shell{display:block}.side{position:relative;width:100%;height:auto;flex:none;flex-direction:row;flex-wrap:wrap;padding:12px}.side .brand-img{display:none}.side h2{width:100%;margin:2px 0}.side .nav,.side form{flex:1 1 auto;width:auto;font-size:10px;text-align:center}.app-main{padding:13px}.two-cols,.three-cols,.activity-area{grid-template-columns:1fr}.product-grid.layout-compacta,.product-grid.layout-grade4,.product-grid.layout-mini,.product-grid.layout-grade3,.product-grid.layout-foto{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid.layout-grade2{grid-template-columns:repeat(2,minmax(0,1fr))}.store-bar{height:auto;min-height:75px;padding:12px 16px}.store-brand b{font-size:15px}.banner{min-height:230px;padding:24px}.banner-text{max-width:83%}.banner-art{font-size:85px}.order-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.order-cards{grid-template-columns:1fr}.product-grid,.product-grid.layout-compacta,.product-grid.layout-grade4,.product-grid.layout-grade2,.product-grid.layout-grade3,.product-grid.layout-mini,.product-grid.layout-foto{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-grid .product-card{flex-direction:column;align-items:stretch}.product-grid .product-photo,.product-grid .product-emoji{width:100%;height:110px}.product-info b{font-size:11px}.qty{gap:4px}.qty button{width:25px;height:25px}.store-container{padding:15px 10px 40px}.fixed-credit{flex-direction:column}.grid-form{grid-template-columns:1fr}.card{padding:15px}.auth-card{padding:22px}.schedule-row{grid-template-columns:1fr 1fr}}

/* AVALIAÇÕES V7: APRESENTAÇÃO NO SITE E NO ADMINISTRATIVO */
.reviews-section{margin:38px 0 16px;padding:26px 0;border-top:1px solid var(--line)}
.reviews-heading{gap:12px;margin-bottom:18px}.reviews-heading h2{margin-bottom:6px!important}
.reviews-heading .pill{background:var(--secondary);color:var(--primary)}
.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.review-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:21px;display:flex;flex-direction:column;gap:13px;min-height:174px;box-shadow:var(--shadow)}
.review-stars{color:#e4a52e;font-size:18px;letter-spacing:2px;white-space:nowrap}.review-stars span{color:#ccd5d0}
.review-comment{font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;flex:1}
.review-author{display:flex;align-items:center;gap:9px;font-size:11px}
.review-avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--secondary);color:var(--primary);font-weight:900;font-size:14px}
.reviews-disclaimer{font-size:10px;color:var(--muted);margin-top:15px}
.review-config{padding:13px 15px;background:var(--secondary);border-radius:10px;font-size:12px}
.review-admin-copy{min-width:0;flex:1}.review-admin-copy p{margin:5px 0 6px;overflow-wrap:anywhere;white-space:pre-wrap}
.review-admin-row .tiny-bar{flex-wrap:wrap}
@media(max-width:900px){.reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.reviews-grid{grid-template-columns:1fr}.reviews-heading{align-items:flex-start}.review-admin-row{align-items:flex-start;flex-direction:column}}

/* V8: CARTÕES DE COMBOS, ADICIONAIS, AVALIAÇÕES E PAINEL DE ESTOQUE */
#combosWrap{margin:28px auto 36px}#combosWrap h2{font-size:1.35rem;margin:0 0 13px}
.combo-card .product-info{min-height:154px}.combo-card .product-emoji{background:#edf7f0;font-size:3.3rem}.combo-card .btn{margin-top:14px;align-self:flex-start}
.custom-modal{position:fixed;z-index:112;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;color:#22382d;width:min(92vw,560px);padding:24px;border-radius:16px;max-height:86vh;overflow:auto;box-shadow:0 25px 80px #0005}.custom-modal[hidden],.drawer-overlay[hidden]{display:none!important}
#customOverlay{z-index:110}.custom-modal label{display:block;margin:12px 0 6px;font-weight:700;text-transform:uppercase;font-size:.85rem}
.custom-modal select{display:block;width:100%;margin-top:5px;padding:12px;border-radius:9px;border:1px solid #c8d7d0;background:white}
.custom-header{text-align:right}.addon-option{display:flex!important;align-items:center;gap:10px;justify-content:space-between;padding:10px 3px;border-bottom:1px solid #e9efec}.addon-option input{width:18px;height:18px}.addon-option b{margin-left:auto}.addon-option.unavailable{opacity:.55}.addon-group{padding:9px 0}.addon-group h3{font-size:1rem}
.recommend-wrap{border-top:1px solid #d6e1db;padding:12px 18px}.recommend-wrap h3{font-size:.94rem}.recommend-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #eef2f0;padding:8px 0;font-size:.78rem}.recommend-item b{flex:1}
.check-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));max-height:230px;overflow:auto;gap:4px;background:#f7faf7;padding:12px;border-radius:10px}.check-picker label{padding:5px;align-items:flex-start}.check-picker input{width:18px;height:18px}
.combo-step{margin:12px 0;padding:15px;background:#f1f8f4;border-radius:12px;border:1px solid #d8e8dd;display:grid;gap:7px}.combo-step label{display:block}
.small-avatar,.review-avatar{object-fit:cover;width:40px;height:40px;border-radius:50%;vertical-align:middle;margin-right:8px}
.review-avatar{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:600px){.custom-modal{padding:17px}.recommend-item{flex-wrap:wrap}.combo-step{padding:10px}}

/* CONFIGURAÇÕES INDEPENDENTES DE IMPRESSÃO */
.receipt-settings-block{padding:19px 0 23px;margin:18px 0;border-bottom:1px solid var(--line)}
.receipt-settings-block h3{margin-bottom:6px;color:var(--primary)}
.receipt-settings-block p{color:var(--muted);font-size:12px;margin-bottom:16px}
.receipt-margins{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 18px}
.receipt-margins label{font-size:11px;font-weight:750}
.receipt-margins input{width:100%;min-width:0;margin-top:6px}
.receipt-brand-note{background:#f3f8f5;border:1px solid var(--line);padding:16px;border-radius:11px;line-height:1.8;font-size:12px;margin:16px 0}
@media(max-width:690px){.receipt-margins{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V8.4.1: ADMINISTRATIVO COM MENU LATERAL FIXO */
@media (min-width:751px){
  .app-shell{display:block;min-height:100vh}
  .app-shell>.side{
    position:fixed;left:0;top:0;bottom:0;z-index:30;
    width:238px;height:100vh;height:100dvh;
    flex:none;overscroll-behavior:contain;
    overflow-y:auto;overflow-x:hidden;
    scrollbar-width:thin;
  }
  .app-shell>.app-main{margin:0 0 0 238px;width:calc(100% - 238px);max-width:none}
  .sidebar-toggle,.sidebar-shade{display:none!important}
}
@media (min-width:751px) and (max-width:1100px){
  .app-shell>.side{width:205px}
  .app-shell>.app-main{margin-left:205px;width:calc(100% - 205px)}
}
@media (max-width:750px){
  body.nav-open{overflow:hidden}
  .sidebar-toggle{
    display:flex;align-items:center;justify-content:center;gap:9px;
    position:fixed;left:12px;top:calc(10px + env(safe-area-inset-top,0px));
    z-index:70;min-width:88px;height:40px;padding:7px 13px;
    background:#fff;color:var(--ink);border:1px solid var(--line);
    border-radius:10px;font-size:12px;font-weight:900;
    box-shadow:0 4px 14px #0002;
  }
  .sidebar-toggle span{font-size:17px;line-height:1}
  .sidebar-shade:not([hidden]){
    display:block;position:fixed;inset:0;background:#0008;z-index:59
  }
  .app-shell>.side{
    display:flex;position:fixed;top:0;left:0;bottom:0;z-index:60;
    width:min(315px,85vw);max-width:85vw;height:100vh;height:100dvh;
    padding:calc(61px + env(safe-area-inset-top,0px)) 12px 16px;
    overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
    flex-direction:column;flex-wrap:nowrap;
    transform:translateX(-110%);visibility:hidden;
    transition:transform .2s ease,visibility .2s;
    box-shadow:6px 0 24px #0002;
  }
  body.nav-open .app-shell>.side{transform:translateX(0);visibility:visible}
  .app-shell>.side h2{width:auto;margin:0 10px 14px;font-size:13px}
  .app-shell>.side .nav,.app-shell>.side form{
    flex:none;display:block;width:100%;text-align:left;font-size:12px
  }
  .app-shell>.app-main{padding:64px 13px 20px;width:100%;max-width:100%;margin:0}
}
@media (prefers-reduced-motion:reduce){.app-shell>.side{transition:none}}

/* V8.4.2: o overlay não pode ignorar [hidden] após salvar. */
[hidden]{display:none!important}
.category-admin-block{padding:16px;margin:14px 0 23px;border:1px solid #c6dede;border-left:6px solid #4d9bcc;border-radius:13px;background:#edf6fc}
.category-admin-block:nth-child(3n+2){background:#eff9f1;border-left-color:#58a57c}
.category-admin-block:nth-child(3n){background:#fff6e8;border-left-color:#d7a553}
.category-admin-block .item-row{background:#ffffffbd;padding:10px;border-radius:9px;margin:7px 0;gap:10px;flex-wrap:wrap}
.admin-thumb{width:56px;height:56px;flex:0 0 56px;object-fit:cover;background:#f1f1f1;border:1px solid #ddd;border-radius:7px}
.admin-thumb.placeholder{display:grid;place-items:center;font-size:9px;color:#777;text-align:center}
.category-title{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.category-title h3{margin:0!important}
.category-admin-block .tiny-bar{margin-left:auto;flex-wrap:wrap}
.category-section{border:1px solid #dce5df;padding:14px 16px 22px;border-radius:16px;background:#eef7fc;margin:27px 0!important}
.category-section:nth-child(3n+2){background:#eef8f1}.category-section:nth-child(3n){background:#fff8ed}
.category-cover{min-height:84px;display:flex;align-items:center;padding:15px 19px;border-radius:12px;margin-bottom:15px;background-color:#213b34;background-size:cover;background-position:center;color:#fff}
.category-cover h2{color:#fff!important;text-shadow:0 2px 5px #0008;margin:0!important;font-size:clamp(19px,3vw,28px)}
.store-page .banner.has-cover{color:#fff}.banner.has-cover .banner-text{color:#fff;text-shadow:0 2px 6px #0009}.banner.has-cover h1,.banner.has-cover p{color:#fff}
.receipt-preview{display:flex;justify-content:center;background:#e8ece9;border-radius:12px;padding:18px;overflow:auto;margin:14px 0}
.receipt-paper{font-family:monospace;background:white;color:#111;padding:12px;box-shadow:0 3px 16px #0002;font-size:11px;max-width:100%;white-space:normal}
.report-table-wrap{overflow:auto}.report-table-wrap table{width:100%;border-collapse:collapse;font-size:12px}.report-table-wrap th,.report-table-wrap td{padding:7px;border-bottom:1px solid #ddd;text-align:left}
.combo-item-control{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;padding:6px 0;border-bottom:1px solid #eee}.combo-item-control button{min-width:32px;min-height:32px}
@media(max-width:600px){.category-section{padding:10px}.category-cover{min-height:72px}.admin-thumb{width:48px;height:48px;flex-basis:48px}}

/* MUNDIAL V8.4.3 – MOBILE FIRST: MINI CARRINHO E RESUMO DO COMBO */
.mini-cart[hidden]{display:none!important}
.mini-cart{position:fixed;right:24px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:85;display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:min(360px,94vw);padding:11px 13px;background:#fff;color:#192d24;border:1px solid #c9e4d4;border-radius:14px;box-shadow:0 9px 36px #0004}
.mini-cart-value{display:grid;gap:3px}.mini-cart-value small{font-size:11px;color:#4e6356;font-weight:700}.mini-cart-value strong{font-size:20px;font-variant-numeric:tabular-nums}.mini-cart .btn{min-width:145px;min-height:43px;white-space:nowrap}
.store-page:has(.mini-cart:not([hidden])) .store-footer{padding-bottom:95px}
body.drawer-open .mini-cart{display:none}
.combo-fixed-actions{position:sticky;bottom:-24px;z-index:3;background:#fff;padding:12px 0 4px;margin-top:12px;box-shadow:0 -10px 18px -18px #0005;border-top:1px solid #d6e5dd}
.combo-fixed-actions .cart-totals{padding:10px;gap:4px}.combo-fixed-actions .total-line{font-size:12px}.combo-fixed-actions .total-line.grand{font-size:17px;padding-top:7px}
.category-section{padding:14px;margin:27px 0 34px;border:1px solid #d9e6dd;border-radius:17px;background:#fbfdfb;box-shadow:0 4px 18px #142c190a}
.category-section:nth-child(3n + 1){background:#f5fbff;border-color:#cfe4f4}.category-section:nth-child(3n + 2){background:#f5fbf5;border-color:#cee7d5}.category-section:nth-child(3n){background:#fff9f1;border-color:#f0e0c3}
.category-section .category-cover{margin-bottom:13px}.category-section .product-grid{padding:0 2px 3px}
@media(max-width:650px){.mini-cart{left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom,0px));min-width:0;padding:10px 11px;border-radius:13px}.mini-cart-value strong{font-size:18px}.mini-cart .btn{min-width:120px;padding:10px;font-size:12px}.store-page:has(.mini-cart:not([hidden])) .store-footer{padding-bottom:108px}.custom-modal{max-height:calc(94dvh - env(safe-area-inset-top,0px));}.combo-fixed-actions{bottom:-17px}.category-section{padding:9px;margin:17px 0 23px}}

/* MUNDIAL V8.4.3 – TAXAS ESPECIAIS + LEGIBILIDADE MOBILE */
.product-card .product-info{min-width:0;display:flex;flex-direction:column;flex:1 1 auto;align-self:stretch}
.product-card .product-info>b{overflow-wrap:anywhere;word-break:normal;hyphens:auto;line-height:1.35;min-height:32px}
.product-card .product-info>small{overflow-wrap:anywhere}
.product-card .product-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:end;gap:8px}
.product-card .product-bottom .price{display:block;line-height:1.3;overflow-wrap:break-word}
.product-card .product-bottom .qty{align-self:flex-start;gap:9px;max-width:100%}
.product-card .product-bottom .qty button{min-width:34px;min-height:34px;touch-action:manipulation}
.extra-delivery-warning{margin-top:8px;padding:8px 9px;border-radius:9px;background:#fff4df;border:1px solid #eccd87;color:#74420a;display:grid;gap:3px;overflow-wrap:anywhere}
.extra-delivery-warning b{font-size:11px!important;min-height:0!important;line-height:1.35}
.extra-delivery-warning small{color:#755a31;font-size:10px!important}
.cart-extra-notice{font-size:11px;line-height:1.4;color:#7a4b11;background:#fff7e4;margin-top:7px;border-radius:7px;padding:7px;overflow-wrap:anywhere}
.delivery-extra-total{color:#925007;font-weight:850}
.delivery-extra-config{border:1px solid #dfb867;background:#fff9ee;padding:13px;border-radius:12px;display:grid;gap:10px}
.delivery-extra-config .grid-form{grid-template-columns:1fr 1.3fr}
@media(max-width:750px){
 .product-card .product-info>b{font-size:12px;min-height:0}
 .product-card .product-bottom .qty button{min-width:37px;min-height:37px;font-size:19px}
 .cart-drawer{padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))}
 .delivery-extra-config .grid-form{grid-template-columns:1fr}
}

.combo-extra-hint{display:block;font-size:10px;color:#865313;overflow-wrap:anywhere;line-height:1.3;margin-top:3px}.combo-item-control>span{overflow-wrap:anywhere;min-width:0;flex:1}.combo-item-control .qty{flex:0 0 auto}@media(max-width:520px){.combo-item-control{gap:9px}.combo-item-control .qty button{width:33px;height:33px}}


/* MUNDIAL DELIVERY V8.4.3.1 - EVITAR ZOOM ACIDENTAL NA LOJA
   Permite rolagem e zoom de acessibilidade por gesto de pincar.
   Evita o zoom por duplo toque em produtos, categorias e botoes. */
body.store-page,
.store-page .store-container,
.store-page .product-card,
.store-page .product-info,
.store-page .product-photo,
.store-page .product-emoji,
.store-page .qty,
.store-page button,
.store-page a,
.store-page input,
.store-page select,
.store-page textarea,
.store-page label,
.store-page [data-prod],
.store-page [data-scroll],
.store-page [data-combo] {
  touch-action: manipulation;
}
/* Evita aumento automatico de campos pelo Safari iPhone ao focar. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .store-page input:not([type="checkbox"]):not([type="radio"]),
  .store-page select,
  .store-page textarea {
    font-size: 16px !important;
  }
}

/* CENTRAL DE PEDIDOS V8.4.4: 5 CARDS + HISTÓRICO DO CICLO */
.cycle-meta{padding:10px 13px;border-radius:9px;background:#edf5f0;margin:10px 0;font-size:12px;line-height:1.5}
.cycle-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:9px;margin:13px 0 23px}
.cycle-kpi{border:1px solid #dce8e0;border-radius:10px;padding:13px;background:#f9fdfa;min-width:0}
.cycle-kpi small{display:block;font-size:10px;margin-bottom:6px;color:#466154}
.cycle-kpi strong{font-size:17px;overflow-wrap:anywhere}
.cycle-archive{margin-top:22px}.cycle-orders{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.cycle-order-row{border:1px solid #dfe9e2;background:#fff;border-radius:10px;padding:12px;display:grid;grid-template-columns:minmax(160px,1.3fr) minmax(140px,.9fr) minmax(200px,2fr);align-items:center;gap:12px}
.cycle-order-title{display:flex;flex-direction:column;gap:5px;min-width:0}.cycle-order-title b{overflow-wrap:anywhere}.cycle-order-title small{font-size:11px;color:#526459}
.cycle-order-pay{display:flex;flex-direction:column;gap:5px;font-size:12px}.cycle-actions{flex-wrap:wrap;gap:5px}.cycle-actions button{min-height:32px}
.cycle-bars{display:grid;gap:9px}.cycle-bar{display:grid;grid-template-columns:45px minmax(70px,1fr) minmax(130px,1fr);gap:8px;align-items:center;font-size:11px}.cycle-bar-fill{height:17px;border-radius:5px;background:#70a998}.cycle-payment-methods{font-size:12px;line-height:1.75;margin-top:10px}
.order-readonly{line-height:1.65}.order-readonly p{overflow-wrap:anywhere}
@media(max-width:850px){.cycle-order-row{grid-template-columns:1fr}.cycle-order-pay{flex-direction:row;justify-content:space-between;flex-wrap:wrap}.cycle-meta{font-size:11px}.cycle-bar{grid-template-columns:36px minmax(45px,1fr) minmax(100px,1fr)}.cycle-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.cycle-kpis{grid-template-columns:1fr}}

/* Campos condicionais e recortes acessíveis no mobile. */
#onlineEmailWrap[hidden]{display:none!important}

/* V8.4.4.1 - TROCO NO PAGAMENTO EM DINHEIRO DO CHECKOUT */
.cash-change-box{padding:14px;background:#eef7f0;border:1px solid #c7e2ce;border-radius:12px;display:grid;gap:8px;min-width:0}
.cash-change-box[hidden]{display:none!important}
.cash-change-box label{display:grid;gap:7px;font-weight:850;font-size:13px}
.cash-change-box input{width:100%;min-width:0;padding:13px;border:1px solid #afc8b6;border-radius:9px;background:white;font-size:16px!important}
.cash-change-box small{font-size:12px;line-height:1.4;color:#3c5b49}
.cash-change-result{margin:0;padding:10px;background:#deefe1;border-radius:8px;font-size:13px;font-weight:850;line-height:1.45}
.cash-change-result.invalid{background:#fff0e8;color:#8f2a12}

/* V8.4.5 - ACOES DE COMBOS: PAUSAR, LIBERAR E EDITAR NO MESMO CARTAO */
.combo-admin-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.combo-admin-detail{display:flex;align-items:center;flex:1 1 260px;min-width:0;gap:10px}
.combo-admin-copy{min-width:0;overflow-wrap:anywhere;line-height:1.55}
.combo-admin-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.combo-admin-actions button{min-width:102px}
@media(max-width:640px){
 .combo-admin-row{align-items:stretch;flex-direction:column}
 .combo-admin-detail{flex:1 1 auto;width:100%}
 .combo-admin-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
 .combo-admin-actions button{min-width:0;min-height:40px;white-space:normal}
}

/* V8.5 - MINI PRODUTOS REDONDOS, FOTO SOBRE O NOME E CONTROLES ABAIXO */
.product-grid.layout-miniredondo{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.layout-miniredondo .product-card{flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:14px 9px;gap:9px}
.layout-miniredondo .product-photo,.layout-miniredondo .product-emoji{width:82px;height:82px;min-width:82px;max-width:82px;border-radius:50%;object-fit:cover;flex:none}
.layout-miniredondo .product-info{display:flex;flex-direction:column;align-items:center;width:100%;flex:1;gap:6px}
.layout-miniredondo .product-info b{font-size:12px;min-height:32px;overflow-wrap:anywhere}
.layout-miniredondo .product-info small{font-size:10px;overflow-wrap:anywhere}
.layout-miniredondo .product-bottom{margin-top:auto;display:flex;flex-direction:column;gap:9px;justify-content:flex-end;width:100%}
.layout-miniredondo .qty{align-self:center}.layout-miniredondo .price{font-size:14px;white-space:normal}
@media(max-width:1050px){.product-grid.layout-miniredondo{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.product-grid.layout-miniredondo{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.layout-miniredondo .product-photo,.layout-miniredondo .product-emoji{width:76px;height:76px;min-width:76px}.layout-miniredondo .product-card{padding:12px 8px}.layout-miniredondo .qty button{width:34px;height:34px;font-size:18px}}
/* SELECTOR DE ENTREGA POR REGIÕES COM TAXA E ALERTA */
.region-checkout[hidden]{display:none!important}.region-checkout{display:grid;gap:12px}.region-alert{background:#fff0f0;border:2px solid #c42c3e;color:#962535;border-radius:11px;padding:13px;line-height:1.45}.region-alert strong{display:block;margin-bottom:6px;font-size:13px}.region-alert p{margin:0;font-size:12px;font-weight:750}
.region-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.region-choice{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;min-width:0;border:1px solid #d0ddd4;border-radius:12px;background:white;padding:13px 10px;min-height:120px;cursor:pointer;touch-action:manipulation}.region-choice small{font-size:10px;color:#586b61;font-weight:850}.region-choice strong{font-size:13px;overflow-wrap:anywhere}.region-choice b{font-size:16px;color:#176845}.region-choice span{font-size:10px;color:#566c5e;overflow-wrap:anywhere}.region-choice.selected{border:2px solid #16865a;background:#effaf3;box-shadow:inset 0 0 0 1px #16865a}
/* LOJA PRETO E BRANCO COM FOTOS DOS PRODUTOS ORIGINAIS */
.store-page[data-theme="pretoebranco"]{--primary:#ffffff;--secondary:#303030;--background:#111111;--ink:#ffffff;--muted:#d1d1d1;--line:#4b4b4b;background:#111;color:#fff}
.store-page[data-theme="pretoebranco"] .store-bar,.store-page[data-theme="pretoebranco"] .product-card,.store-page[data-theme="pretoebranco"] .category-section,.store-page[data-theme="pretoebranco"] .category-pill,.store-page[data-theme="pretoebranco"] .store-footer,.store-page[data-theme="pretoebranco"] .cart-drawer,.store-page[data-theme="pretoebranco"] .mini-cart{background:#202020!important;color:#fff!important;border-color:#666!important}
.store-page[data-theme="pretoebranco"] .category-cover{background-color:#050505!important}
.store-page[data-theme="pretoebranco"] .qty button,.store-page[data-theme="pretoebranco"] .btn,.store-page[data-theme="pretoebranco"] .choice.active{background:#fff;color:#111;border-color:#fff}
.store-page[data-theme="pretoebranco"] .price,.store-page[data-theme="pretoebranco"] .category-pill,.store-page[data-theme="pretoebranco"] .brand-symbol{color:#fff}
.store-page[data-theme="pretoebranco"] .cart-drawer input,.store-page[data-theme="pretoebranco"] .cart-drawer textarea,.store-page[data-theme="pretoebranco"] .cart-drawer select{background:#fff;color:#171717}
.store-page[data-theme="pretoebranco"] .region-choice{background:#313131;color:#fff;border-color:#777}.store-page[data-theme="pretoebranco"] .region-choice span{color:#e5e5e5}.store-page[data-theme="pretoebranco"] .region-choice.selected{border:2px solid #fff;background:#151515}
.store-page[data-theme="vermelho"]{--primary:#a51528;--secondary:#fae0e4;--background:#fff8f8;--ink:#391c22}
.store-page[data-theme="azulforte"]{--primary:#114ba8;--secondary:#dcecff;--background:#f3f7ff;--ink:#162b4e}
.store-page[data-theme="verdeforte"]{--primary:#087045;--secondary:#d2f2e1;--background:#f1fff7;--ink:#163f30}
.store-page[data-theme="laranja"]{--primary:#b34600;--secondary:#ffdfba;--background:#fff9f0;--ink:#4e2d15}
.store-page[data-theme="roxo"]{--primary:#652b9c;--secondary:#f0e2ff;--background:#fcf8ff;--ink:#38264f}
/* iOS: inputs maiores evitam autozoom, preserve pinch-zoom de acessibilidade */
@media(max-width:1100px){.store-page .cart-drawer input:not([type="checkbox"]):not([type="radio"]),.store-page .cart-drawer textarea,.store-page .cart-drawer select,.store-page .custom-modal input:not([type="checkbox"]):not([type="radio"]),.store-page .custom-modal select{font-size:16px!important;line-height:1.35}.store-page .cart-drawer{max-width:100vw;overscroll-behavior:contain}.store-page .cart-drawer *{min-width:0}.store-page .region-options{grid-template-columns:repeat(2,minmax(0,1fr))}.store-page .product-bottom{flex-wrap:wrap}.store-page .product-bottom .qty{margin-top:5px}}
