/*
 * NextGlow Reset 30 — product page option box.
 *
 * Everything is scoped under .ngr30-box / .ngr30-notice so the theme is never
 * affected. No global element selectors, no !important unless it is fighting a
 * known theme rule on the checkbox.
 */

.ngr30-box {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	box-sizing: border-box;
	width: 100%;
	margin: 22px 0;
	padding: 22px 24px;
	border: 1px solid #DDE6D9;
	border-radius: 14px;
	background: #F8FBF7;
	color: #2E2A26;
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
}

.ngr30-box *,
.ngr30-box *::before,
.ngr30-box *::after {
	box-sizing: border-box;
}

/* ---------- left icon ---------- */

.ngr30-box .ngr30-aside {
	flex: 0 0 auto;
	padding-top: 2px;
}

.ngr30-box .ngr30-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: 1.5px solid #C6D7C0;
	border-radius: 50%;
	color: #3D6B39;
	background: #fff;
}

.ngr30-box .ngr30-main {
	flex: 1 1 auto;
	min-width: 0;
}

/* ---------- heading ---------- */

.ngr30-box .ngr30-head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 12px;
	padding: 0;
}

.ngr30-box .ngr30-head-icon {
	display: inline-flex;
	color: #3D6B39;
}

.ngr30-box .ngr30-heading {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .2px;
	line-height: 1.3;
	color: #24512C;
}

/* ---------- checkbox ---------- */

.ngr30-box .ngr30-check {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 0 0 10px;
	cursor: pointer;
	font-weight: 600;
	font-size: 16px;
	color: #2E2A26;
}

/* Visually hidden but still focusable and still posted with the form. */
.ngr30-box .ngr30-check input[type="checkbox"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.ngr30-box .ngr30-box-tick {
	position: relative;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border: 1.6px solid #9FB39A;
	border-radius: 4px;
	background: #fff;
	transition: background-color .15s ease, border-color .15s ease;
}

.ngr30-box .ngr30-box-tick::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 6px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2.2px 2.2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform .15s ease;
}

.ngr30-box .ngr30-check input[type="checkbox"]:checked ~ .ngr30-box-tick {
	background: #3D6B39;
	border-color: #3D6B39;
}

.ngr30-box .ngr30-check input[type="checkbox"]:checked ~ .ngr30-box-tick::after {
	transform: rotate(45deg) scale(1);
}

.ngr30-box .ngr30-check input[type="checkbox"]:focus-visible ~ .ngr30-box-tick {
	outline: 2px solid #3D6B39;
	outline-offset: 2px;
}

.ngr30-box .ngr30-check-label {
	flex: 1 1 auto;
}

/* ---------- description ---------- */

.ngr30-box .ngr30-desc {
	margin: 0 0 14px;
	padding: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: #5C5850;
}

/* ---------- benefits ---------- */

.ngr30-box .ngr30-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.ngr30-box .ngr30-benefits li {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	font-size: 13.5px;
	line-height: 1.4;
	color: #46433D;
	list-style: none;
}

.ngr30-box .ngr30-benefits li::before,
.ngr30-box .ngr30-benefits li::marker {
	content: none;
}

.ngr30-box .ngr30-tick {
	display: inline-flex;
	flex: 0 0 auto;
	color: #3D6B39;
}

/* ---------- price line ---------- */

.ngr30-box .ngr30-price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid #E3EADF;
	font-size: 16px;
	line-height: 1.4;
}

.ngr30-box .ngr30-price-icon {
	display: inline-flex;
	color: #3D6B39;
}

.ngr30-box .ngr30-value {
	font-weight: 700;
	color: #2E2A26;
}

.ngr30-box .ngr30-sep {
	color: #9A968E;
}

.ngr30-box .ngr30-free {
	font-weight: 700;
	color: #3D8B45;
	letter-spacing: .3px;
}

.ngr30-box .ngr30-strike {
	color: #8A857C;
	text-decoration: line-through;
}

/* ---------- footer ---------- */

.ngr30-box .ngr30-footer {
	margin: 8px 0 0;
	padding: 0;
	font-size: 12.5px;
	font-style: italic;
	line-height: 1.5;
	color: #7C776E;
}

/* ---------- paid variant: warmer tone ---------- */

.ngr30-box--paid {
	border-color: #E8DDC9;
	background: #FDFAF4;
}

.ngr30-box--paid .ngr30-icon {
	border-color: #DFCFB3;
	color: #8E6E3F;
}

.ngr30-box--paid .ngr30-head-icon,
.ngr30-box--paid .ngr30-price-icon,
.ngr30-box--paid .ngr30-tick {
	color: #8E6E3F;
}

.ngr30-box--paid .ngr30-heading {
	color: #6E5427;
}

.ngr30-box--paid .ngr30-price {
	border-top-color: #EFE5D4;
}

.ngr30-box--paid .ngr30-check input[type="checkbox"]:checked ~ .ngr30-box-tick {
	background: #8E6E3F;
	border-color: #8E6E3F;
}

.ngr30-box--paid .ngr30-box-tick {
	border-color: #C3AE8B;
}

/* ---------- notices (questionnaire page) ---------- */

.ngr30-notice {
	box-sizing: border-box;
	margin: 26px auto;
	padding: 26px 28px;
	max-width: 720px;
	border: 1px solid #DDE6D9;
	border-left: 4px solid #3D6B39;
	border-radius: 12px;
	background: #F8FBF7;
	color: #2E2A26;
	font-size: 15.5px;
	line-height: 1.6;
}

.ngr30-notice h2 {
	margin: 0 0 10px;
	font-size: 21px;
	line-height: 1.3;
	color: #24512C;
}

.ngr30-notice p {
	margin: 0 0 10px;
}

.ngr30-notice p:last-child {
	margin-bottom: 0;
}

.ngr30-notice--error {
	border-color: #EBD6D2;
	border-left-color: #B3453A;
	background: #FDF7F6;
}

.ngr30-notice--error h2 {
	color: #8E3129;
}

/* ---------- mobile ---------- */

@media (max-width: 600px) {

	.ngr30-box {
		gap: 0;
		padding: 18px;
		font-size: 14.5px;
	}

	.ngr30-box .ngr30-aside {
		display: none;
	}

	.ngr30-box .ngr30-heading {
		font-size: 15px;
	}

	.ngr30-box .ngr30-check {
		font-size: 15px;
	}

	.ngr30-box .ngr30-benefits {
		flex-direction: column;
		gap: 7px;
	}

	.ngr30-notice {
		padding: 20px;
	}
}
