/* Ação de lançamento fora do conteúdo rolável: fica sempre presa à janela. */
#orderActionDock { display:none; }
body[data-active-tab="order"][data-order-mode="launch"] #orderActionDock {
  display:flex !important;
  position:fixed !important;
  z-index:950 !important;
  left:50% !important;
  right:auto !important;
  bottom:12px !important;
  width:min(980px,calc(100vw - 32px)) !important;
  min-height:78px;
  padding:12px 16px;
  box-sizing:border-box;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  transform:translateX(-50%) !important;
  border:1px solid #d7e0ea;
  border-radius:18px;
  background:rgba(255,255,255,.98);
  box-shadow:0 12px 36px rgba(16,39,70,.2);
  backdrop-filter:blur(12px);
}
body[data-active-tab="order"] .content { padding-bottom:116px !important; }
body[data-active-tab="order"][data-order-mode="launch"] .touchOrderBar { display:none !important; }
body[data-active-tab="order"][data-order-mode="launch"] .draftCart .draftActions { display:none !important; }
.orderActionSummary { display:flex; flex-direction:column; gap:4px; min-width:150px; }
.orderActionSummary small { color:#52647c; font-size:13px; }
.orderActionSummary strong { color:#173f70; font-size:23px; line-height:1.1; white-space:nowrap; }
.orderActionButtons { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex:1; }
.orderActionButtons button { min-height:50px; margin:0; padding:10px 18px; border:0; border-radius:12px; font-size:14px; font-weight:800; cursor:pointer; }
.orderActionView { background:#eaf1fb; color:#19457e; }
.orderActionSubmit { min-width:235px; background:linear-gradient(135deg,#205fc5,#164a9c); color:#fff; box-shadow:0 8px 20px rgba(32,95,197,.18); }
.orderActionSubmit:disabled { opacity:.48; cursor:not-allowed; box-shadow:none; }
.orderActionSubmit kbd { margin-left:6px; padding:2px 5px; border-radius:5px; background:#ffffff25; font:inherit; font-size:10px; }
html[data-tenant-theme="orange"] .orderActionSubmit { background:linear-gradient(135deg,#f28b2c,#c85b08)!important; color:#fff!important; box-shadow:0 8px 20px rgba(198,91,8,.2); }
html[data-tenant-theme="orange"] .orderActionSummary strong { color:#a84907; }
html[data-tenant-theme="orange"] .orderActionView { background:#fff0df; color:#934206; }

.removeOrderOpen { background:#fff2f0!important; color:#a4392b!important; border-color:#f1c7c1!important; }
.removeOrderList { display:grid; gap:9px; max-height:min(52vh,480px); overflow:auto; margin:14px 0; }
.removeOrderRow { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px solid #e0e6ef; border-radius:13px; background:#fff; }
.removeOrderInfo { min-width:0; display:grid; gap:4px; }
.removeOrderInfo b { overflow-wrap:anywhere; }
.removeOrderInfo small { color:#64748b; }
.removeOrderMinus { flex:0 0 auto; min-height:42px; padding:8px 12px; border:1px solid #efc9c9; border-radius:11px; background:#fff3f3; color:#a52d3b; font-weight:800; }
.removeOrderMinus span { margin-left:4px; }
.removeOrderEmpty { padding:18px; border-radius:12px; background:#f6f8fb; color:#64748b; text-align:center; }

@media(max-width:780px) {
  body[data-active-tab="order"] .content { padding-bottom:calc(126px + env(safe-area-inset-bottom,0px)) !important; }
  body[data-active-tab="order"][data-order-mode="launch"] #orderActionDock {
    left:8px !important; right:8px !important; bottom:8px !important; width:auto !important;
    min-height:86px; padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px));
    gap:10px; transform:none !important; border-radius:15px;
  }
  .orderActionSummary { min-width:0; gap:3px; }
  .orderActionSummary small { font-size:11px; }
  .orderActionSummary strong { font-size:18px; }
  .orderActionButtons { gap:6px; }
  .orderActionButtons button { min-height:48px; padding:8px 10px; font-size:12px; }
  .orderActionSubmit { min-width:0; }
  .orderActionSubmit kbd { display:none; }
  .removeOrderOpen { min-height:42px!important; }
  .removeOrderRow { align-items:flex-start; }
  .removeOrderMinus { min-width:46px; min-height:46px; }
  .removeOrderMinus span { display:none; }
}
body.mobile-modal-open[data-active-tab="order"] #orderActionDock { display:none !important; }
@media print { #orderActionDock,.touchOrderBar { display:none!important; } }
