.mc-subscription-help-notice-wrap {
	margin: 0 0 1.25rem;
}

.mc-subscription-help-notice {
	margin: 0.75rem 0 0;
	padding: 0.75rem 1rem;
	border-left: 3px solid #227403;
	background: #f4f9f2;
	color: #2d3a28;
	font-size: 0.92rem;
	line-height: 1.5;
}

.mc-subscription-help-notice a {
	color: #227403;
	font-weight: 600;
	text-decoration: underline;
}

.mc-subscription-help-notice a:hover {
	color: #1a5a02;
}

.single-product .wcsatt-options-wrapper + .mc-subscription-help-notice,
.bwp-quick-view .wcsatt-options-wrapper + .mc-subscription-help-notice {
	margin-top: 0.5rem;
}

/* —— Cartes achat unique / abonnement (inspiré Goodbro) —— */
.single-product .wcsatt-options-prompt-radios,
.bwp-quick-view .wcsatt-options-prompt-radios {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.single-product .wcsatt-options-prompt-radios > li,
.bwp-quick-view .wcsatt-options-prompt-radios > li {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	margin: 0;
}

.single-product .wcsatt-options-prompt-radios label,
.bwp-quick-view .wcsatt-options-prompt-radios label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #d8dde3;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.single-product .wcsatt-options-prompt-label-subscription,
.bwp-quick-view .wcsatt-options-prompt-label-subscription {
	background: linear-gradient(145deg, #f3f9f0 0%, #e9f3e5 100%);
	border-color: #c8dcc2;
}

.single-product .wcsatt-options-prompt-radios input[type="radio"],
.bwp-quick-view .wcsatt-options-prompt-radios input[type="radio"] {
	flex: 0 0 auto;
	margin: 5px 0 0;
	accent-color: #227403;
}

.single-product .mc-sub-prompt-action,
.bwp-quick-view .mc-sub-prompt-action {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}

.single-product .mc-sub-prompt-head,
.bwp-quick-view .mc-sub-prompt-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.single-product .mc-sub-prompt-head__title,
.bwp-quick-view .mc-sub-prompt-head__title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.single-product .mc-sub-prompt-head__price,
.bwp-quick-view .mc-sub-prompt-head__price {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	font-size: 1rem;
	font-weight: 800;
	color: #1f2a24;
	line-height: 1.25;
	text-align: right;
	white-space: nowrap;
}

.single-product .mc-sub-prompt-head__price-main,
.bwp-quick-view .mc-sub-prompt-head__price-main {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	line-height: 1.2;
}

.single-product .mc-sub-prompt-head__price-unit,
.bwp-quick-view .mc-sub-prompt-head__price-unit {
	font-size: 0.72rem;
	font-weight: 500;
	color: #6b7780;
	line-height: 1.2;
}

.single-product .mc-sub-prompt-head__price .woocommerce-Price-amount,
.bwp-quick-view .mc-sub-prompt-head__price .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.single-product .mc-sub-prompt-badge,
.bwp-quick-view .mc-sub-prompt-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 5px;
	background: #227403;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.01em;
	box-shadow: none;
}

.single-product .mc-sub-prompt-text,
.bwp-quick-view .mc-sub-prompt-text {
	font-size: 0.98rem;
	font-weight: 800;
	color: #1f2a24;
	line-height: 1.35;
}

.single-product .mc-sub-prompt-sub,
.bwp-quick-view .mc-sub-prompt-sub {
	display: block;
	margin-top: 4px;
	font-size: 0.78rem;
	font-weight: 500;
	color: #6b7785;
	line-height: 1.3;
}

.single-product .mc-sub-prompt-benefits,
.bwp-quick-view .mc-sub-prompt-benefits {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	width: 100%;
}

.single-product .mc-sub-prompt-benefits li,
.bwp-quick-view .mc-sub-prompt-benefits li {
	position: relative;
	margin: 0 0 7px;
	padding-left: 22px;
	font-size: 0.84rem;
	font-weight: 500;
	color: #3d5248;
	line-height: 1.4;
}

.single-product .mc-sub-prompt-benefits li:last-child,
.bwp-quick-view .mc-sub-prompt-benefits li:last-child {
	margin-bottom: 0;
}

.single-product .mc-sub-prompt-benefits li::before,
.bwp-quick-view .mc-sub-prompt-benefits li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #227403;
	font-weight: 800;
}

.single-product .wcsatt-options-prompt-label-subscription:has(input:checked),
.bwp-quick-view .wcsatt-options-prompt-label-subscription:has(input:checked) {
	background: linear-gradient(145deg, #e8f5e4 0%, #dcefd6 100%);
	border-color: #227403;
	box-shadow: 0 0 0 1px #227403;
}

.single-product .wcsatt-options-prompt-label-subscription:has(input:checked) .mc-sub-prompt-text,
.bwp-quick-view .wcsatt-options-prompt-label-subscription:has(input:checked) .mc-sub-prompt-text {
	color: #1a5a02;
}

.single-product .wcsatt-options-prompt-label-one-time:has(input:checked),
.bwp-quick-view .wcsatt-options-prompt-label-one-time:has(input:checked) {
	border-color: #227403;
	box-shadow: 0 0 0 1px #227403;
}

/* Fréquence visible uniquement si abonnement coché */
.single-product .wcsatt-options-wrapper.closed .wcsatt-options-product-wrapper,
.single-product .quantity-button:has(.wcsatt-options-prompt-action-input[value="no"]:checked) .wcsatt-options-product-wrapper {
	display: none !important;
}

.single-product .wcsatt-options-wrapper.open .wcsatt-options-product-wrapper,
.single-product .quantity-button:has(.wcsatt-options-prompt-action-input[value="yes"]:checked) .wcsatt-options-product-wrapper {
	display: block !important;
}

/* —— Slider de fréquence —— */
.mc-sub-frequency-enabled .mc-sub-frequency__select--hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mc-sub-frequency-enabled .mc-sub-frequency__select-label--hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mc-sub-frequency {
	margin: 4px 0 0;
	padding: 14px 14px 12px;
	border: 1px solid #e4e8ec;
	border-radius: 8px;
	background: #fafbfc;
}

.mc-sub-frequency__value {
	display: block;
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 700;
	color: #1f2a24;
	line-height: 1.35;
}

.mc-sub-frequency__price {
	margin: 10px 0 0;
	font-size: 0.92rem;
	color: #4a5a50;
	line-height: 1.4;
}

.mc-sub-frequency__price:empty {
	display: none;
}

.mc-sub-frequency__delivery {
	margin: 10px 0 0;
	padding: 8px 10px;
	border-left: 3px solid #227403;
	border-radius: 6px;
	background: #f4f9f2;
	color: #227403;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.45;
}

.mc-sub-frequency__delivery:empty {
	display: none;
}

.mc-sub-frequency__slider-wrap {
	position: relative;
	padding: 8px 4px 28px;
}

.mc-sub-frequency__range {
	display: block;
	width: 100%;
	height: 6px;
	margin: 0;
	padding: 0;
	border-radius: 999px;
	background: linear-gradient(to right, #227403 0%, #227403 var(--mc-sub-pct, 0%), #d8dde3 var(--mc-sub-pct, 0%), #d8dde3 100%);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.mc-sub-frequency__range:focus {
	outline: none;
}

.mc-sub-frequency__range:focus-visible {
	outline: 2px solid #227403;
	outline-offset: 4px;
}

.mc-sub-frequency__range::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: transparent;
}

.mc-sub-frequency__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	margin-top: -8px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #227403;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.mc-sub-frequency__range::-moz-range-track {
	height: 6px;
	border: 0;
	border-radius: 999px;
	background: #d8dde3;
}

.mc-sub-frequency__range::-moz-range-progress {
	height: 6px;
	border-radius: 999px;
	background: #227403;
}

.mc-sub-frequency__range::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #227403;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.mc-sub-frequency__ticks {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2px;
	margin-top: 6px;
}

.mc-sub-frequency__tick {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.mc-sub-frequency__tick::before {
	content: "";
	display: block;
	width: 2px;
	height: 8px;
	margin: 0 auto 4px;
	border-radius: 1px;
	background: #c5ccd3;
}

.mc-sub-frequency__tick.is-active::before {
	background: #227403;
}

.mc-sub-frequency__tick-label {
	display: block;
	font-size: 0.72rem;
	line-height: 1.2;
	color: #6b7785;
	text-align: center;
}

.mc-sub-frequency__tick.is-active .mc-sub-frequency__tick-label {
	color: #227403;
	font-weight: 700;
}

@media (max-width: 767px) {
	.single-product .mc-sub-prompt-head,
	.bwp-quick-view .mc-sub-prompt-head {
		flex-wrap: wrap;
		gap: 8px;
	}

	.single-product .mc-sub-prompt-head__title,
	.bwp-quick-view .mc-sub-prompt-head__title {
		width: 100%;
	}

	.single-product .mc-sub-prompt-head__price,
	.bwp-quick-view .mc-sub-prompt-head__price {
		width: 100%;
		max-width: 100%;
		align-items: flex-start;
		text-align: left;
		white-space: normal;
	}

	.single-product .mc-sub-prompt-head__price-unit,
	.bwp-quick-view .mc-sub-prompt-head__price-unit {
		white-space: normal;
	}

	.single-product .wcsatt-options-prompt-radios label,
	.bwp-quick-view .wcsatt-options-prompt-radios label {
		padding: 12px 14px;
	}
}

@media (max-width: 480px) {
	.single-product .mc-sub-prompt-head,
	.bwp-quick-view .mc-sub-prompt-head {
		flex-wrap: wrap;
	}

	.single-product .mc-sub-prompt-head__price,
	.bwp-quick-view .mc-sub-prompt-head__price {
		width: 100%;
		text-align: left;
	}
}
