input[type="button"],
input[type="submit"],
button[type="submit"],
.wp-block-search__button {
	@include btn;
	@include btn-l;
	@include focus-visible;
}

.btn-l {

	input[type="button"],
	input[type="submit"],
	.wp-block-search__button,
	a {
		@include btn-l;
	}
}

// Button styles
.wp-block-button__link,
.wp-block-ainoblocks-button__link,
.wc-block-components-button:not(.is-link).contained,
input[type="submit"] {
	@include btn;
	@include transition-default;
	@include focus-visible;
}

// Default Buttons
input[type="submit"],
button[type="submit"],
.primary .wp-block-button__link {
	@include btn-default;
}

// Additional button classes
.stretch {
	width: 100% !important;

	.wp-block-ainoblocks-multiple-buttons__inner,
	.wp-block-ainoblocks-button__link {
		width: 100% !important;
	}
}

.wp-block-search__button {
	min-width: auto;
}

// Classed to set all default buttons to rounded or round.
.btn-rounded {

	.btn,
	.form-submit.wp-block-button input,
	input[type="submit"],
	button[type="submit"] {
		border-radius: var(--global--border-radius-xxs);
	}
}

.btn-round {

	.btn,
	.form-submit.wp-block-button input,
	input[type="submit"],
	button[type="submit"]{
		border-radius: var(--global--border-radius-round);
	}
}