.wm-button-wrapper {
	display: inline-flex;
}

.wm-button-wrapper.wm-align-center {
	justify-content: center;
	width: 100%;
}

.wm-button-wrapper.wm-align-right {
	justify-content: flex-end;
	width: 100%;
}

.wm-button-wrapper.wm-align-left {
	justify-content: flex-start;
	width: 100%;
}

.wm-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.wm-button-text {
	position: relative;
	z-index: 1;
}

.wm-button-icon {
	position: absolute;
	z-index: 1;
	line-height: 0;
	pointer-events: none;
}

.wm-button-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Icon position presets */
.wm-button-icon--top-left {
	top: 0;
	left: 0;
}

.wm-button-icon--top-center {
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.wm-button-icon--top-right {
	top: 0;
	right: 0;
}

.wm-button-icon--center-left {
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.wm-button-icon--center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.wm-button-icon--center-right {
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

.wm-button-icon--bottom-left {
	bottom: 0;
	left: 0;
}

.wm-button-icon--bottom-center {
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.wm-button-icon--bottom-right {
	bottom: 0;
	right: 0;
}
