/* Confirm dialog — matches the Shopify admin "Delete 1 product?" modal (measured at 125% DPR → CSS px).
   Scoped to #confirmModal only; every other .modal is untouched. */
#confirmModal { background: rgba(0, 0, 0, .5); align-items: center; justify-content: center; padding: 16px; }
#confirmModal .modal {
  width: 620px; max-width: 100%; padding: 0; overflow: visible;
  background: #fff; border: 0; border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 32px 64px -8px rgba(0, 0, 0, .3);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #303030;
}
#confirmModal .confirm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 0 20px; min-height: 44px; }
#confirmModal .confirm-head h3 { margin: 0; font-size: 16px; line-height: 30px; font-weight: 650; letter-spacing: 0; color: #303030; }
#confirmModal .confirm-x {
  flex: none; width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #303030; border: 1px solid #E3E3E3; border-radius: 50%; cursor: pointer;
  box-shadow: 0 1px 0 rgba(26, 26, 26, .07);
}
#confirmModal .confirm-x:hover { background: #F7F7F7; }
#confirmModal .confirm-x:active { background: #EBEBEB; }
#confirmModal .confirm-text { margin: 0; padding: 20px 20px 0; font-size: 13px; line-height: 20px; font-weight: 450; color: #303030; }
#confirmModal .confirm-icon { display: none; }
#confirmModal .confirm-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 18px 16px 14px; border: 0; }
#confirmModal .confirm-foot .btn {
  width: auto; height: 28px; min-height: 28px; padding: 0 12px; border-radius: 8px;
  font: 550 13px/20px Inter, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; transform: none;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
/* Cancel — white, raised */
#confirmModal #confirmCancel { background: #fff; color: #303030; border: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15) inset, 0 -1px 0 0 rgba(0, 0, 0, .17) inset, 0 1px 0 0 rgba(204, 204, 204, .5) inset; }
#confirmModal #confirmCancel:hover { background: #FAFAFA; }
#confirmModal #confirmCancel:active { background: #F3F3F3; box-shadow: 0 1px 2px rgba(26, 26, 26, .2) inset; }
/* Delete (danger variant) — solid red */
#confirmModal #confirmOk.btn-danger-outline { background: #E22C20; color: #fff; border: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 -1px 0 rgba(0, 0, 0, .2) inset; }
#confirmModal #confirmOk.btn-danger-outline:hover { background: #C70A00; }
#confirmModal #confirmOk.btn-danger-outline:active { background: #A80800; box-shadow: 0 1px 3px rgba(0, 0, 0, .35) inset; }
/* Non-destructive variants — Shopify black primary */
#confirmModal #confirmOk.btn-primary { background: #303030; color: #fff; border: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .16) inset, 0 -1px 0 rgba(0, 0, 0, .35) inset; }
#confirmModal #confirmOk.btn-primary:hover { background: #1A1A1A; }
#confirmModal .confirm-foot .btn:focus-visible, #confirmModal .confirm-x:focus-visible { outline: 2px solid #168A4E; outline-offset: 1px; }
@media (max-width: 480px) { #confirmModal .confirm-foot { padding-bottom: 16px; } }

/* No text-selection highlight inside the dialog (e.g. after Ctrl+A on the page) */
#confirmModal, #confirmModal * { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
#confirmModal ::selection { background: transparent; color: inherit; }
