/* Single product page (PDP) */

.nuvu-woocommerce:has(.nuvu-pdp) {
	padding-top: 1.25rem;
}

/* Product pages: slightly wider content for buy box */
.single-product .nuvu-woocommerce.nuvu-container {
	width: min(100% - 3rem, 1280px);
	max-width: 1280px;
}

.nuvu-pdp {
	max-width: 100%;
	--nuvu-card-bg: #eef2ff;
	--nuvu-cat-accent: #01083d;
}

.nuvu-pdp__breadcrumb {
	margin: 0 0 1.5rem;
	font-size: 0.88rem;
	color: #94a3b8;
}

.nuvu-pdp__breadcrumb a {
	color: #64748b;
	text-decoration: none;
}

.nuvu-pdp__breadcrumb a:hover {
	color: var(--nuvu-primary);
	text-decoration: underline;
}

.nuvu-pdp__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: 2.75rem;
	align-items: start;
	margin-bottom: 2.5rem;
}

.nuvu-pdp__summary {
	min-width: 0;
	width: 100%;
}

.nuvu-pdp form.cart.nuvu-pdp__form,
.nuvu-pdp__form.cart {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 0;
	margin: 0 0 1.5rem;
	width: 100% !important;
	max-width: none !important;
}

.nuvu-pdp__form > *,
.nuvu-pdp__field,
.nuvu-pdp__custom-qty,
.nuvu-pdp__total,
.nuvu-pdp__upsell,
.nuvu-pdp__atc,
.nuvu-pdp__trust {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

/* Media — vial sits on category color (--nuvu-card-bg) from product_cat. */
.nuvu-pdp__image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1;
	min-height: 0;
	padding: 0.85rem;
	border-radius: 20px;
	background: var(--nuvu-card-bg);
	border: 1px solid var(--nuvu-border);
	overflow: hidden;
	cursor: zoom-in;
	font: inherit;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.nuvu-pdp__image:focus-visible {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

.nuvu-pdp__image-badges {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	z-index: 3;
	max-width: calc(100% - 2rem);
}

.nuvu-pdp__image-badge {
	background: var(--nuvu-primary, #01083d);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nuvu-pdp__image-purity {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(1, 8, 61, 0.08);
	font-size: 0.68rem;
	font-weight: 700;
	color: #475569;
	line-height: 1.2;
	white-space: nowrap;
	z-index: 3;
	max-width: 45%;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Zoom clip frame — soft so category color remains the dominant backdrop. */
.nuvu-pdp__image-frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 85%;
	aspect-ratio: 1;
	height: auto;
	flex-shrink: 0;
	padding: 0;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.55);
	background: color-mix(in srgb, #fff 55%, transparent);
	border: 2px solid transparent;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(1, 8, 61, 0.05);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nuvu-pdp__image:hover .nuvu-pdp__image-frame,
.nuvu-pdp__image:focus-within .nuvu-pdp__image-frame {
	border-color: #3b82f6;
	box-shadow: 0 8px 22px rgba(59, 130, 246, 0.2);
}

.nuvu-pdp__image-zoomable {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.35s ease;
	will-change: transform;
}

.nuvu-pdp__image-frame img,
.nuvu-pdp__image > img {
	display: block;
	width: auto;
	height: auto;
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}

.nuvu-pdp__image-placeholder {
	font-family: var(--nuvu-font-serif);
	font-size: 4rem;
	color: var(--nuvu-primary);
}

.nuvu-pdp__image-zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 2;
}

.nuvu-pdp__image-zoom-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.28);
	color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	transform: scale(0.92);
	transition: transform 0.2s ease, background 0.2s ease;
}

.nuvu-pdp__image:hover .nuvu-pdp__image-zoomable,
.nuvu-pdp__image:focus-within .nuvu-pdp__image-zoomable,
.nuvu-pdp__image:hover > img,
.nuvu-pdp__image:focus-within > img {
	transform: scale(1.65);
}

.nuvu-pdp__image:hover > img,
.nuvu-pdp__image:focus-within > img {
	transition: transform 0.35s ease;
}

.nuvu-pdp__image:hover .nuvu-pdp__image-zoom,
.nuvu-pdp__image:focus-within .nuvu-pdp__image-zoom {
	opacity: 1;
}

.nuvu-pdp__image:hover .nuvu-pdp__image-zoom-icon,
.nuvu-pdp__image:focus-within .nuvu-pdp__image-zoom-icon {
	transform: scale(1);
	background: rgba(0, 0, 0, 0.32);
}

/* Full-view lightbox — full viewport dim + blur (like reference) */
.nuvu-pdp__lightbox {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	min-width: 100vw;
	min-height: 100vh;
	margin: 0 !important;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2rem);
	box-sizing: border-box;
	border: none;
	background: rgba(0, 0, 0, 0.48);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.nuvu-pdp__lightbox[hidden] {
	display: none !important;
}

.nuvu-pdp__lightbox.is-open {
	display: flex !important;
}

.nuvu-pdp__lightbox-close {
	position: fixed;
	top: 1.25rem;
	right: 1.25rem;
	z-index: 100001;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
}

.nuvu-pdp__lightbox-close:hover {
	background: rgba(0, 0, 0, 0.7);
}

.nuvu-pdp__lightbox-close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.nuvu-pdp__lightbox-close svg {
	display: block;
	width: 16px;
	height: 16px;
}

.nuvu-pdp__lightbox-img {
	display: block;
	position: relative;
	z-index: 1;
	max-width: min(92vw, 900px);
	max-height: min(88vh, 900px);
	width: auto;
	height: auto;
	object-fit: contain;
	background: #fff;
	border-radius: 0;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

/* Blur page behind lightbox (works even when backdrop-filter is limited) */
html.nuvu-lightbox-open,
html.nuvu-lightbox-open body {
	overflow: hidden;
}

html.nuvu-lightbox-open body > *:not(.nuvu-pdp__lightbox) {
	filter: blur(8px);
}

@media (max-width: 720px) {
	.nuvu-pdp__image {
		padding: 0.75rem;
	}

	.nuvu-pdp__image-frame {
		width: 85%;
	}

	.nuvu-pdp__image-frame img,
	.nuvu-pdp__image > img {
		max-width: 90%;
		max-height: 90%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nuvu-pdp__image-zoomable,
	.nuvu-pdp__image-zoom,
	.nuvu-pdp__image-zoom-icon,
	.nuvu-pdp__image > img {
		transition-duration: 0.01ms;
	}
}

.nuvu-pdp__coa {
	margin-top: 1.5rem;
}

.nuvu-pdp__coa-title {
	margin: 0 0 0.85rem;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #94a3b8;
}

.nuvu-pdp__coa-grid {
	display: grid;
	grid-template-columns: minmax(140px, 200px);
	gap: 0.65rem;
}

.nuvu-pdp__coa-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 0.85rem 0.5rem;
	border-radius: 12px;
	border: 1px solid #dbe4f0;
	background: #fff;
	color: #0f172a;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}

.nuvu-pdp__coa-card:hover {
	border-color: #0f172a;
	text-decoration: none;
}

.nuvu-pdp__coa-card.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

/* Summary */
.nuvu-pdp__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #0f172a;
}

.nuvu-pdp__title {
	margin: 0 0 0.85rem;
	font-family: var(--nuvu-font-serif);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--nuvu-primary);
}

.nuvu-pdp__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.nuvu-pdp__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
	font-size: 0.75rem;
	font-weight: 700;
}

.nuvu-pdp__badge--verified {
	background: #ecfdf5;
	color: #047857;
}

.nuvu-pdp__badge--navy {
	background: var(--nuvu-primary);
	color: #fff;
}

.nuvu-pdp__desc {
	margin: 0 0 1.5rem;
	color: #64748b;
	font-size: 0.98rem;
	line-height: 1.6;
}

.nuvu-pdp__desc p {
	margin: 0;
}

.nuvu-pdp__field {
	margin-bottom: 1.35rem;
	width: 100%;
}

.nuvu-pdp__label {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--nuvu-primary);
}

.nuvu-pdp__stack-includes {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
}

.nuvu-pdp__stack-includes li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0.9rem;
	border-bottom: 1px solid #eef2f7;
	font-size: 0.92rem;
	color: var(--nuvu-primary);
}

.nuvu-pdp__stack-includes li:last-child {
	border-bottom: 0;
}

.nuvu-pdp__stack-includes small {
	display: inline-block;
	margin-left: 0.35rem;
	color: #64748b;
	font-size: 0.8rem;
}

.nuvu-pdp__sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	width: 100%;
}

.nuvu-pdp__size {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4.5rem;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	border: 1.5px solid #c7d2e5;
	background: #fff;
	color: var(--nuvu-primary);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.nuvu-pdp__size:hover {
	border-color: var(--nuvu-primary);
	text-decoration: none;
}

.nuvu-pdp__size.is-active {
	background: var(--nuvu-primary);
	border-color: var(--nuvu-primary);
	color: #fff;
}

.nuvu-pdp__size.is-disabled,
.nuvu-pdp__size:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Quantity tiers */
.nuvu-pdp__tiers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.nuvu-pdp__tier {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
	padding: 1rem 1rem 0.95rem;
	border-radius: 14px;
	border: 1.5px solid #e2e8f0;
	background: #fff;
	text-align: left;
	font: inherit;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.nuvu-pdp__tier:hover {
	border-color: #94a3b8;
}

.nuvu-pdp__tier.is-selected {
	border-color: var(--nuvu-primary);
	background: #f4f7ff;
	box-shadow: 0 0 0 1px var(--nuvu-primary);
}

.nuvu-pdp__tier-tag {
	position: absolute;
	top: -0.55rem;
	left: 0.85rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: #e2e8f0;
	color: #475569;
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.nuvu-pdp__tier[data-qty="5"] .nuvu-pdp__tier-tag,
.nuvu-pdp__tier[data-qty="10"] .nuvu-pdp__tier-tag {
	background: var(--nuvu-primary);
	color: #fff;
}

.nuvu-pdp__tier-check {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	display: none;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--nuvu-primary);
}

.nuvu-pdp__tier.is-selected .nuvu-pdp__tier-check {
	display: flex;
}

.nuvu-pdp__tier-qty {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--nuvu-primary);
}

.nuvu-pdp__tier-price {
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--nuvu-primary);
}

.nuvu-pdp__tier-was {
	font-size: 0.78rem;
	color: #94a3b8;
	text-decoration: line-through;
}

.nuvu-pdp__tier-save {
	font-size: 0.75rem;
	font-weight: 500;
	color: #2563eb;
}

.nuvu-pdp__tier-label {
	margin-top: 0.25rem;
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	color: #94a3b8;
}

.nuvu-pdp__tier-desc {
	font-size: 0.72rem;
	color: #94a3b8;
}

/* Custom qty + total */
.nuvu-pdp__custom-qty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 1.25rem 0 1rem;
}

.nuvu-pdp__custom-label {
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--nuvu-primary);
}

.nuvu-pdp__stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--nuvu-border);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.nuvu-pdp__step {
	width: 36px;
	height: 36px;
	border: 0;
	background: #f8fafc;
	color: var(--nuvu-primary);
	font-size: 1.1rem;
	cursor: pointer;
}

.nuvu-pdp__qty-input {
	width: 3rem;
	height: 36px;
	border: 0;
	border-left: 1px solid var(--nuvu-border);
	border-right: 1px solid var(--nuvu-border);
	text-align: center;
	font-weight: 500;
	color: var(--nuvu-primary);
	-moz-appearance: textfield;
}

.nuvu-pdp__qty-input::-webkit-outer-spin-button,
.nuvu-pdp__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.nuvu-pdp__max {
	font-size: 0.82rem;
	color: #94a3b8;
}

.nuvu-pdp__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	width: 100%;
	padding: 1.15rem 1.35rem;
	margin-bottom: 1rem;
	border-radius: 14px;
	background: #f1f5f9;
	box-sizing: border-box;
}

.nuvu-pdp__total-label {
	margin: 0 0 0.2rem;
	font-size: 0.8rem;
	color: #64748b;
}

.nuvu-pdp__total-price {
	margin: 0;
	font-family: var(--nuvu-font-serif);
	font-size: 1.85rem;
	font-weight: 600;
	color: var(--nuvu-primary);
	line-height: 1;
}

.nuvu-pdp__total-save {
	display: none;
	margin: 0.45rem 0 0;
	font-family: var(--nuvu-font-sans);
	font-size: 0.88rem;
	font-weight: 600;
	color: #16a34a;
	line-height: 1.3;
}

.nuvu-pdp__total-save.is-visible {
	display: block;
}

.nuvu-pdp__total-save[hidden] {
	display: none !important;
}

.nuvu-pdp__total-ship {
	margin: 0;
	font-size: 0.82rem;
	color: #94a3b8;
	text-align: right;
	max-width: 9.5rem;
	flex: 0 0 auto;
	line-height: 1.35;
	white-space: normal;
}

/* Upsell */
.nuvu-pdp__upsell {
	padding: 1rem;
	margin-bottom: 1rem;
	border: 1px solid var(--nuvu-border);
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nuvu-pdp__upsell:hover,
.nuvu-pdp__upsell.is-active {
	border-color: #93c5fd;
	box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.nuvu-pdp__upsell:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.nuvu-pdp__upsell-top {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 0.75rem;
}

.nuvu-pdp__upsell-img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 8px;
	background: #f1f5f9;
}

.nuvu-pdp__upsell-copy {
	flex: 1;
	min-width: 0;
}

.nuvu-pdp__upsell-name {
	margin: 0;
	font-weight: 500;
	color: var(--nuvu-primary);
}

.nuvu-pdp__upsell-price {
	margin: 0.15rem 0 0;
	font-size: 0.88rem;
	color: #3b82f6;
}

.nuvu-pdp__upsell-add {
	padding: 0.45rem 0.85rem;
	border: 0;
	border-radius: 999px;
	background: #2563eb;
	color: #fff;
	font-weight: 500;
	font-size: 0.85rem;
	cursor: pointer;
	white-space: nowrap;
}

.nuvu-pdp__upsell-add.is-active {
	background: #059669;
}

.nuvu-pdp__upsell-note {
	padding: 0.75rem 0.85rem;
	margin-bottom: 0.75rem;
	border-radius: 10px;
	background: #fdf6e3;
	border: 1px solid #f0d9a0;
	font-size: 0.8rem;
	line-height: 1.5;
	color: #7c5a12;
	font-style: italic;
}

.nuvu-pdp__upsell-check {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-size: 0.88rem;
	color: var(--nuvu-primary);
	cursor: pointer;
}

.nuvu-pdp__upsell-check input {
	margin-top: 0.2rem;
}

/* ATC */
.nuvu-pdp__atc {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	padding: 1rem 1.25rem !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: var(--nuvu-primary) !important;
	color: #fff !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.nuvu-pdp__atc:hover {
	background: var(--nuvu-navy) !important;
}

.nuvu-pdp__atc.is-loading {
	opacity: 1;
	pointer-events: none;
}

.nuvu-pdp__atc.is-added {
	background: #16a34a !important;
	box-shadow: 0 8px 24px rgba(22, 163, 74, 0.28);
	transform: translateY(-1px);
	animation: nuvu-atc-flash 0.45s ease;
}

@keyframes nuvu-atc-flash {
	0% {
		transform: scale(0.98);
		filter: brightness(1.15);
	}
	60% {
		transform: scale(1.015);
	}
	100% {
		transform: scale(1);
		filter: brightness(1);
	}
}

/* Toast */
.nuvu-toast-host {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	pointer-events: none;
}

.nuvu-toast {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 240px;
	max-width: min(360px, calc(100vw - 2rem));
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--nuvu-border);
	box-shadow: 0 12px 32px rgba(1, 8, 61, 0.14);
	color: var(--nuvu-primary);
	font-size: 0.9rem;
	font-weight: 400;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.nuvu-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.nuvu-toast__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: #dcfce7;
	color: #15803d;
	font-size: 0.75rem;
	flex: 0 0 auto;
}

.nuvu-pdp__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 1.5rem;
	list-style: none;
	margin: 1rem 0 1.75rem;
	padding: 0;
	font-size: 0.82rem;
	color: #64748b;
}

.nuvu-pdp__trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.nuvu-pdp__trust svg {
	color: #64748b;
}

/* Product calculator */
.nuvu-pdp-calc {
	border: 1px solid var(--nuvu-border);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 0.5rem;
}

.nuvu-pdp-calc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1.1rem;
	background: #e8eef8;
}

.nuvu-pdp-calc__head-left {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--nuvu-primary);
	font-size: 0.95rem;
}

.nuvu-pdp-calc__tag {
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #94a3b8;
}

.nuvu-pdp-calc__body {
	padding: 1.15rem 1.1rem 1.25rem;
}

.nuvu-pdp-calc__field {
	margin-bottom: 1.1rem;
}

.nuvu-pdp-calc__label {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--nuvu-primary);
}

.nuvu-pdp-calc__dose-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.45rem;
}

.nuvu-pdp-calc__dose-head .nuvu-pdp-calc__label {
	margin: 0;
}

.nuvu-pdp-calc__input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.nuvu-pdp-calc__input {
	width: 100%;
	padding: 0.7rem 3rem 0.7rem 0.9rem;
	border: 1px solid var(--nuvu-border);
	border-radius: 10px;
	font: inherit;
	font-weight: 400;
	color: var(--nuvu-primary);
}

.nuvu-pdp-calc__suffix {
	position: absolute;
	right: 0.9rem;
	color: #94a3b8;
	font-size: 0.85rem;
	font-weight: 400;
}

.nuvu-pdp-calc__presets,
.nuvu-pdp-calc__units {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.55rem;
}

.nuvu-pdp-calc__preset,
.nuvu-pdp-calc__unit {
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	border: 1px solid #d5deeb;
	background: #fff;
	color: var(--nuvu-primary);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 400;
	cursor: pointer;
}

.nuvu-pdp-calc__preset.is-active,
.nuvu-pdp-calc__unit.is-active {
	background: var(--nuvu-primary);
	border-color: var(--nuvu-primary);
	color: #fff;
}

.nuvu-pdp-calc__syringes {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.nuvu-pdp-calc__syringe {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.7rem 0.85rem;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #fff;
	font: inherit;
	font-size: 0.9rem;
	color: var(--nuvu-primary);
	cursor: pointer;
	text-align: left;
}

.nuvu-pdp-calc__syringe.is-active {
	border-color: #93c5fd;
	background: #eff6ff;
}

.nuvu-pdp-calc__radio {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #94a3b8;
	flex: 0 0 auto;
}

.nuvu-pdp-calc__syringe.is-active .nuvu-pdp-calc__radio {
	border-color: #2563eb;
	box-shadow: inset 0 0 0 3px #2563eb;
}

.nuvu-pdp-calc__result {
	padding: 1.1rem 1.15rem;
	border-radius: 12px;
	background: var(--nuvu-primary);
	color: #fff;
}

.nuvu-pdp-calc__result-label {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	opacity: 0.85;
}

.nuvu-pdp-calc__result-units {
	margin: 0 0 0.85rem;
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1.2;
}

.nuvu-pdp-calc__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	font-size: 0.78rem;
	opacity: 0.9;
}

.nuvu-pdp-calc__disclaimer {
	margin: 0.85rem 0 0;
	font-size: 0.75rem;
	color: #94a3b8;
	font-style: italic;
}

/* Payments — centered under calculator in the buy column */
.nuvu-pdp__payments {
	text-align: center;
	padding: 1.25rem 0 0;
	margin-top: 0.75rem;
	border-top: 1px solid #f1f5f9;
}

.nuvu-pdp__payments-title {
	margin: 0 0 0.85rem;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #94a3b8;
}

.nuvu-pdp__payments-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.7rem;
}

.nuvu-pdp__pay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 1.85rem;
	min-width: 3.4rem;
	padding: 0 0.75rem;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
	color: #475569;
	box-sizing: border-box;
}

.nuvu-pdp__pay svg {
	display: block;
	overflow: visible;
}

.nuvu-pdp__pay--visa {
	padding: 0 0.65rem;
}

.nuvu-pdp__pay--mc {
	min-width: 3rem;
	padding: 0 0.45rem;
}

.nuvu-pdp__pay--amex {
	background: #007bc1;
	border-color: #007bc1;
	color: #fff;
	letter-spacing: 0.04em;
	font-size: 0.62rem;
	font-weight: 700;
}

.nuvu-pdp__pay--affirm {
	color: #0fa0ea;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: lowercase;
}

.nuvu-pdp__pay--afterpay {
	padding: 0 0.55rem;
}

.nuvu-pdp__pay--afterpay span {
	display: inline-block;
	background: #000;
	color: #fff;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: lowercase;
	line-height: 1.2;
}

.nuvu-pdp__pay--paypal {
	min-width: 3.6rem;
	padding: 0 0.55rem;
}

.nuvu-pdp__payments-note {
	margin: 0;
	font-size: 0.72rem;
	color: #94a3b8;
}

/* FBT */
.nuvu-pdp__fbt {
	padding: 0.6rem 0 1.4rem;
}

.nuvu-pdp__fbt-title {
	margin: 0 0 0.75rem;
	font-family: var(--nuvu-font-serif);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--nuvu-primary);
}

/* Recently viewed */
.nuvu-pdp__recent {
	padding: 0.8rem 0 1.6rem;
	margin: 0.2rem 0 0;
}

.nuvu-pdp__recent[hidden] {
	display: none !important;
}

.nuvu-pdp__recent-head {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
	color: var(--nuvu-primary);
}

.nuvu-pdp__recent-head svg {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	color: var(--nuvu-primary);
	opacity: 0.85;
}

.nuvu-pdp__recent-title {
	margin: 0;
	font-family: var(--nuvu-font-serif);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--nuvu-primary);
	line-height: 1.2;
}

.nuvu-pdp__recent-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-template-rows: auto;
	gap: 0.85rem;
	width: 100%;
	max-width: 100%;
}

.nuvu-pdp__recent-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	border: 1px solid #eef2f7;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nuvu-pdp__recent-card:hover {
	border-color: rgba(37, 99, 235, 0.35);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
	text-decoration: none;
}

.nuvu-pdp__recent-media {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	padding: 0;
	overflow: hidden;
	background: var(--nuvu-card-bg, #edf2ff);
}

.nuvu-pdp__recent-media img {
	display: block;
	width: 80%;
	height: 80%;
	object-fit: contain;
	object-position: center;
	transition: transform 0.3s ease;
}

.nuvu-pdp__recent-card:hover .nuvu-pdp__recent-media img {
	transform: scale(1.08);
}

.nuvu-pdp__recent-body {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	padding: 0.5rem 0.6rem 0.65rem;
	background: #fff;
}

.nuvu-pdp__recent-name {
	margin: 0;
	font-family: var(--nuvu-font-serif);
	font-size: 14px;
	font-weight: 600;
	color: var(--nuvu-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

.nuvu-pdp__recent-price {
	margin: 0;
	font-family: var(--nuvu-font-serif);
	font-size: 13px;
	font-weight: 600;
	color: #2563eb;
	line-height: 1.3;
}

.nuvu-pdp__fbt-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-template-rows: auto;
	gap: 0.85rem;
	width: 100%;
	max-width: 100%;
}

.nuvu-pdp__fbt-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	border: 1px solid #eef2f7;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nuvu-pdp__fbt-card:hover {
	border-color: rgba(37, 99, 235, 0.35);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
	text-decoration: none;
}

.nuvu-pdp__fbt-media {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	padding: 0;
	overflow: hidden;
	background: var(--nuvu-card-bg, #edf2ff);
}

.nuvu-pdp__fbt-media img {
	display: block;
	width: 80%;
	height: 80%;
	object-fit: contain;
	object-position: center;
	transition: transform 0.3s ease;
}

.nuvu-pdp__fbt-card:hover .nuvu-pdp__fbt-media img {
	transform: scale(1.08);
}

.nuvu-pdp__fbt-body {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	padding: 0.5rem 0.6rem 0.65rem;
	background: #fff;
}

.nuvu-pdp__fbt-name {
	margin: 0;
	font-family: var(--nuvu-font-serif);
	font-size: 14px;
	font-weight: 600;
	color: var(--nuvu-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

.nuvu-pdp__fbt-cat {
	margin: 0;
	font-size: 12px;
	color: #94a3b8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nuvu-pdp__fbt-price {
	margin: 0;
	font-family: var(--nuvu-font-serif);
	font-size: 13px;
	font-weight: 600;
	color: #2563eb;
	line-height: 1.3;
}

.nuvu-pdp__fbt-price .nuvu-price-from {
	color: #94a3b8;
}

/* Hide default WC chrome we replaced */
.nuvu-pdp .woocommerce-product-gallery,
.nuvu-pdp .summary.entry-summary,
.nuvu-pdp .woocommerce-tabs,
.nuvu-pdp .related.products {
	display: none !important;
}

@media (max-width: 980px) {
	.nuvu-pdp__grid {
		grid-template-columns: 1fr;
	}

	.nuvu-pdp__coa-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Keep FBT + recently viewed as one full-width row (never wrap). */
	.nuvu-pdp__fbt-grid,
	.nuvu-pdp__recent-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 0.85rem;
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	.nuvu-pdp__fbt-grid,
	.nuvu-pdp__recent-grid {
		display: flex;
		flex-wrap: nowrap;
		gap: 0.75rem;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		padding-bottom: 0.25rem;
	}

	.nuvu-pdp__fbt-card,
	.nuvu-pdp__recent-card {
		flex: 0 0 32%;
		min-width: 7.5rem;
	}
}

@media (max-width: 560px) {
	.nuvu-pdp__tiers {
		grid-template-columns: 1fr;
	}

	.nuvu-pdp__total {
		flex-direction: column;
		align-items: flex-start;
	}

	.nuvu-pdp__total-ship {
		text-align: left;
	}
}