.wfm-product-badge {
	background: #12333a;
	border-radius: 4px;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 8px;
	padding: 7px 9px;
	position: relative;
	z-index: 2;
}

.wfm-back-in-stock {
	background: #fff;
	border: 1px solid rgba(18, 51, 58, 0.16);
	border-radius: 8px;
	box-shadow: 0 18px 44px rgba(18, 51, 58, 0.12);
	margin: 24px 0;
	max-width: 560px;
	padding: 26px;
}

.wfm-back-in-stock-row {
	align-items: stretch;
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.wfm-back-in-stock-title {
	color: #12333a;
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.wfm-back-in-stock input {
	background: #fff;
	border: 1px solid rgba(18, 51, 58, 0.22);
	border-radius: 6px;
	box-shadow: none;
	flex: 1 1 220px;
	font-size: 15px;
	min-height: 48px;
	padding: 10px 14px;
	width: auto;
}

.wfm-back-in-stock input:focus {
	border-color: #12333a;
	box-shadow: 0 0 0 3px rgba(18, 51, 58, 0.12);
	outline: 0;
}

.wfm-back-in-stock button {
	border: 0;
	box-shadow: 0 10px 22px rgba(18, 51, 58, 0.16);
	cursor: pointer;
	font-weight: 700;
	min-height: 48px;
	padding: 10px 24px;
	transition: box-shadow 160ms ease, transform 160ms ease;
	white-space: nowrap;
}

.wfm-back-in-stock button:hover,
.wfm-back-in-stock button:focus {
	box-shadow: 0 14px 28px rgba(18, 51, 58, 0.22);
	transform: translateY(-1px);
}

.wfm-bulk-discount-request {
	background: #fff;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.wfm-bulk-discount-trigger {
	align-items: center !important;
	border: 0 !important;
	box-shadow: 0 14px 30px rgba(18, 51, 58, 0.18) !important;
	box-sizing: border-box !important;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	justify-content: center !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	margin: 18px 0 !important;
	min-height: 48px !important;
	padding: 13px 24px !important;
	text-decoration: none !important;
	transition: box-shadow 160ms ease, transform 160ms ease;
	white-space: nowrap;
}

.wfm-bulk-discount-trigger:hover,
.wfm-bulk-discount-trigger:focus {
	box-shadow: 0 14px 28px rgba(18, 51, 58, 0.22);
	transform: translateY(-1px);
}

.wfm-bulk-discount-modal[hidden] {
	display: none;
}

.wfm-bulk-discount-modal {
	align-items: center;
	background: rgba(17, 24, 39, 0.62);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 20px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 100000;
}

.wfm-bulk-discount-dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
	box-sizing: border-box;
	max-height: 88vh;
	overflow: auto;
	padding: 28px;
	position: relative;
	width: min(720px, 94vw);
}

.wfm-bulk-discount-close {
	background: transparent;
	border: 0;
	color: #111827;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	opacity: 0.72;
	padding: 0;
	position: absolute;
	right: 18px;
	top: 16px;
	transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.wfm-bulk-discount-close:hover,
.wfm-bulk-discount-close:focus {
	color: #d97706;
	opacity: 1;
	outline: 0;
	transform: translateY(-1px);
}

.wfm-bulk-discount-title {
	color: #12333a;
	display: block;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 8px;
}

.wfm-bulk-discount-product {
	color: #50575e;
	margin: 0 0 16px;
}

.wfm-bulk-discount-success {
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 6px;
	color: #14532d;
	margin: 12px 0 16px;
	padding: 10px 12px;
}

.wfm-bulk-discount-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 16px;
}

.wfm-bulk-discount-request label {
	display: block;
	font-weight: 600;
}

.wfm-bulk-discount-request label span {
	display: block;
	margin-bottom: 6px;
}

.wfm-bulk-discount-request input,
.wfm-bulk-discount-request textarea {
	border: 1px solid rgba(18, 51, 58, 0.22);
	border-radius: 6px;
	box-sizing: border-box;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.wfm-bulk-discount-wide {
	grid-column: 1 / -1;
}

.wfm-bulk-discount-request button {
	border: 0;
	box-shadow: 0 10px 22px rgba(18, 51, 58, 0.16);
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	min-height: 46px;
	padding: 10px 22px;
}

.wfm-buy-now {
	align-items: center;
	background: var(--wfm-buy-bg, #12333a) !important;
	border: 0 !important;
	border-radius: var(--wfm-buy-radius, 8px) !important;
	box-sizing: border-box;
	box-shadow: 0 10px 22px rgba(18, 51, 58, 0.18);
	color: var(--wfm-buy-text, #fff) !important;
	display: inline-flex !important;
	font-weight: 700;
	gap: 8px;
	height: var(--wfm-buy-height, 44px) !important;
	justify-content: center;
	letter-spacing: 0;
	margin: 12px 0 0 8px;
	min-height: var(--wfm-buy-height, 44px) !important;
	padding: 12px 18px !important;
	text-decoration: none !important;
	transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	width: var(--wfm-buy-width, auto) !important;
}

.single-product form.cart .wfm-buy-now:not(.wfm-buy-now-shortcode) {
	clear: both;
	display: flex !important;
	margin-left: 0;
	margin-top: 16px;
}

.wfm-checkout-loader {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	width: 100%;
}

.wfm-checkout-loader img {
	max-height: 86px;
	max-width: 86px;
}

.wfm-checkout-loader span {
	animation: wfm-spin 800ms linear infinite;
	border: 4px solid rgba(18, 51, 58, 0.16);
	border-radius: 999px;
	border-top-color: #12333a;
	height: 48px;
	width: 48px;
}

@keyframes wfm-spin {
	to {
		transform: rotate(360deg);
	}
}

.wfm-buy-now:hover,
.wfm-buy-now:focus {
	background: var(--wfm-buy-hover, #d97706) !important;
	box-shadow: 0 12px 26px rgba(217, 119, 6, 0.2);
	color: var(--wfm-buy-text, #fff) !important;
	transform: translateY(-1px);
}

.wfm-buy-now-icon {
	font-size: 18px;
	line-height: 1;
}

.wfm-account-rewards .wfm-report-cards {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 18px 0;
}

.wfm-account-rewards .wfm-stat,
.wfm-rewards-guide {
	background: #fff;
	border: 1px solid rgba(18, 51, 58, 0.12);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(18, 51, 58, 0.08);
	padding: 18px;
}

.wfm-account-rewards .wfm-stat strong,
.wfm-account-rewards .wfm-stat span {
	display: block;
}

.wfm-account-rewards .wfm-stat strong {
	color: #12333a;
	font-size: 26px;
	line-height: 1.1;
}

.wfm-account-rewards .wfm-stat span {
	color: #50575e;
	font-size: 13px;
	margin-top: 6px;
}

.wfm-rewards-guide {
	margin: 0 0 18px;
}

.wfm-rewards-guide h3 {
	margin-top: 0;
}

.wfm-rewards-guide ul {
	margin-bottom: 0;
}

.wfm-rewards-statement,
.wfm-rewards-orders {
	border-collapse: collapse;
	font-size: 14px;
	min-width: 760px;
}

.wfm-account-rewards .shop_table_responsive {
	display: block;
	overflow-x: auto;
}

.wfm-reward-type {
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 9px;
}

.wfm-reward-row-earn .wfm-reward-type {
	background: #ecfdf3;
	color: #166534;
}

.wfm-reward-row-redeem .wfm-reward-type {
	background: #fff7ed;
	color: #9a3412;
}

.wfm-checkout-modal {
	align-items: center;
	background: rgba(0, 0, 0, 0.58);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 20px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99999;
}

.wfm-checkout-dialog {
	background: #fff;
	border-radius: 8px;
	height: min(820px, 92vh);
	max-width: 980px;
	position: relative;
	width: min(980px, 96vw);
}

.wfm-checkout-dialog iframe {
	border: 0;
	height: 100%;
	width: 100%;
}

.wfm-checkout-close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	font-size: 28px;
	font-weight: 400;
	height: 40px;
	justify-content: center;
	line-height: 1;
	opacity: 0.78;
	padding: 0;
	position: absolute;
	right: 14px;
	top: 14px;
	transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
	width: 40px;
	z-index: 2;
}

.wfm-checkout-close:hover,
.wfm-checkout-close:focus {
	background: rgba(17, 24, 39, 0.06);
	color: #d97706;
	opacity: 1;
	outline: 0;
	transform: translateY(-1px);
}

.wfm-reward-toast {
	animation: wfm-reward-slide 7s ease both;
	background: var(--wfm-reward-bg, #12333a);
	border-radius: 8px;
	bottom: 24px;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
	color: var(--wfm-reward-text, #fff);
	max-width: min(360px, calc(100vw - 32px));
	padding: 16px 18px;
	position: fixed;
	right: 24px;
	z-index: 999999;
}

.wfm-reward-toast strong,
.wfm-reward-toast span {
	display: block;
}

.wfm-reward-toast strong {
	font-size: 15px;
	margin-bottom: 4px;
}

.wfm-reward-toast span {
	font-size: 14px;
	line-height: 1.45;
}

.wfm-license-details {
	margin-top: 28px;
}

.wfm-license-table code {
	background: #f4f7f8;
	border: 1px solid rgba(18, 51, 58, 0.12);
	border-radius: 6px;
	display: inline-block;
	font-size: 14px;
	padding: 6px 8px;
	white-space: normal;
}

.wfm-license-download-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wfm-license-download-list li + li {
	margin-top: 6px;
}

.wfm-license-download-list strong {
	display: block;
}

@keyframes wfm-reward-slide {
	0% {
		opacity: 0;
		transform: translateY(12px);
	}

	10%,
	84% {
		opacity: 1;
		transform: translateY(0);
	}

	100% {
		opacity: 0;
		transform: translateY(12px);
	}
}

@media (max-width: 640px) {
	.wfm-back-in-stock-row {
		display: block;
	}

	.wfm-back-in-stock button {
		margin-top: 10px;
		width: 100%;
	}

	.wfm-bulk-discount-grid {
		grid-template-columns: 1fr;
	}

	.wfm-bulk-discount-request button {
		width: 100%;
	}

	.wfm-bulk-discount-dialog {
		padding: 22px;
	}

	.wfm-account-rewards .wfm-report-cards {
		grid-template-columns: 1fr;
	}

}

.wfm-visibility-page {
	margin: 0 auto;
	max-width: 1100px;
	padding: 72px 24px;
}

.wfm-visibility-message {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	box-shadow: 0 10px 24px rgba(29, 35, 39, 0.08);
	font-size: 18px;
	padding: 28px;
}

.wfm-order-tracking,
.wfm-order-additional-details {
	margin-top: 28px;
}
