// Keyboard portals sit outside the vending canvas, so scope their sizing with
// the class supplied by vending NumericSteppers rather than a page ancestor.
.vm-quantity-keyboard {
  .pisell-number-keyboard {
    box-sizing: border-box;
    width: 480px;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 16px;
    gap: 14px;
  }
  .pisell-number-keyboard .pisell-virtual-keyboard-content {
    gap: 12px;
    .pisell-virtual-keyboard-item {
      width: calc((100% - 24px) / 3);
      height: clamp(64px, 11vh, 112px);
      padding-top: 0;
      .pisell-virtual-keyboard-item-button {
        font-size: 36px;
      }
    }
  }
  .pisell-number-keyboard .pisell-number-keyboard-error-message {
    font-size: 16px;
    line-height: 22px;
  }
}
