.wp-block-button {
	--tar-button-background: var(--wp--preset--color--custom-green);
	--tar-button-text: var(--wp--preset--color--custom-black);
}
.wp-block-button.is-style-tar-secondary {
	--tar-button-background: var(--wp--preset--color--custom-black);
	--tar-button-text: var(--wp--preset--color--custom-white);
}
.wp-block-button.is-style-outline {
	--tar-button-background: transparent;
	--tar-button-text: inherit;
}
.wp-block-button .wp-block-button__link {
	box-sizing: border-box;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	text-align: center;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}
.wp-block-button .wp-block-button__link:not(.has-background) { background-color: var(--tar-button-background); }
.wp-block-button .wp-block-button__link:not(.has-text-color) { color: var(--tar-button-text); }
.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid currentColor;
	padding: 13px 26px;
	box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
}
@media (hover: hover) {
	.wp-block-button .wp-block-button__link:where(:not(:disabled):not([aria-disabled="true"])):hover {
		transform: translateY(-2px);
		box-shadow: 0 3px 6px rgb(0 0 0 / 12%), 0 7px 16px rgb(0 0 0 / 12%);
		filter: brightness(1.08);
	}
}
.wp-block-button .wp-block-button__link:focus-visible {
	outline: 2px solid var(--wp--preset--color--custom-black);
	outline-offset: 4px;
	box-shadow: 0 0 0 4px var(--wp--preset--color--custom-white);
}
.wp-block-button .wp-block-button__link:where(:not(:disabled):not([aria-disabled="true"])):active {
	transform: translateY(1px);
	box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
	filter: brightness(.96);
}
.wp-block-button .wp-block-button__link:is(:disabled, [aria-disabled="true"]) {
	opacity: .45;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
	filter: none;
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-button .wp-block-button__link { transition: none; }
	.wp-block-button .wp-block-button__link:hover,
	.wp-block-button .wp-block-button__link:active { transform: none; }
}
.wp-block-button.is-style-tar-text-link {
	--tar-button-background: transparent;
	--tar-button-text: inherit;
}
.wp-block-button.is-style-tar-text-link .wp-block-button__link {
	border: 0;
	padding: 4px;
	text-align: start;
	box-shadow: none;
	transform: none;
	filter: none;
	transition: color 150ms ease;
}
.wp-block-button.is-style-tar-text-link .wp-block-button__link::after {
	content: "";
	width: 1em;
	height: 1em;
	flex: 0 0 1em;
	background-color: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 150ms ease;
}
@media (hover: hover) {
	.wp-block-button.is-style-tar-text-link .wp-block-button__link:where(:not(:disabled):not([aria-disabled="true"])):hover::after { transform: translateX(var(--tar-text-link-shift, 4px)); }
	.wp-block-button.is-style-tar-text-link .wp-block-button__link:where(:not(:disabled):not([aria-disabled="true"])):hover:not(.has-text-color) {
		color: var(--wp--preset--color--custom-green);
	}
}
.wp-block-button.is-style-tar-text-link .wp-block-button__link:focus-visible {
	box-shadow: 0 0 0 4px var(--wp--preset--color--custom-white);
}
.wp-block-button.is-style-tar-text-link .wp-block-button__link:where(:not(:disabled):not([aria-disabled="true"])):focus-visible::after { transform: translateX(var(--tar-text-link-shift, 4px)); }
.wp-block-button.is-style-tar-text-link .wp-block-button__link:where(:not(:disabled):not([aria-disabled="true"])):focus-visible:not(.has-text-color) {
	color: var(--wp--preset--color--custom-green);
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-button.is-style-tar-text-link .wp-block-button__link,
	.wp-block-button.is-style-tar-text-link .wp-block-button__link::after { transition: none; }
	.wp-block-button.is-style-tar-text-link .wp-block-button__link:hover::after,
	.wp-block-button.is-style-tar-text-link .wp-block-button__link:focus-visible::after { transform: none; }
}

.wp-block-button.is-style-tar-text-link.tar-store-back { --tar-text-link-shift: -4px; }
.wp-block-button.is-style-tar-text-link.tar-store-back .wp-block-button__link::after {
	order: -1;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 12H4m6-6-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
