/* NorthPharma cart drawer — matches Figma node 1:869 */
.np-cd {
	--np-line: rgba(187, 219, 230, 0.14);
	--np-cyan: #43d9ff;
	--np-text: #eef4f7;
	--np-hair: 0.769px;
	position: fixed;
	inset: 0;
	z-index: 999999;
	visibility: hidden;
	pointer-events: none;
	font-family: "Montserrat", sans-serif;
	-webkit-font-smoothing: antialiased;
}
.np-cd.is-open { visibility: visible; pointer-events: auto; }
.np-cd *, .np-cd *::before, .np-cd *::after { box-sizing: border-box; }
.np-cd p, .np-cd h2 { margin: 0; padding: 0; }

.np-cd-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.np-cd.is-open .np-cd-overlay { opacity: 1; }

.np-cd-panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 470px;
	max-width: 100vw;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-left: var(--np-hair) solid rgba(255, 255, 255, 0.17);
	background: radial-gradient(circle 971.51px at 100% 44.75px, #14252c 0%, #0d161a 22.5%, #050708 45%) #050708;
	box-shadow: -20px 0 30px #000;
	transform: translateX(105%);
	transition: transform 0.38s cubic-bezier(0.22, 0.8, 0.24, 1);
	outline: none;
}
.np-cd.is-open .np-cd-panel { transform: translateX(0); }

/* Header */
.np-cd-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 95px;
	padding: 24px 27px;
	border-bottom: var(--np-hair) solid var(--np-line);
	flex-shrink: 0;
}
.np-cd-heading { display: flex; flex-direction: column; gap: 7px; }
.np-cd-title-wrap { filter: drop-shadow(0 2px 6px #000) drop-shadow(0 0 28px rgba(67, 217, 255, 0.12)); }
.np-cd .np-cd-title {
	font-family: "Montserrat", sans-serif;
	font-weight: 900;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 2.88px;
	text-transform: uppercase;
	white-space: nowrap;
	color: transparent;
	background-image: linear-gradient(180deg, #fff 0%, #edf4f6 19%, #8d9da4 43%, #3f4d52 50%, #dfe8eb 55%, #fff 77%, #66777e 100%);
	-webkit-background-clip: text;
	background-clip: text;
}
.np-cd .np-cd-subtitle {
	font-size: 7px;
	line-height: 10.5px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--np-cyan);
	white-space: nowrap;
}

/* Square icon buttons */
.np-cd .np-cd-icon-btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	margin: 0;
	background: #080c0e;
	border: var(--np-hair) solid var(--np-line);
	border-radius: 0;
	cursor: pointer;
	flex-shrink: 0;
	box-shadow: none;
	transition: border-color 0.2s, background-color 0.2s;
}
.np-cd .np-cd-icon-btn:hover,
.np-cd .np-cd-icon-btn:focus-visible { background: #0d1418; border-color: rgba(67, 217, 255, 0.45); outline: none; }
.np-cd .np-cd-icon-btn svg { display: block; }

/* Body */
.np-cd-body { flex: 1 0 auto; padding: 25px; display: flex; flex-direction: column; }

/* Steps */
.np-cd-steps {
	display: flex;
	align-items: center;
	padding: 14px 0 18px;
	border-bottom: var(--np-hair) solid var(--np-line);
}
.np-cd-step { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.np-cd-step-num {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 9px;
	border: var(--np-hair) solid #36464c;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 7px;
	line-height: 10.5px;
	letter-spacing: 0.56px;
	color: #59686e;
}
.np-cd-step-label {
	font-weight: 700;
	font-size: 7px;
	line-height: 10.5px;
	letter-spacing: 0.56px;
	text-transform: uppercase;
	color: #59686e;
	white-space: nowrap;
}
.np-cd-step.is-active .np-cd-step-num {
	border-color: var(--np-cyan);
	background: rgba(67, 217, 255, 0.1);
	box-shadow: 0 0 10px rgba(67, 217, 255, 0.2);
	color: var(--np-cyan);
}
.np-cd-step.is-active .np-cd-step-label { color: var(--np-cyan); }
.np-cd-step-line { flex: 1 1 0; min-width: 1px; padding: 0 7px; }
.np-cd-step-line span { display: block; height: 1px; background: var(--np-line); }

/* Intro */
.np-cd .np-cd-intro {
	padding-top: 24px;
	font-size: 10px;
	line-height: 17px;
	color: #718087;
}

/* Items */
.np-cd-items { padding-top: 22px; }
.np-cd-item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 38px;
	column-gap: 15px;
	align-items: center;
	min-height: 85px;
	border-bottom: var(--np-hair) solid var(--np-line);
	transition: opacity 0.2s;
}
.np-cd-item.is-removing { opacity: 0.35; pointer-events: none; }
.np-cd-vial {
	display: grid;
	place-items: center;
	width: 36px;
	height: 48px;
	border: var(--np-hair) solid #607177;
	border-radius: 3px 3px 7px 7px;
	background: linear-gradient(90deg, #162328 0%, #5c7077 50%, #172328 100%);
}
.np-cd-vial span {
	font-weight: 900;
	font-size: 10px;
	line-height: 15px;
	color: #061014;
}
.np-cd-item-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.np-cd .np-cd-item-name {
	font-weight: 700;
	font-size: 11px;
	line-height: 16.5px;
	color: var(--np-text);
}
.np-cd .np-cd-item-meta {
	font-size: 8px;
	line-height: 12px;
	color: #69787e;
}

/* Summary */
.np-cd-summary {
	margin-top: 24px;
	padding: 17px;
	background: rgba(255, 255, 255, 0.02);
	border: var(--np-hair) solid var(--np-line);
}
.np-cd-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; gap: 12px; }
.np-cd-row-label {
	font-size: 8px;
	line-height: 12px;
	letter-spacing: 0.64px;
	text-transform: uppercase;
	color: #738289;
}
.np-cd-row-value {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 12px;
	line-height: 18px;
	color: var(--np-text);
	white-space: nowrap;
}
.np-cd .np-cd-note {
	margin-top: 11px;
	padding-top: 12px;
	border-top: var(--np-hair) solid var(--np-line);
	font-size: 8px;
	line-height: 12.8px;
	color: #596970;
}

/* CTA */
.np-cd .np-cd-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	height: 48px;
	min-height: 48px;
	margin-top: 25px;
	padding: 0 24px;
	border: var(--np-hair) solid rgba(226, 245, 250, 0.45);
	border-radius: 3px;
	background: linear-gradient(180deg, #30424a 0%, #0a1013 52%, #172328 100%);
	box-shadow: 0 8px 24px #000, 0 0 18px rgba(67, 217, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -1px 0 #000;
	font-weight: 800;
	font-size: 9px;
	line-height: 13.5px;
	letter-spacing: 1.35px;
	text-transform: uppercase;
	color: #f5fdff;
	text-decoration: none;
	white-space: nowrap;
	transition: box-shadow 0.25s, filter 0.25s;
}
.np-cd .np-cd-cta:hover,
.np-cd .np-cd-cta:focus-visible {
	color: #f5fdff;
	filter: brightness(1.12);
	box-shadow: 0 8px 24px #000, 0 0 24px rgba(67, 217, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -1px 0 #000;
	outline: none;
}
.np-cd .np-cd-cta svg { display: block; flex-shrink: 0; transition: transform 0.25s; }
.np-cd .np-cd-cta:hover svg { transform: translateX(3px); }

/* Trust line */
.np-cd-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding-top: 14px;
	min-height: 29px;
	font-size: 7px;
	line-height: 10.5px;
	letter-spacing: 0.56px;
	text-transform: uppercase;
	color: #607078;
}
.np-cd-trust svg { display: block; flex-shrink: 0; }

/* Hide competing side carts */
.elementor-menu-cart__container { display: none !important; }

html.np-cd-locked, html.np-cd-locked body { overflow: hidden; }

@media (max-width: 520px) {
	.np-cd-panel { width: 100vw; border-left: 0; }
	.np-cd-header { padding: 20px; min-height: 80px; }
	.np-cd-body { padding: 20px; }
	.np-cd .np-cd-cta { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.np-cd-panel, .np-cd-overlay { transition: none; }
}

.np-cd-body > .np-cd-intro:first-child { padding-top: 0; }

/* Homepage hero: blue accent word, same treatment as the 'Find your format.' heading */
body .elementor .np-h1 span {
	position: static;
	display: inline;
	isolation: auto;
	color: #43d9ff;
	background: linear-gradient(180deg, #d7f8ff, #47dafe 52%, #0a7691);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-stroke: 0;
	filter: none;
}

/* 'Find your format.' on one line: show only the bright top half of the silver gradient,
   matching the first line of 'Take control of / what comes next.' */
body .elementor .np-h2[data-id="31e005dd"] {
	background-size: 100% 200%;
	background-position: 0 0;
	background-repeat: no-repeat;
}
