.wp-block-button.is-size-sm:not(.is-style-ghost) {
  height: 40px;
  font-size: var(--wp--preset--font-size--small);
}

.wp-block-button.is-size-sm:not(.is-style-ghost) > * {
  padding-inline: 12px;
}

.wp-block-button.is-size-md:not(.is-style-ghost) {
  height: 46px;
  font-size: var(--wp--preset--font-size--base);
}

.wp-block-button.is-size-md:not(.is-style-ghost) > * {
  padding-inline: 18px;
}

.wp-block-button.is-size-lg:not(.is-style-ghost) {
  height: 52px;
  font-size: var(--wp--preset--font-size--large);
}

.wp-block-button.is-size-lg:not(.is-style-ghost) > * {
  padding-inline: 22px;
}

.wp-block-button.is-size-xl:not(.is-style-ghost) {
  height: 58px;
  font-size: var(--wp--preset--font-size--extra-large);
}

.wp-block-button.is-size-xl:not(.is-style-ghost) > * {
  padding-inline: 28px;
}

.wp-block-button.is-size-lg:not(.is-style-ghost) > *,
.wp-block-button.is-size-xl:not(.is-style-ghost) > *,
.wp-block-button.is-size-md:not(.is-style-ghost) > *,
.wp-block-button.is-size-sm:not(.is-style-ghost) > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
