/* GoBites Restaurante V200 — edição profissional de pedido manual */
.modal-card:has(.gb198-editor){width:min(1180px,calc(100vw - 30px))!important;max-width:1180px!important;padding:0!important;overflow:auto!important}.modal-card:has(.gb198-editor)>.modal-close{top:18px!important;right:18px!important;z-index:20!important}.gb198-editor>header{padding:24px 72px 20px 26px;border-bottom:1px solid #e8ebef;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.gb198-editor>header small{font-size:9px;font-weight:900;letter-spacing:1.4px;color:#ed1732}.gb198-editor>header h2{font-size:23px!important;margin:4px 0!important}.gb198-editor>header p{margin:0;color:#667085;font-size:12px}.gb198-status{border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:800;white-space:nowrap}.gb198-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px}.gb198-main{padding:22px 26px}.gb198-side{padding:22px;border-left:1px solid #e8ebef;background:#fafbfc}.gb198-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gb198-fields label,.gb198-picker>label,.gb198-notes,.gb198-product-actions label{font-size:10px;font-weight:800;color:#344054}.gb198-fields input,.gb198-fields select,.gb198-picker select,.gb198-notes textarea,.gb198-product-actions input{display:block;width:100%;margin-top:5px;border:1px solid #dfe3e8;border-radius:10px;padding:10px;background:#fff;box-sizing:border-box}.gb198-fields input[readonly]{background:#f8fafc;color:#475467}.gb198-fields .wide{grid-column:1/-1}.gb198-fields small{display:block;margin-top:5px;color:#667085;font-size:9px}.gb198-fields small[data-type="ok"]{color:#087443}.gb198-fields small[data-type="error"]{color:#b42318}.gb198-picker{margin-top:18px;padding-top:18px;border-top:1px solid #eaecf0}.gb198-product-editor{margin-top:12px;border:1px solid #e3e7ec;border-radius:14px;padding:14px;background:#fff}.gb198-product-editor>header{display:flex;justify-content:space-between;gap:12px}.gb198-product-editor>header small{display:block;color:#667085;font-size:9px}.gb198-product-editor>header b{font-size:14px}.gb198-option-group{margin-top:12px;padding:12px;background:#f8f9fb;border-radius:11px}.gb198-option-group>div small{display:block;color:#667085;font-size:9px}.gb198-option-group label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;font-size:11px}.gb198-option-group label.unavailable{opacity:.55}.gb198-option-group input{width:70px;padding:7px;border:1px solid #dfe3e8;border-radius:8px}.gb198-extras{margin-top:14px;padding-top:14px;border-top:1px dashed #d9dee5}.gb198-extras>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.gb198-extras b{font-size:11px}.gb198-extras small{display:block;color:#667085;font-size:9px;margin-top:2px}.gb198-extra-row{display:grid;grid-template-columns:minmax(150px,1fr) 105px 80px 34px;gap:8px;align-items:end;margin-top:9px}.gb198-extra-row>input,.gb198-extra-row label input{width:100%;box-sizing:border-box;border:1px solid #dfe3e8;border-radius:9px;padding:8px;background:#fff}.gb198-extra-row label span{display:block;font-size:8px;color:#667085;margin-bottom:3px}.gb198-extra-row button{height:34px;border:0;border-radius:8px;background:#f2f4f7;font-size:17px}.gb198-product-actions{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin-top:14px}.gb198-notes{display:block;margin-top:16px}.gb198-notes textarea{min-height:72px;resize:vertical}.gb198-inline-note{margin-top:12px;padding:12px;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:10px}.gb198-side-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.gb198-side-head small{font-size:8px;letter-spacing:1.1px;color:#98a2b3;font-weight:900}.gb198-side-head h3{margin:2px 0 0}.gb198-side-head>span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:#111827;color:#fff;font-size:11px;font-weight:900}.gb198-cart-item{display:grid;grid-template-columns:minmax(0,1fr) 62px auto;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid #e8ebef}.gb198-cart-copy small{display:block;color:#667085;font-size:9px;margin-top:3px;line-height:1.35}.gb198-qty span{display:block;font-size:8px;color:#667085}.gb198-qty input{width:58px;margin-top:3px;padding:7px;border:1px solid #dfe3e8;border-radius:8px}.gb198-cart-item>strong{font-size:12px;text-align:right}.gb198-item-actions{grid-column:1/-1;display:flex;gap:6px;justify-content:flex-end}.gb198-item-actions button{border:1px solid #dfe3e8;background:#fff;border-radius:7px;padding:5px 8px;font-size:9px;font-weight:800}.gb198-item-actions button.danger{color:#b42318}.gb198-empty{padding:24px 8px;text-align:center;color:#98a2b3;font-size:10px}.gb198-totals{margin-top:16px;border-top:1px solid #e5e7eb;padding-top:12px}.gb198-totals>div{display:flex;justify-content:space-between;gap:10px;padding:4px 0;font-size:10px}.gb198-totals .total{margin-top:7px;padding-top:10px;border-top:1px solid #e5e7eb;align-items:center;font-size:13px}.gb198-totals .total strong{font-size:21px}.gb198-review,.gb198-cancel{width:100%;justify-content:center;margin-top:10px}.gb198-edit-order{border-color:#d0d5dd!important;background:#fff!important}.gb198-confirm-layer{position:absolute;inset:0;z-index:100;background:rgba(15,23,42,.48);display:grid;place-items:center;padding:18px;border-radius:inherit;backdrop-filter:blur(2px)}.gb198-confirm{width:min(560px,100%);max-height:min(720px,calc(100vh - 80px));overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 24px 80px rgba(15,23,42,.28)}.gb198-confirm-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#ecfdf3;color:#087443;font-size:20px;font-weight:900;margin-bottom:12px}.gb198-confirm>small{font-size:9px;font-weight:900;letter-spacing:1.3px;color:#ed1732}.gb198-confirm h2{margin:4px 0 6px!important;font-size:22px!important}.gb198-confirm>p{margin:0 0 15px;color:#667085;font-size:11px}.gb198-confirm ul{list-style:none;padding:0;margin:0;border:1px solid #eaecf0;border-radius:12px;overflow:hidden}.gb198-confirm li{padding:11px 12px;border-bottom:1px solid #eaecf0}.gb198-confirm li:last-child{border-bottom:0}.gb198-confirm li>span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.7px;color:#98a2b3;font-weight:900;margin-bottom:5px}.gb198-confirm li>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:10px}.gb198-confirm del{color:#667085}.gb198-confirm li strong{color:#101828}.gb198-confirm-note{display:flex;gap:10px;margin-top:14px;padding:11px 12px;border-radius:11px;background:#f8fafc}.gb198-confirm-note b{font-size:10px;white-space:nowrap}.gb198-confirm-note span{font-size:9px;color:#667085;line-height:1.4}.gb198-confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
@media(max-width:880px){.gb198-grid{grid-template-columns:1fr}.gb198-side{border-left:0;border-top:1px solid #e8ebef}.gb198-extra-row{grid-template-columns:1fr 1fr}.gb198-extra-row>input{grid-column:1/-1}.gb198-product-actions{grid-template-columns:1fr}.gb198-editor>header{flex-direction:column}.gb198-fields{grid-template-columns:1fr}.gb198-fields .wide{grid-column:auto}}

/* V200 — revisão em camada independente para não interferir no modal de edição */
.gb198-confirm-layer{position:fixed!important;inset:0!important;z-index:10050!important;box-sizing:border-box!important;border-radius:0!important;background:rgba(15,23,42,.62)!important;padding:24px!important;overflow:auto!important;overscroll-behavior:contain!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important}
.gb198-confirm{box-sizing:border-box!important;width:min(600px,calc(100vw - 32px))!important;max-height:none!important;margin:auto!important;overflow:visible!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:0 30px 90px rgba(15,23,42,.38)!important}
body.gb200-review-open{overflow:hidden!important}
body.gb200-review-open #modal{pointer-events:none!important}
body.gb200-review-open #modal .modal-card{filter:none!important}
.gb198-confirm-actions{position:sticky;bottom:-24px;margin:18px -24px -24px!important;padding:14px 24px 18px!important;background:#fff;border-top:1px solid #eaecf0;border-radius:0 0 18px 18px}
@media(max-width:640px){.gb198-confirm-layer{padding:10px!important;align-items:start!important}.gb198-confirm{width:100%!important;margin:auto!important;padding:20px!important;border-radius:16px!important}.gb198-confirm h2{font-size:19px!important}.gb198-confirm-actions{bottom:-20px;margin:16px -20px -20px!important;padding:12px 20px calc(14px + env(safe-area-inset-bottom))!important;display:grid!important;grid-template-columns:1fr 1.35fr!important}.gb198-confirm-actions .btn{justify-content:center!important}}
