/* Jenvita: Bundle and Save + three-item cart savings. */

.jv-product__media-column {
	min-width: 0;
}

.jv-bundle {
	margin-top: 20px;
	padding: 18px;
	background: #fff;
	border: 1px solid #dbe6da;
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(20, 52, 34, 0.055);
}

.jv-bundle__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

.jv-bundle__heading h2 {
	margin: 2px 0 0;
	font-size: clamp(1.28rem, 2vw, 1.65rem);
	line-height: 1.05;
}

.jv-bundle__badge {
	flex: 0 0 auto;
	padding: 7px 9px;
	color: #176d25;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.2;
	background: #eaf6e5;
	border-radius: 7px;
}

.jv-bundle__items {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr);
	align-items: start;
	gap: 4px;
}

.jv-bundle__plus {
	display: grid;
	place-items: center;
	align-self: center;
	margin-top: -54px;
	color: #526056;
	font-size: 1.35rem;
	font-weight: 700;
}

.jv-bundle-card {
	position: relative;
	min-width: 0;
}

.jv-bundle-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f6f8f4;
	border: 1px solid #e2e9df;
	border-radius: 10px;
}

.jv-bundle-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.jv-bundle-card__check {
	position: absolute;
	top: 7px;
	right: 7px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	cursor: pointer;
	background: #fff;
	border: 1px solid #bed0be;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.jv-bundle-card__check input {
	position: absolute;
	opacity: 0;
}

.jv-bundle-card__check span[aria-hidden="true"] {
	width: 13px;
	height: 13px;
	border: 1px solid #809282;
	border-radius: 3px;
}

.jv-bundle-card__check input:focus-visible + span {
	outline: 2px solid #08731b;
	outline-offset: 3px;
}

.jv-bundle-card__check input:checked + span,
.jv-bundle-card__check.is-locked span {
	position: relative;
	background: #08731b;
	border-color: #08731b;
}

.jv-bundle-card__check input:checked + span::after,
.jv-bundle-card__check.is-locked span::after {
	position: absolute;
	top: 1px;
	left: 4px;
	width: 4px;
	height: 7px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: '';
	transform: rotate(45deg);
}

.jv-bundle-card__check.is-locked {
	cursor: default;
}

.jv-bundle-card__content {
	padding: 8px 2px 0;
}

.jv-bundle-card__label {
	display: block;
	margin-bottom: 3px;
	color: #176d25;
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.jv-bundle-card h3 {
	display: -webkit-box;
	overflow: hidden;
	min-height: 3.45em;
	margin: 0 0 6px;
	font-size: 0.77rem;
	font-weight: 650;
	line-height: 1.15;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.jv-bundle-card h3 a {
	color: inherit;
	text-decoration: none;
}

.jv-bundle-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px;
	min-height: 20px;
	font-size: 0.78rem;
}

.jv-bundle-price__current {
	color: #08731b;
	font-weight: 800;
}

.jv-bundle-price del {
	color: #889087;
	font-size: 0.68rem;
	font-weight: 500;
	opacity: 1;
}

.jv-bundle-price ins,
.jv-bundle-price .subscription-details,
.jv-bundle-price .wcsatt-sub-options {
	text-decoration: none;
}

.jv-bundle-card__choose {
	display: block;
	margin-top: 4px;
	color: #9a5b00;
	font-size: 0.68rem;
	font-weight: 700;
}

.jv-bundle__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 14px;
	padding-top: 13px;
	border-top: 1px solid #e1e8df;
}

.jv-bundle__total {
	display: grid;
	grid-template-columns: auto auto;
	align-items: baseline;
	justify-content: start;
	gap: 1px 8px;
}

.jv-bundle__total > span {
	color: #59635b;
	font-size: 0.76rem;
}

.jv-bundle__total strong {
	color: #142d19;
	font-size: 1.05rem;
}

.jv-bundle__total small {
	grid-column: 1 / -1;
	color: #176d25;
	font-size: 0.67rem;
	font-weight: 650;
}

.jv-bundle__button.button {
	flex: 0 0 auto;
	min-height: 42px;
	padding: 9px 16px;
	background: #08731b;
	border: 0;
	border-radius: 7px;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 750;
}

.jv-bundle__button.button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.jv-bundle__actions {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.jv-bundle__button.button.is-loading {
	cursor: wait;
	opacity: 0.7;
}

.jv-bundle__button.button.is-success {
	background: #eaf6e5;
	color: #176d25;
	opacity: 1;
}

.jv-bundle__view-cart.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	background: #fff;
	border: 1px solid #08731b;
	border-radius: 7px;
	color: #08731b;
	font-size: 0.78rem;
	font-weight: 750;
	text-decoration: none;
}

.jv-bundle__view-cart[hidden] {
	display: none !important;
}

.jv-bundle__feedback {
	flex: 0 0 100%;
	margin: -7px 0 0;
	color: #176d25;
	font-size: 0.72rem;
	font-weight: 650;
}

.jv-bundle__feedback.is-error {
	color: #a32820;
}

.jv-cart-savings {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 3px 22px;
	margin: 0 0 20px;
	padding: 16px 18px;
	background: #f5f7f2;
	border: 1px solid #dce6d8;
	border-radius: 12px;
}

.jv-cart-savings strong,
.jv-cart-savings span:not(.jv-cart-savings__progress) {
	grid-column: 1;
}

.jv-cart-savings strong {
	color: #163b1c;
	font-size: 1rem;
}

.jv-cart-savings > span:not(.jv-cart-savings__progress) {
	color: #5a665b;
	font-size: 0.84rem;
}

.jv-cart-savings.is-unlocked {
	background: #eff9e9;
	border-color: #9bc78e;
}

.jv-cart-savings__progress {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	gap: 6px;
}

.jv-cart-savings__progress i {
	display: block;
	width: 24px;
	height: 8px;
	background: #d4ddd1;
	border-radius: 99px;
}

.jv-cart-savings__progress i.is-filled {
	background: #138025;
}

/* Lightweight MailerLite section. */
.jv-newsletter {
	padding: clamp(42px, 5vw, 66px) 24px;
	color: #10261a;
	text-align: center;
}

.jv-newsletter__inner {
	width: min(100%, 920px);
	margin: 0 auto;
}

.jv-newsletter__icon {
	display: block;
	width: 28px;
	height: 28px;
	margin: 0 auto 10px;
	color: #08731b;
}

.jv-newsletter h2 {
	margin: 0 0 5px;
	color: #10261a;
	font-size: clamp(1.75rem, 3vw, 2.2rem);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.jv-newsletter__inner > p:not(.jv-newsletter__status) {
	margin: 0 auto 24px;
	color: #34493c;
	font-size: clamp(0.95rem, 1.5vw, 1.08rem);
	line-height: 1.55;
}

.jv-newsletter__embed,
.jv-newsletter .ml-form-embedWrapper,
.jv-newsletter .ml-form-embedBody {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.jv-newsletter [hidden] {
	display: none !important;
}

.jv-newsletter__form {
	display: grid;
	grid-template-columns: minmax(0, 322px) 120px;
	justify-content: center;
	gap: 9px;
	margin: 0 auto;
}

.jv-newsletter__field,
.jv-newsletter__submit {
	margin: 0;
}

.jv-newsletter__field input {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 17px;
	color: #16251b;
	font: inherit;
	font-size: 0.9rem;
	background: #fff;
	border: 1px solid #e2e8e0;
	border-radius: 9px;
	box-shadow: 0 7px 18px rgba(22, 55, 32, 0.045);
	box-sizing: border-box;
}

.jv-newsletter__field input::placeholder {
	color: #738077;
	opacity: 1;
}

.jv-newsletter__field input:focus {
	border-color: #08731b;
	box-shadow: 0 0 0 3px rgba(8, 115, 27, 0.13);
	outline: 0;
}

.jv-newsletter__submit button {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 18px;
	color: #fff;
	font: inherit;
	font-size: 0.94rem;
	font-weight: 750;
	background: #08731b;
	border: 0;
	border-radius: 9px;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.jv-newsletter__submit button:hover {
	background: #075f18;
	transform: translateY(-1px);
}

.jv-newsletter__submit button:focus-visible {
	outline: 3px solid rgba(8, 115, 27, 0.25);
	outline-offset: 3px;
}

.jv-newsletter__recaptcha {
	grid-column: 1 / -1;
	display: none;
	justify-self: center;
	margin-top: 7px;
}

.jv-newsletter.is-verification-visible .jv-newsletter__recaptcha {
	display: block;
}

.jv-newsletter__status {
	min-height: 1.2em;
	margin: 10px 0 0;
	color: #516056;
	font-size: 0.78rem;
}

.jv-newsletter__status.is-error {
	color: #a32820;
}

.jv-newsletter__success h3 {
	margin: 0 0 4px;
	color: #08731b;
	font-size: 1.55rem;
}

.jv-newsletter__success p {
	margin: 0;
	color: #34493c;
}

@media (max-width: 720px) {
	.jv-bundle {
		padding: 15px;
	}

	.jv-bundle__heading {
		align-items: flex-start;
	}

	.jv-bundle__items {
		grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr);
		gap: 2px;
	}

	.jv-bundle__plus {
		font-size: 1rem;
	}

	.jv-bundle-card h3 {
		font-size: 0.7rem;
	}

	.jv-bundle__summary {
		align-items: stretch;
		flex-direction: column;
	}

	.jv-bundle__actions,
	.jv-bundle__button.button,
	.jv-bundle__view-cart.button {
		width: 100%;
	}

	.jv-cart-savings {
		grid-template-columns: 1fr;
	}

	.jv-cart-savings__progress {
		grid-column: 1;
		grid-row: auto;
		margin-top: 8px;
	}

	.jv-newsletter {
		padding: 40px 18px;
	}

	.jv-newsletter__form {
		grid-template-columns: minmax(0, 1fr);
		width: min(100%, 440px);
	}

	.jv-newsletter__recaptcha {
		grid-column: 1;
		max-width: 100%;
	}
}

@media (max-width: 360px) {
	.jv-newsletter__recaptcha .g-recaptcha {
		margin-bottom: -10px;
		transform: scale(0.88);
		transform-origin: top center;
	}
}
