.fungiline-rees46-product-bonus-container {
	position: relative !important;
}

.fungiline-rees46-product-bonus {
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 30;
	display: none;
	align-items: center;
	gap: 3px;
	min-height: 28px;
	padding: 4px 8px;
	color: #1c1c1c;
	background: rgba(255, 255, 255, .94);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	white-space: nowrap;
	pointer-events: none;
	box-sizing: border-box;
}

.fungiline-rees46-product-bonus.is-visible {
	display: inline-flex;
}

.fungiline-rees46-product-bonus-value {
	display: inline-block;
	line-height: 18px;
	font-size: 12px
}

.fungiline-rees46-product-bonus-icon,
.fungiline-rees46-inline-coin {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	object-fit: contain;
}

.fungiline-rees46-product-bonus.is-loading {
	min-width: 52px;
	opacity: .55;
}

.badges-wrapper > .fungiline-rees46-product-bonus--catalog {
	position: static;
	left: auto;
	bottom: auto;
	z-index: auto;
	margin: 0;
}

#product_gallery .fungiline-rees46-single-badges {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 8px;
}

#product_gallery .fungiline-rees46-single-badges #product-volume {
	position: static;
	top: auto;
	left: auto;
	z-index: auto;
	margin: 0;
}

#product_gallery .fungiline-rees46-product-bonus--single {
	position: static;
	left: auto;
	bottom: auto;
	z-index: auto;
	margin: 0;
}

.fungiline-rees46-checkout-box {
	margin: 28px 0;
	padding: 0;
	background: transparent;
	transition: opacity .2s ease;
	order: 5;
}

.fungiline-rees46-checkout-box h3 {
	margin: 0 0 10px;
	font-size: 34px;
	font-weight: 500;
	line-height: 1.15;
	color: #111;
}

.fungiline-rees46-checkout-panel {
	padding: 12px 16px;
	border: 1px solid #d5dddf;
	border-radius: 10px;
	background: #fff;
}

.fungiline-rees46-checkout-panel p {
	margin: 0;
}

.fungiline-rees46-balance-label {
	font-size: 14px;
	line-height: 1.3;
	color: #68787E;
}

.woocommerce-checkout .fungiline-rees46-balance {
	margin-top: 3px;
	font-size: 16px;
	line-height: 1.2;
	color: #151515;
}

.woocommerce-checkout .fungiline-rees46-balance strong {
	font-weight: 600;
}

.woocommerce-checkout .fungiline-rees46-limit {
	max-width: 470px;
	margin: 10px 0 20px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.15;
	color: #68787E;
}

.fungiline-rees46-checkout-box.is-updating {
	opacity: .6;
	pointer-events: none;
}

.fungiline-rees46-bonus-choice {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	padding: 6px;
	border-radius: 12px;
	background: #F4F6F4;
}

.fungiline-rees46-bonus-choice-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.fungiline-rees46-bonus-choice-option {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 35px;
	margin: 0;
	padding: 5px;
	border-radius: 8px;
	color: #171717 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s ease, box-shadow .15s ease;
}

.fungiline-rees46-bonus-choice-input:checked + .fungiline-rees46-bonus-choice-option {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
	margin: 0;
}

.fungiline-rees46-bonus-choice-input:focus-visible + .fungiline-rees46-bonus-choice-option {
	outline: 2px solid #548048;
	outline-offset: 2px;
}

.fungiline-rees46-no-spend {
	margin-top: 18px !important;
	color: #68787E;
}

.fungiline-rees46-reward {
	margin: 10px 0!important;
	text-align: center;
	font-size: 14px;
	line-height: 1.25;
	color: #548048;
}

.fungiline-rees46-balance-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(150px, 1fr));
	gap: 12px;
	margin: 18px 0 28px;
}

.fungiline-rees46-balance-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 8px;
}

.fungiline-rees46-balance-card strong {
	font-size: 1.25em;
}

.fungiline-rees46-history-wrap {
	overflow-x: auto;
}

.fungiline-rees46-history .is-positive,
.fungiline-rees46-history .is-negative {
	font-weight: 600;
}

.fungiline-rees46-pagination {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.fungiline-rees46-dashboard-balance {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin: -16px 0 36px;
	padding: 16px 20px;
	border: 1px solid rgba(84, 128, 72, .24);
	border-radius: 12px;
	background: #f7faf6;
}

.fungiline-rees46-dashboard-balance a {
	margin-left: auto;
	color: #548048;
	font-weight: 600;
}

.fungiline-rees46-account-layout {
	margin-top: 0;
}

.fungiline-rees46-account-layout .fungiline-rees46-account {
	width: 100%;
}

.fungiline-rees46-account-layout .fungi-action-card--active {
	border-color: rgba(84, 128, 72, .35);
	background: #f7faf6;
}

@media (max-width: 700px) {
	.fungiline-rees46-balance-grid {
		grid-template-columns: 1fr;
	}

	.fungiline-rees46-product-bonus {
		left: 8px;
		bottom: 8px;
		min-height: 26px;
		padding: 3px 7px;
		font-size: 13px;
	}

	.single-product .fungiline-rees46-product-bonus--single {
		margin-left: 8px;
	}

	.fungiline-rees46-product-bonus-icon,
	.fungiline-rees46-inline-coin {
		width: 18px;
		height: 18px;
	}

	.woocommerce-checkout .fungiline-rees46-limit {
		font-size: 12px!important;
	}
	
	.woocommerce-checkout .fungiline-rees46-balance{
		font-size: 14px;
	}

	.fungiline-rees46-dashboard-balance {
		margin-top: -16px;
	}

	.fungiline-rees46-dashboard-balance a {
		width: 100%;
		margin-left: 0;
	}
}
