/*
 * Novus DNA – conversion product page (template-parts/product/).
 *
 * Builds on nv-base.css (tokens, type, buttons). Purchase area first, then
 * full-width information sections, as on the redesigned homepage.
 */

.nv-pdp {
	--nv-tint: #f6f5fa;
	--nv-ok: #1a7f4b;

	background: #fff;
}

.nv-pdp__notices:empty {
	display: none;
}

.nv-pdp__notices .woocommerce-notices-wrapper:not(:empty) {
	padding-block-start: 1rem;
}

.nv-pdp__crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding-block: 1.1rem;
	color: var(--nv-muted);
	font-size: 0.8125rem;
}

.nv-pdp__crumbs a {
	color: inherit;
	text-decoration: none;
}

.nv-pdp__crumbs a:hover {
	color: var(--nv-ink);
	text-decoration: underline;
}

.nv-pdp__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.75rem;
	padding-block-end: clamp(2.5rem, 2rem + 3vw, 5rem);
}

/* Phones use the full width; tablets keep the gallery compact. */
@media (max-width: 63.99em) {
	.nv-pdp__gallery {
		inline-size: 100%;
		max-inline-size: 34rem;
		margin-inline: auto;
	}
}

@media (min-width: 64em) {
	.nv-pdp__top {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: clamp(2.5rem, 1rem + 3vw, 5rem);
		align-items: start;
	}

	.nv-pdp__gallery {
		position: sticky;
		inset-block-start: calc(var(--sticky-header-height, 0px) + 1.5rem);
	}
}

/* ---------------------------------------------------------------
 * Gallery
 * ------------------------------------------------------------- */
.nv-gallery__viewport {
	position: relative;
}

.nv-gallery__track {
	position: relative;
	display: flex;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	border-radius: var(--nv-radius);
	background: var(--nv-paper);
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.nv-gallery__track::-webkit-scrollbar {
	display: none;
}

.nv-gallery__track:focus-visible {
	outline: 2px solid #00b5cb;
	outline-offset: 3px;
}

.nv-gallery__slide {
	flex: 0 0 100%;
	aspect-ratio: 1;
	scroll-snap-align: start;
}

.nv-gallery__slide img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: contain;
}

.nv-gallery__arrow {
	position: absolute;
	inset-block-start: 50%;
	display: none;
	place-items: center;
	inline-size: 2.75rem;
	block-size: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 6px 20px -8px rgba(27, 23, 64, 0.35);
	color: var(--nv-ink);
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 0.2s ease;
}

.nv-gallery__arrow .icon {
	inline-size: 1.1rem;
	block-size: 1.1rem;
}

.nv-gallery__arrow:disabled {
	opacity: 0;
	pointer-events: none;
}

.nv-gallery__arrow--prev {
	inset-inline-start: 1rem;
}

.nv-gallery__arrow--next {
	inset-inline-end: 1rem;
}

.nv-gallery__count {
	position: absolute;
	inset-block-end: 0.75rem;
	inset-inline-end: 0.75rem;
	margin: 0;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--nv-ink);
	font-size: 0.75rem;
	font-weight: 600;
}

.nv-gallery__thumbs {
	position: relative;
	display: flex;
	gap: 0.5rem;
	margin-block-start: 0.75rem;
	padding: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.nv-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.nv-gallery__thumb {
	flex: 0 0 auto;
	inline-size: clamp(3.75rem, 3rem + 2vw, 5rem);
	aspect-ratio: 1;
	padding: 0;
	overflow: hidden;
	border: 1.5px solid transparent;
	border-radius: 0.7rem;
	background: var(--nv-paper);
	cursor: pointer;
	opacity: 0.72;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nv-gallery__thumb img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.nv-gallery__thumb:hover,
.nv-gallery__thumb[aria-current="true"] {
	opacity: 1;
}

.nv-gallery__thumb[aria-current="true"] {
	border-color: var(--nv-ink);
}

.nv-gallery__thumb:focus-visible {
	outline: 2px solid #00b5cb;
	outline-offset: 2px;
}

@media (min-width: 64em) {
	.nv-gallery__arrow {
		display: grid;
	}

	.nv-gallery__count {
		display: none;
	}
}

/* ---------------------------------------------------------------
 * Purchase area
 * ------------------------------------------------------------- */
.nv-buy {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	min-inline-size: 0;
}

.nv-buy p {
	margin: 0;
}

.nv-buy__title {
	margin: 0;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.nv-buy__subtitle {
	margin-block-start: -0.6rem !important;
	color: var(--nv-muted);
	font-size: 1rem;
}

.nv-buy__rating {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	align-self: flex-start;
	color: var(--nv-ink);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.nv-buy__rating .product-rating__value {
	display: flex;
	color: var(--nv-star);
}

.nv-buy__rating:hover span {
	text-decoration: underline;
}

.nv-buy__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
}

.nv-buy__price {
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 1.5rem;
	font-weight: 600;
}

.nv-buy__price del {
	margin-inline-end: 0.4rem;
	color: var(--nv-muted);
	font-size: 1.1rem;
	font-weight: 400;
}

.nv-buy__price ins {
	text-decoration: none;
}

.nv-stock {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.nv-stock::before {
	content: "";
	inline-size: 0.5rem;
	block-size: 0.5rem;
	border-radius: 50%;
	background: currentColor;
}

.nv-stock--in {
	color: var(--nv-ok);
}

.nv-stock--backorder {
	color: #8a5a00;
}

.nv-stock--out {
	color: #a12222;
}

.nv-buy__intro {
	font-size: 1.0625rem;
	line-height: 1.6;
}

.nv-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nv-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: var(--nv-ink);
	color: #fff;
	font-family: var(--nv-heading);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
}

.nv-badge--quality {
	border: 1px solid var(--nv-line);
	background: var(--nv-tint);
	color: var(--nv-ink);
}

.nv-badge .icon {
	inline-size: 0.95rem;
	block-size: 0.95rem;
}

.nv-buy__highlights,
.nv-checklist {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nv-buy__highlights li,
.nv-checklist li {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.nv-buy__highlights .icon,
.nv-checklist .icon {
	flex: none;
	inline-size: 1.15rem;
	block-size: 1.15rem;
	margin-block-start: 0.2rem;
	color: #0098ab;
}

.nv-buy__group {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	border: 0;
	min-inline-size: 0;
}

.nv-buy__label {
	margin: 0 0 0.6rem;
	padding: 0;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 0.875rem;
	font-weight: 600;
}

.nv-buy__group .nv-buy__label {
	margin: 0;
}

/* Pack size: links to the sibling products. */
.nv-packs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nv-pack {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	block-size: 100%;
	padding: 0.75rem 1rem;
	border: 1.5px solid var(--nv-line);
	border-radius: 0.9rem;
	color: var(--nv-text);
	text-decoration: none;
	transition: border-color 0.2s ease;
}

.nv-pack:hover {
	border-color: rgba(43, 37, 94, 0.45);
}

.nv-pack.is-current {
	border-color: var(--nv-ink);
	background: var(--nv-tint);
	box-shadow: inset 0 0 0 0.5px var(--nv-ink);
}

.nv-pack__name {
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-weight: 600;
}

.nv-pack__price,
.nv-pack__note {
	color: var(--nv-muted);
	font-size: 0.875rem;
}

/* Purchase options */
.nv-option {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: center;
	padding: 1rem 1.1rem;
	border: 1.5px solid var(--nv-line);
	border-radius: 1rem;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nv-option:hover {
	border-color: rgba(43, 37, 94, 0.45);
}

.nv-option:has(input:checked) {
	border-color: var(--nv-ink);
	background: var(--nv-tint);
	box-shadow: inset 0 0 0 0.5px var(--nv-ink);
}

.nv-option:has(input:focus-visible) {
	outline: 2px solid #00b5cb;
	outline-offset: 2px;
}

.nv-option input {
	display: grid;
	place-items: center;
	inline-size: 1.25rem;
	block-size: 1.25rem;
	margin: 0;
	border: 1.5px solid rgba(43, 37, 94, 0.5);
	border-radius: 50%;
	background: #fff;
	appearance: none;
	cursor: pointer;
}

.nv-option input::before {
	content: "";
	inline-size: 0.6rem;
	block-size: 0.6rem;
	border-radius: 50%;
	background: var(--nv-ink);
	transform: scale(0);
	transition: transform 0.15s ease;
}

.nv-option input:checked {
	border-color: var(--nv-ink);
}

.nv-option input:checked::before {
	transform: scale(1);
}

.nv-option__body {
	display: grid;
	gap: 0.2rem;
}

.nv-option__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem 0.6rem;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-weight: 600;
	line-height: 1.3;
}

.nv-option__tag {
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: var(--nv-spectrum);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
}

.nv-option__meta {
	color: var(--nv-muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

.nv-option__price {
	display: grid;
	justify-items: end;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-weight: 600;
	white-space: nowrap;
}

.nv-option__price del {
	color: var(--nv-muted);
	font-size: 0.8125rem;
	font-weight: 400;
}

.nv-option.is-unavailable {
	cursor: not-allowed;
	opacity: 0.6;
}

.nv-option.is-unavailable .nv-option__price {
	visibility: hidden;
}

/* Buy 2, get 1 free: the stand-out option. */
.nv-option--offer {
	align-items: start;
	margin-block-start: 0.7rem;
	padding-block-start: 1.35rem;
	border: 1.5px solid transparent;
	background:
		linear-gradient(#fff, #fff) padding-box,
		var(--nv-spectrum) border-box;
}

.nv-option--offer:has(input:checked) {
	background:
		linear-gradient(var(--nv-tint), var(--nv-tint)) padding-box,
		var(--nv-spectrum) border-box;
	box-shadow: 0 10px 28px -16px rgba(78, 37, 131, 0.55);
}

.nv-option--offer input {
	margin-block-start: 0.15rem;
}

.nv-option__ribbon {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 1rem;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--nv-spectrum);
	color: #fff;
	font-family: var(--nv-heading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	transform: translateY(-50%);
}

.nv-option__title--offer {
	font-size: 1.125rem;
}

.nv-option__title--offer .amount {
	color: #8a1a73;
}

.nv-option__deal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.85rem;
	margin-block-start: 0.45rem;
}

.nv-option__packs {
	display: flex;
}

.nv-option__pack {
	position: relative;
	display: block;
	inline-size: 2.6rem;
	block-size: 2.6rem;
	overflow: hidden;
	border: 2px solid #fff;
	border-radius: 0.55rem;
	background: var(--nv-paper);
	box-shadow: 0 2px 6px -2px rgba(27, 23, 64, 0.3);
}

.nv-option__pack + .nv-option__pack {
	margin-inline-start: -0.45rem;
}

.nv-option__pack img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.nv-option__pack.is-free {
	border-color: #e6007e;
}

.nv-option__free {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	background: #e6007e;
	color: #fff;
	font-size: 0.5625rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.nv-option__save {
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: #fde6f2;
	color: #8a1a73;
	font-family: var(--nv-heading);
	font-size: 0.8125rem;
	font-weight: 700;
}

.nv-option--offer .nv-option__price {
	padding-block-start: 0.15rem;
}

/* The offer price is in the title; the column keeps the usual price for comparison. */
.nv-option--offer .nv-option__now {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.nv-option--offer .nv-option__price del {
	font-size: 0.9375rem;
}

/* Subscribe & Save (WooCommerce Subscriptions plan): calm ink accent, so it reads as
   the everyday choice and the spectrum stays with Buy 2, get 1 free. */
.nv-option--subscribe {
	align-items: start;
	margin-block-start: 0.7rem;
	padding-block-start: 1.35rem;
}

.nv-option--subscribe input {
	margin-block-start: 0.15rem;
}

.nv-option--subscribe .nv-option__ribbon {
	background: var(--nv-ink);
}

.nv-option--subscribe:has(input:checked) {
	box-shadow: inset 0 0 0 0.5px var(--nv-ink), 0 10px 28px -18px rgba(27, 23, 64, 0.5);
}

.nv-option__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.9rem;
	margin-block-start: 0.35rem;
	color: var(--nv-ink);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.nv-option__terms > span {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.nv-option__terms svg {
	inline-size: 0.95rem;
	block-size: 0.95rem;
	flex: none;
	color: #00a0b4;
}

.nv-option--subscribe .nv-option__price {
	padding-block-start: 0.15rem;
}

/* Delivery frequency (every month / every 2 months), shown under Subscribe & Save once chosen. */
.nv-sub-freq {
	margin: 0.6rem 0 0;
	padding: 0;
	border: 0;
}

.nv-sub-freq[hidden] {
	display: none;
}

.nv-sub-freq .nv-buy__label {
	margin-block-end: 0.45rem;
}

.nv-sub-freq__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
}

.nv-sub-freq__option {
	position: relative;
	display: grid;
	gap: 0.1rem;
	padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--nv-line);
	border-radius: 0.85rem;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nv-sub-freq__option:hover {
	border-color: rgba(43, 37, 94, 0.45);
}

.nv-sub-freq__option:has(input:checked) {
	border-color: var(--nv-ink);
	background: var(--nv-tint);
	box-shadow: inset 0 0 0 0.5px var(--nv-ink);
}

.nv-sub-freq__option:has(input:focus-visible) {
	outline: 2px solid #00b5cb;
	outline-offset: 2px;
}

/* The pill itself is the control; the radio stays for keyboard and screen readers. */
.nv-sub-freq__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nv-sub-freq__name {
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-weight: 600;
}

.nv-sub-freq__price {
	color: var(--nv-muted);
	font-size: 0.8125rem;
}

.nv-option__per {
	color: var(--nv-muted);
	font-family: var(--nv-body, inherit);
	font-size: 0.75rem;
	font-weight: 400;
}

/* Quantity and Add to basket */
.nv-buy__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.15rem;
}

.nv-buy__actions {
	display: flex;
	gap: 0.75rem;
}

.nv-qty {
	display: inline-flex;
	flex: none;
	align-items: center;
	block-size: 3.5rem;
	border: 1.5px solid var(--nv-line);
	border-radius: 999px;
}

.nv-qty__step {
	display: grid;
	place-items: center;
	inline-size: 2.75rem;
	block-size: 100%;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--nv-ink);
	cursor: pointer;
}

.nv-qty__step:disabled {
	opacity: 0.35;
	cursor: default;
}

.nv-qty__step:focus-visible {
	outline: 2px solid #00b5cb;
	outline-offset: -2px;
}

.nv-qty__input {
	inline-size: 2.5rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	appearance: textfield;
}

.nv-qty__input::-webkit-inner-spin-button,
.nv-qty__input::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.nv .nv-buy__submit {
	flex: 1;
	justify-content: space-between;
	min-block-size: 3.5rem;
	padding-inline: 1.5rem;
	font-size: 1rem;
}

.nv-buy__total {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	padding-inline-start: 1rem;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.35);
}

/* Subscribe & Save: "per month" under the price (button and mobile sticky bar). */
.nv-buy__per {
	font-size: 0.6875rem;
	font-weight: 500;
	line-height: 1.1;
	opacity: 0.85;
}

.nv-sticky__price .nv-buy__per {
	margin-inline-start: 0.3rem;
}

@media (max-width: 29.99em) {
	.nv-qty__step {
		inline-size: 2.4rem;
	}

	.nv-qty__input {
		inline-size: 2rem;
	}

	.nv-buy__actions {
		gap: 0.5rem;
	}

	.nv .nv-buy__submit {
		padding-inline: 1.1rem;
		font-size: 0.9375rem;
	}

	/* Keep the button inside the page margin (it ran 12px past it on 390px phones,
	   16px with a monthly total): it may shrink, with tighter padding than the
	   general button style. */
	.nv .nv-buy__actions .nv-buy__submit {
		min-inline-size: 0;
		gap: 0.6rem;
		padding-inline: 1rem;
	}

	.nv .nv-buy__submit > span:first-child {
		white-space: nowrap;
	}

	.nv-buy__total {
		padding-inline-start: 0.75rem;
	}
}

/* Very narrow phones: the button takes its own row under the quantity. */
@media (max-width: 22.49em) {
	.nv-buy__actions {
		flex-wrap: wrap;
	}

	.nv .nv-buy__submit {
		flex-basis: 100%;
	}
}

.nv-buy__note {
	margin-block-start: -0.6rem !important;
	color: #007c8b;
	font-size: 0.875rem;
	font-weight: 500;
}

.nv-buy__note:empty {
	display: none;
}

/* ---------------------------------------------------------------
 * In-page navigation
 * ------------------------------------------------------------- */
.nv-pdp__nav {
	border-block: 1px solid var(--nv-line);
	background: #fff;
}

.nv-pdp__nav ul {
	display: flex;
	gap: 0.25rem 2rem;
	margin: 0 auto;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.nv-pdp__nav ul::-webkit-scrollbar {
	display: none;
}

.nv-pdp__nav a {
	display: block;
	padding-block: 1.05rem;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.nv-pdp__nav a:hover {
	text-decoration: underline;
	text-underline-offset: 0.35em;
}

/* ---------------------------------------------------------------
 * Information sections
 * ------------------------------------------------------------- */
.nv-pdp .nv-section {
	scroll-margin-block-start: calc(var(--sticky-header-height, 0px) + 1rem);
}

.nv-pdp .nv-eyebrow {
	margin-block-end: 0.9rem;
}

.nv-pdp .nv-heading {
	margin-block-end: 1.25rem;
}

.nv-pdp-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
}

.nv-pdp-split__media {
	overflow: hidden;
	inline-size: 100%;
	max-inline-size: 34rem;
	margin-inline: auto;
	border-radius: var(--nv-radius);
	background: var(--nv-paper);
}

.nv-pdp-split__media img {
	inline-size: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

@media (max-width: 63.99em) {
	.nv-pdp-split__media {
		order: 2;
	}
}

@media (min-width: 64em) {
	.nv-pdp-split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(3rem, 1rem + 4vw, 6rem);
	}

	.nv-pdp-split__media {
		max-inline-size: none;
	}
}

.nv-prose > * + * {
	margin-block-start: 0.9rem !important;
}

.nv-prose strong {
	color: var(--nv-ink);
	font-weight: 600;
}

.nv-prose--lead {
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
	font-weight: 500;
	line-height: 1.45;
}

.nv-pdp-small {
	margin-block-start: 1.25rem !important;
	color: var(--nv-muted);
	font-size: 0.875rem;
}

.nv-features {
	display: grid;
	gap: 1rem;
	margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 48em) {
	.nv-features {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.nv-feature {
	padding: 1.5rem;
	border: 1px solid var(--nv-line);
	border-radius: var(--nv-radius);
	background: #fff;
}

.nv-feature::before {
	content: "";
	display: block;
	inline-size: 2rem;
	block-size: 3px;
	margin-block-end: 1rem;
	border-radius: 3px;
	background: var(--nv-spectrum);
}

.nv-feature__title {
	margin: 0 0 0.5rem;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 1.125rem;
	font-weight: 600;
}

.nv-feature p {
	color: var(--nv-muted);
}

/* Ingredients table */
.nv-facts {
	margin: 0;
	border-block-start: 1px solid var(--nv-line);
}

.nv-facts__row {
	display: grid;
	gap: 0.15rem 1.5rem;
	padding-block: 0.85rem;
	border-block-end: 1px solid var(--nv-line);
}

@media (min-width: 36em) {
	.nv-facts__row {
		grid-template-columns: 10rem minmax(0, 1fr);
	}
}

.nv-facts dt {
	color: var(--nv-ink);
	font-weight: 600;
}

.nv-facts dd {
	margin: 0;
}

.nv-pdp-panel {
	margin-block-start: 1.75rem;
	padding: 1.25rem 1.4rem;
	border-radius: var(--nv-radius-s);
	background: var(--nv-paper);
	font-size: 0.9375rem;
}

.nv-pdp-panel__title {
	margin: 0 0 0.5rem;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Quality & testing: deep ink panel, shown only with evidence */
.nv-quality-pdp {
	position: relative;
	background:
		radial-gradient(60rem 30rem at 100% 0%, rgba(78, 37, 131, 0.55), transparent 60%),
		radial-gradient(40rem 24rem at 0% 100%, rgba(0, 181, 203, 0.18), transparent 60%),
		var(--nv-ink-deep);
	color: #fff;
}

.nv-quality-pdp::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	block-size: 3px;
	background: var(--nv-spectrum);
}

.nv-quality-pdp__grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 64em) {
	.nv-quality-pdp__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 4rem;
		align-items: start;
	}

	.nv-quality-pdp__grid--claims-only {
		grid-template-columns: minmax(0, 1fr);
	}
}

.nv-quality-pdp__eyebrow {
	color: #9fe8f2;
}

.nv-quality-pdp__eyebrow::before {
	content: "";
	display: block;
	inline-size: 2.5rem;
	block-size: 3px;
	margin-block-end: 0.85rem;
	border-radius: 3px;
	background: var(--nv-spectrum);
}

.nv-quality-pdp .nv-heading {
	margin-block: 0.4rem 0;
	color: #fff;
}

.nv-quality-pdp__intro {
	margin-block-start: 1rem;
	color: rgba(255, 255, 255, 0.78);
}

.nv-proof {
	display: grid;
	gap: 0.75rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 36em) {
	.nv-proof {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64em) {
	.nv-quality-pdp__grid--claims-only .nv-proof {
		grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	}
}

.nv-proof__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.15rem 0.75rem;
	align-items: center;
	padding: 0.95rem 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--nv-radius-s);
	background: rgba(255, 255, 255, 0.05);
}

.nv-proof__icon {
	grid-row: span 2;
	inline-size: 1.6rem;
	block-size: 1.6rem;
	color: #9fe8f2;
}

.nv-proof__claim {
	font-family: var(--nv-heading);
	font-weight: 700;
	line-height: 1.3;
}

.nv-proof__evidence {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8125rem;
	line-height: 1.4;
}

a.nv-proof__evidence {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.nv-quality-pdp__subheading {
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--nv-heading);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nv-docs {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nv .nv-doc {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	gap: 0.9rem;
	align-items: center;
	padding: 1rem 1.15rem;
	border-radius: var(--nv-radius-s);
	background: #fff;
	color: var(--nv-ink);
	text-decoration: none;
	box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nv-doc:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.7);
}

.nv-doc:focus-visible {
	outline: 2px solid #9fe8f2;
	outline-offset: 3px;
}

.nv-doc__icon {
	inline-size: 1.6rem;
	block-size: 1.6rem;
	color: #4e2583;
}

.nv-doc__text {
	display: grid;
	gap: 0.1rem;
	min-inline-size: 0;
}

.nv-doc__label {
	font-family: var(--nv-heading);
	font-weight: 700;
	line-height: 1.3;
}

.nv-doc__details {
	color: var(--nv-muted);
	font-size: 0.8125rem;
}

.nv-doc__type {
	color: var(--nv-muted);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.nv-doc__download {
	inline-size: 1.15rem;
	block-size: 1.15rem;
}

@media (max-width: 35.99em) {
	.nv .nv-doc {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 0.2rem 0.9rem;
	}

	.nv-doc__type {
		grid-column: 2;
		grid-row: 2;
	}

	.nv-doc__download {
		grid-row: 1 / span 2;
		grid-column: 3;
	}
}

/* ---------------------------------------------------------------
 * Complete your routine
 * ------------------------------------------------------------- */
.nv-routine__head {
	max-inline-size: 40rem;
	margin-block-end: 1.5rem;
}

.nv-routine__head .nv-heading {
	margin-block-end: 0.5rem;
}

.nv-routine__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Phones: compact rows. */
.nv-routine__item {
	position: relative;
	display: grid;
	grid-template-columns: auto 4rem minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: center;
	padding: 0.75rem 1rem 0.75rem 0.85rem;
	border: 1.5px solid var(--nv-line);
	border-radius: 1rem;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nv-routine__item:hover {
	border-color: rgba(43, 37, 94, 0.45);
}

.nv-routine__item.is-selected {
	border-color: var(--nv-ink);
	box-shadow: inset 0 0 0 0.5px var(--nv-ink);
}

.nv-routine__item:has(.nv-routine__check:focus-visible) {
	outline: 2px solid #00b5cb;
	outline-offset: 2px;
}

.nv-routine__check {
	position: relative;
	z-index: 2;
	display: block;
	inline-size: 1.25rem;
	block-size: 1.25rem;
	margin: 0;
	accent-color: var(--nv-ink);
	cursor: pointer;
}

.nv-routine__media {
	display: block;
	overflow: hidden;
	border-radius: 0.6rem;
	background: var(--nv-paper);
}

.nv-routine__media img {
	inline-size: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.nv-routine__text {
	display: grid;
	gap: 0.15rem;
	min-inline-size: 0;
}

.nv-routine__name {
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

/* The whole card toggles the checkbox; "View product" stays a link. */
.nv-routine__name::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.nv-routine__note {
	color: var(--nv-muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.nv-routine__link {
	position: relative;
	z-index: 2;
	justify-self: start;
	color: var(--nv-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	text-underline-offset: 0.2em;
}

.nv-routine__item-price {
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-weight: 600;
	white-space: nowrap;
}

/* Larger screens: the same compact cards, three side by side. */
@media (min-width: 48em) {
	.nv-routine__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}

	.nv-routine__item {
		grid-template-columns: auto 4.5rem minmax(0, 1fr);
		grid-template-areas:
			"check media text"
			"check media price";
		align-items: center;
		gap: 0.25rem 0.9rem;
		padding: 1rem;
	}

	.nv-routine__check {
		grid-area: check;
	}

	.nv-routine__media {
		grid-area: media;
	}

	.nv-routine__text {
		grid-area: text;
		align-self: end;
	}

	.nv-routine__item-price {
		grid-area: price;
		align-self: start;
	}
}

.nv-routine__more {
	margin-block-start: 0.75rem;
}

.nv-routine__more > summary {
	display: inline-block;
	padding-block: 0.4rem;
	color: var(--nv-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.25em;
	list-style: none;
	cursor: pointer;
}

.nv-routine__more > summary::-webkit-details-marker {
	display: none;
}

.nv-routine__more[open] > summary {
	margin-block-end: 0.75rem;
}

.nv-routine__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem 1.5rem;
	margin-block-start: 1.25rem;
}

.nv-routine__footer[hidden] {
	display: none;
}

.nv-routine__total {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	color: var(--nv-muted);
}

.nv-routine__total strong {
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 1.375rem;
	font-weight: 600;
}

.nv .nv-routine__footer .nv-button:disabled {
	border-color: var(--nv-line);
	background: var(--nv-line);
	color: var(--nv-muted);
	cursor: default;
}

.nv-routine__status {
	margin-block-start: 0.75rem !important;
	color: var(--nv-ink);
	font-weight: 500;
	text-align: end;
}

.nv-routine__status:empty {
	display: none;
}

.nv-routine__small {
	margin-block-start: 0.5rem !important;
	color: var(--nv-muted);
	font-size: 0.8125rem;
	text-align: end;
}

@media (max-width: 47.99em) {
	.nv-routine__footer {
		justify-content: space-between;
	}

	.nv .nv-routine__footer .nv-button {
		flex: 1 1 100%;
	}

	.nv-routine__small,
	.nv-routine__status {
		text-align: start;
	}
}

/* ---------------------------------------------------------------
 * FAQs
 * ------------------------------------------------------------- */
.nv-faqs {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

@media (min-width: 64em) {
	.nv-faqs {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: 4rem;
		align-items: start;
	}
}

.nv-faqs__list {
	border-block-start: 1px solid var(--nv-line);
}

.nv-faq {
	border-block-end: 1px solid var(--nv-line);
}

.nv-faq__q {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding-block: 1.15rem;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 1.0625rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.nv-faq__q::-webkit-details-marker {
	display: none;
}

.nv-faq__q .icon {
	flex: none;
	inline-size: 1.1rem;
	block-size: 1.1rem;
	transition: transform 0.2s ease;
}

.nv-faq[open] .nv-faq__q .icon {
	transform: rotate(45deg);
}

.nv-faq__q:focus-visible {
	outline: 2px solid #00b5cb;
	outline-offset: 2px;
}

.nv-faq__a {
	padding-block-end: 1.25rem;
	color: var(--nv-muted);
}

/* ---------------------------------------------------------------
 * Reviews (WooCommerce's own review list and form)
 * ------------------------------------------------------------- */
.nv-pdp-reviews #reviews {
	max-inline-size: 48rem;
}

.nv-pdp-reviews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	max-inline-size: 48rem;
}

.nv-pdp .nv-pdp-reviews__head .nv-heading {
	margin-block-end: 0.35rem;
}

.nv-pdp-reviews__empty {
	margin: 0;
	color: var(--nv-muted);
}

.nv-pdp-reviews__toggle[hidden],
.nv-pdp-reviews #review_form_wrapper[hidden] {
	display: none;
}

/* Our own empty message replaces WooCommerce's. */
.nv-pdp-reviews--empty .woocommerce-noreviews {
	display: none;
}

.nv-pdp-reviews #reviews:has(#review_form_wrapper[hidden]) #comments:has(.woocommerce-noreviews) {
	display: none;
}

.nv-pdp-reviews.is-writing #review_form_wrapper {
	margin-block-start: 1.5rem;
}

.nv-pdp-reviews--empty {
	padding-block: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
}

.nv-pdp-reviews .woocommerce-Reviews-title {
	display: none;
}

.nv-pdp-reviews .woocommerce-noreviews {
	margin-block-end: 1.5rem;
	color: var(--nv-muted);
}

.nv-pdp-reviews .comment-reply-title {
	display: block;
	margin-block-end: 0.75rem;
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 1.125rem;
	font-weight: 600;
}

.nv-pdp-reviews #review_form_wrapper {
	padding: 1.5rem;
	border-radius: var(--nv-radius);
	background: #fff;
}

.nv-pdp-reviews .comment-form label {
	display: block;
	margin-block-end: 0.3rem;
	color: var(--nv-ink);
	font-weight: 500;
}

.nv-pdp-reviews .comment-form input[type="text"],
.nv-pdp-reviews .comment-form input[type="email"],
.nv-pdp-reviews .comment-form textarea {
	inline-size: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--nv-line);
	border-radius: 0.6rem;
	background: #fff;
	font: inherit;
}

.nv-pdp-reviews .comment-form-cookies-consent {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.nv-pdp-reviews .comment-form-cookies-consent label {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.woocommerce .nv-pdp-reviews #respond input#submit {
	min-block-size: 3rem;
	padding: 0 1.75rem;
	border: 1.5px solid var(--nv-ink);
	border-radius: 999px;
	background: var(--nv-ink);
	color: #fff;
	font-family: var(--nv-heading);
	font-weight: 600;
}

.woocommerce .nv-pdp-reviews #respond input#submit:hover {
	border-color: var(--nv-ink-deep);
	background: var(--nv-ink-deep);
}

/* ---------------------------------------------------------------
 * Small screens: shorter page, same information
 * ------------------------------------------------------------- */
@media (max-width: 63.99em) {
	/* These images repeat the pack copy shown beside them; they stay in the gallery. */
	.nv-pdp-split__media--wide-only {
		display: none;
	}

	.nv-pdp .nv-section {
		padding-block: clamp(2.5rem, 1.75rem + 3vw, 4.5rem);
	}

	.nv-pdp .nv-heading {
		margin-block-end: 0.9rem;
	}

	.nv-pdp .nv-eyebrow {
		margin-block-end: 0.6rem;
	}

	.nv-pdp-split {
		gap: 1.5rem;
	}

	.nv-pdp-split__media img {
		aspect-ratio: 4 / 3;
	}

	.nv-features {
		gap: 0.6rem;
		margin-block-start: 1.75rem;
	}

	.nv-feature {
		padding: 1.1rem 1.2rem;
	}

	.nv-feature::before {
		margin-block-end: 0.7rem;
	}

	.nv-pdp-panel {
		margin-block-start: 1.25rem;
		padding: 1rem 1.1rem;
		font-size: 0.875rem;
	}
}

@media (max-width: 35.99em) {
	.nv-pdp__crumbs {
		padding-block: 0.75rem;
	}

	.nv-pdp__top {
		gap: 1.25rem;
	}

	.nv-buy {
		gap: 1rem;
	}

	.nv-buy__intro {
		font-size: 1rem;
		line-height: 1.55;
	}

	.nv-buy__highlights {
		gap: 0.45rem;
		font-size: 0.9375rem;
	}

	.nv-badge {
		padding: 0.35rem 0.7rem;
		font-size: 0.75rem;
	}

	.nv-pack {
		padding: 0.6rem 0.9rem;
	}

	.nv-packs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nv-option {
		gap: 0.7rem;
		padding: 0.85rem 0.9rem;
	}

	.nv-option--offer,
	.nv-option--subscribe {
		padding-block-start: 1.25rem;
	}

	.nv-pdp__nav a {
		padding-block: 0.85rem;
		font-size: 0.875rem;
	}

	/* Two columns keep the ingredients table short. */
	.nv-facts__row {
		grid-template-columns: 7.5rem minmax(0, 1fr);
		gap: 0.75rem;
		padding-block: 0.65rem;
		font-size: 0.9375rem;
	}

	.nv-prose--lead {
		font-size: 1.0625rem;
	}

	.nv-faq__q {
		padding-block: 0.95rem;
		font-size: 1rem;
	}
}

/* ---------------------------------------------------------------
 * Mobile sticky Add to basket
 * ------------------------------------------------------------- */
.nv-sticky {
	position: fixed;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 40;
	display: flex;
	gap: 1rem;
	align-items: center;
	padding: 0.75rem var(--nv-gutter) calc(0.75rem + env(safe-area-inset-bottom, 0px));
	border-block-start: 1px solid var(--nv-line);
	background: #fff;
	box-shadow: 0 -12px 30px -18px rgba(27, 23, 64, 0.35);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.nv-sticky.is-visible {
	transform: none;
	visibility: visible;
	transition: transform 0.25s ease;
}

.nv-sticky__info {
	flex: 1;
	min-inline-size: 0;
}

.nv-sticky__name {
	color: var(--nv-muted);
	font-size: 0.8125rem;
	line-height: 1.3;
	text-wrap: pretty; /* The full name, on two lines when it needs them. */
}

.nv-sticky__price {
	color: var(--nv-ink);
	font-family: var(--nv-heading);
	font-size: 1.125rem;
	font-weight: 600;
}

.nv-sticky__summary {
	color: var(--nv-muted);
	font-family: var(--nv-body);
	font-size: 0.8125rem;
	font-weight: 500;
}

.nv .nv-sticky .nv-button {
	flex: none;
	min-block-size: 3rem;
}

@media (max-width: 63.99em) {
	.nv-has-sticky .site-footer {
		padding-block-end: 5.5rem;
	}

	/* Keep the back-to-top button clear of the bar. */
	.nv-has-sticky .back-to-top {
		inset-block-end: calc(5.25rem + env(safe-area-inset-bottom, 0px));
		transition: opacity 0.3s ease, visibility 0.3s ease, inset-block-end 0.25s ease;
	}
}

@media (min-width: 64em) {
	.nv-sticky {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nv-sticky,
	.nv-sticky.is-visible {
		transition: none;
	}
}
