// Button styles
.wp-block-search__button {
	@include btn-s;
}

.wp-block-button__link,
.wc-block-components-button:not(.is-link).contained,
.mc4wp-form-fields p input[type="submit"] {
	@include btn;
	@include transition-default;
}

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

.primary-variant .wp-block-button__link,
.btn-style-variant input[type="submit"] {
		@include btn-default-variant;
}

// Special button styles
.stretch {
	width: 100% !important;

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

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

	.btn,
	input[type="submit"],
	button[type="submit"],
	.edit,
	.woocommerce-button,
	.wc-block-components-button,
	.form-submit.wp-block-button input,
	.woocommerce-MyAccount-navigation li a,
	.tag-cloud-link,
	li a {
		border-radius: var(--global--border-radius-xxs);
	}
}

.btn-round {

	.btn,
	.edit,
	input[type="submit"],
	button[type="submit"],
	.woocommerce-button,
	.search-header .search-field,
	.wc-block-components-button,
	.form-submit.wp-block-button input,
	.woocommerce-MyAccount-navigation li a,
	.tag-cloud-link,
	li a {
		border-radius: var(--global--border-radius-round);
	}
}