/*
 * NutriPopFood — app.css
 *
 * Order: fonts · tokens · base · utilities · motion · components · sections ·
 * WooCommerce. No hard-coded colours or fonts outside :root.
 */

/* ==========================================================================
   1. Fonts — self-hosted, split by unicode-range. The rupee sign (U+20B9)
      lives in the latin-ext files.
   ========================================================================== */

@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url('../fonts/fraunces-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
		U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
		U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-weight: 300 800;
	font-display: swap;
	src: url('../fonts/fraunces-latin-italic.woff2') format('woff2');
}

@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url('../fonts/bricolage-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
		U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url('../fonts/bricolage-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
		U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Tiro Devanagari Hindi';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/tiro-devanagari.woff2') format('woff2');
	unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9,
		U+25CC, U+A830-A839, U+A8E0-A8FF;
}

/*
 * Size-adjusted fallbacks, so the swap from Georgia/Arial shifts as little as
 * possible. The adjustments are close approximations — re-measure them with
 * real font metrics if CLS ever creeps up.
 */
@font-face {
	font-family: 'Fraunces Fallback';
	src: local('Georgia'), local('Times New Roman');
	size-adjust: 103%;
	ascent-override: 92%;
	descent-override: 24%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Bricolage Fallback';
	src: local('Arial'), local('Helvetica Neue');
	size-adjust: 98%;
	ascent-override: 96%;
	descent-override: 24%;
	line-gap-override: 0%;
}

/* ==========================================================================
   2. Tokens (design spec §2). Nothing outside this block hard-codes a colour.
   ========================================================================== */

:root {
	/* Colour */
	--npf-red: #e43544;
	--npf-red-ink: #c8283a;
	--npf-red-deep: #a91f2f;
	--npf-blush: #fdedee;
	--npf-leaf: #6ebe43;
	--npf-leaf-ink: #3e7a22;
	--npf-leaf-tint: #eaf4e2;
	--npf-ink: #29251f;
	--npf-ink-2: #5e564c;
	--npf-ink-3: #746b60;
	--npf-line: #ece6dc;
	--npf-surface: #f7f4ef;
	--npf-white: #fff;

	/* Category tints */
	--npf-tint-makhana: var(--npf-blush);
	--npf-tint-dryfruits: #f6ecdf;
	--npf-tint-snacks: #fbf0d9;
	--npf-tint-thekua: #f5e6d6;
	--npf-tint-pickles: var(--npf-leaf-tint);
	--npf-tint-combos: #f3eee6;
	--npf-tint-gifting: var(--npf-red-ink);

	/* D2: label cream, Madhubani turmeric and the printed pack colours */
	--npf-cream: #fbf1dc;
	--npf-turmeric: #f2b33d;
	--npf-pack-makhana: #8e4f4b;
	--npf-pack-almond: #7a2e12;
	--npf-pack-cashew: #1e4f20;
	--npf-dark-muted: #cfc5b8;

	/* Fades the label village out towards the bottom (mask, not colour) */
	--npf-mask-fade: linear-gradient(to bottom, #000 45%, transparent 78%);

	/* Accents usable only on ink backgrounds */
	--npf-dark-pink: #f2b8be;
	--npf-dark-mint: #b7dd9e;

	/* Type */
	--npf-font-display: 'Fraunces', 'Fraunces Fallback', Georgia, 'Times New Roman', serif;
	--npf-font-body: 'Bricolage Grotesque', 'Bricolage Fallback', Arial, Helvetica, sans-serif;
	--npf-font-hindi: 'Tiro Devanagari Hindi', Georgia, serif;

	--npf-size-display: clamp(54px, 8.4vw, 132px);
	--npf-size-h2: clamp(40px, 5vw, 76px);
	--npf-size-h3: clamp(20px, 2.4vw, 40px);
	--npf-size-body-l: clamp(17px, 1.3vw, 19px);
	--npf-size-body: 16px;
	--npf-size-small: 14px;
	--npf-size-eyebrow: 13px;
	--npf-size-price: 22px;
	--npf-size-button: 16px;

	/* Space */
	--npf-s1: 4px;
	--npf-s2: 8px;
	--npf-s3: 12px;
	--npf-s4: 16px;
	--npf-s5: 24px;
	--npf-s6: 32px;
	--npf-s7: 48px;
	--npf-s8: 64px;
	--npf-s9: 96px;
	--npf-s10: 120px;

	--npf-section-gap: var(--npf-s10);
	--npf-container: 1360px;
	--npf-gutter: clamp(16px, 4vw, 56px);

	/* Shape */
	--npf-r-sm: 14px;
	--npf-r-inner: 22px;
	--npf-r-card: 30px;
	--npf-r-tile: 32px;
	--npf-r-panel: 40px;
	--npf-r-pill: 999px;

	/* Depth */
	--npf-shadow-lift: 0 30px 60px rgb(41 37 31 / 14%);
	--npf-shadow-pack: drop-shadow(0 22px 28px rgb(41 37 31 / 22%));
	--npf-shadow-glow: 0 14px 30px rgb(228 53 68 / 30%);
	--npf-shadow-panel: 0 24px 40px rgb(41 37 31 / 12%);
	--npf-shadow-pill: 0 2px 8px rgb(41 37 31 / 8%);

	/* Motion */
	--npf-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--npf-ease-pop: cubic-bezier(0.3, 1.4, 0.5, 1);

	/* Layering */
	--npf-z-header: 100;
	--npf-z-mega: 110;
	--npf-z-bar: 120;
	--npf-z-drawer: 200;
}

@media (max-width: 1023px) {
	:root {
		--npf-section-gap: 72px;
	}
}

@media (max-width: 767px) {
	:root {
		--npf-section-gap: 64px;
	}
}

/* ==========================================================================
   3. Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/*
	 * Sections that bleed past the gutters (the hero art, the
	 * Madhubani bands) must never create a horizontal scrollbar. `clip` rather than
	 * `hidden`, so the sticky header still sticks.
	 */
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--npf-white);
	color: var(--npf-ink);
	font-family: var(--npf-font-body);
	font-size: var(--npf-size-body);
	font-weight: 400;
	line-height: 1.6;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--npf-font-display);
	font-optical-sizing: auto;
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.02;
}

h1 {
	font-size: var(--npf-size-display);
	letter-spacing: -0.035em;
	line-height: 0.9;
}

h2 {
	font-size: var(--npf-size-h2);
	line-height: 0.98;
}

h3 {
	font-size: var(--npf-size-h3);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.12;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

:where(.npf-main) ul:not([class]),
:where(.npf-main) ol:not([class]) {
	padding-left: 1.2em;
}

/* The italic red emphasis in every section heading. */
.npf-em {
	color: var(--npf-red);
	font-style: italic;
	font-weight: 300;
}

/* Hindi lines, always with lang="hi" on the element. */
[lang='hi'] {
	font-family: var(--npf-font-hindi);
}

/* Focus: 2px ink outline with a 3px offset, white on dark surfaces. */
:focus-visible {
	outline: 2px solid var(--npf-ink);
	outline-offset: 3px;
}

.npf-on-dark :focus-visible,
.npf-footer :focus-visible {
	outline-color: var(--npf-white);
}

.npf-skip-link {
	position: absolute;
	left: var(--npf-s4);
	top: -80px;
	z-index: calc(var(--npf-z-drawer) + 10);
	padding: var(--npf-s3) var(--npf-s4);
	border-radius: var(--npf-r-sm);
	background: var(--npf-ink);
	color: var(--npf-white);
	font-weight: 700;
	text-decoration: none;
	transition: top 0.2s var(--npf-ease);
}

.npf-skip-link:focus {
	top: var(--npf-s4);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip-path: inset(50%);
	white-space: nowrap;
}

.screen-reader-text:focus {
	position: static !important;
	width: auto;
	height: auto;
	margin: 0;
	clip-path: none;
}

/* ==========================================================================
   4. Layout utilities
   ========================================================================== */

.npf-container {
	width: 100%;
	max-width: var(--npf-container);
	margin-inline: auto;
	padding-inline: var(--npf-gutter);
}

.npf-section {
	padding-top: var(--npf-section-gap);
}

.npf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--npf-s2);
	color: var(--npf-ink-2);
	font-family: var(--npf-font-body);
	font-size: var(--npf-size-eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.npf-eyebrow--red {
	color: var(--npf-red-ink);
}

.npf-eyebrow--leaf {
	color: var(--npf-leaf-ink);
}

.npf-eyebrow--mint {
	color: var(--npf-dark-mint);
}

.npf-lede {
	color: var(--npf-ink-2);
	font-size: var(--npf-size-body-l);
	line-height: 1.6;
}

.npf-meta {
	color: var(--npf-ink-3);
	font-size: var(--npf-size-small);
	font-weight: 500;
}

/* Art wrappers are decorative and always aria-hidden in the markup. */
.npf-art {
	pointer-events: none;
	user-select: none;
}

/* ==========================================================================
   5. Motion (spec §2). Only transform and opacity are animated.
   ========================================================================== */

@keyframes npf-rise {
	from {
		opacity: 0;
		transform: translateY(48px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes npf-pop {
	from {
		opacity: 0;
		transform: scale(0.6) rotate(var(--npf-rot, 0deg));
	}

	to {
		opacity: 1;
		transform: scale(1) rotate(var(--npf-rot, 0deg));
	}
}

@keyframes npf-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes npf-float {
	0%,
	100% {
		transform: translateY(0) rotate(var(--npf-rot, 0deg));
	}

	50% {
		transform: translateY(-16px) rotate(calc(var(--npf-rot, 0deg) + 5deg));
	}
}

@keyframes npf-sway {
	0%,
	100% {
		transform: rotate(var(--npf-rot, 0deg));
	}

	50% {
		transform: rotate(calc(var(--npf-rot, 0deg) + 6deg));
	}
}

@keyframes npf-bob {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-6px);
	}
}

@keyframes npf-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgb(228 53 68 / 45%);
	}

	60% {
		box-shadow: 0 0 0 14px rgb(228 53 68 / 0%);
	}
}

.npf-rise {
	animation: npf-rise 1s var(--npf-ease) both;
}

.npf-pop {
	animation: npf-pop 0.9s var(--npf-ease-pop) both;
}

.npf-spin {
	animation: npf-spin 70s linear infinite;
}

.npf-spin--badge {
	animation-duration: 18s;
}

.npf-spin--leaf {
	animation-duration: 120s;
}

.npf-float {
	animation: npf-float 6.5s ease-in-out infinite;
}

/* Leaves, lotus and tile motifs rock around their base. */
.npf-sway {
	animation: npf-sway 7s ease-in-out infinite;
	transform-origin: 50% 100%;
}

.npf-bob {
	animation: npf-bob 3.2s ease-in-out infinite;
}

.npf-spin--sun {
	animation-duration: 90s;
}

.npf-lift {
	transition: transform 0.5s var(--npf-ease), box-shadow 0.5s var(--npf-ease);
}

.npf-lift:hover {
	box-shadow: var(--npf-shadow-lift);
	transform: translateY(-8px);
}

.npf-zoom img {
	transition: transform 1.2s var(--npf-ease);
}

.npf-zoom:hover img {
	transform: scale(1.06);
}

/* Growing red underline on text links. */
.npf-uline {
	background: linear-gradient(var(--npf-red), var(--npf-red)) left bottom / 0 2px no-repeat;
	text-decoration: none;
	transition: background-size 0.35s var(--npf-ease);
}

.npf-uline:hover,
.npf-uline:focus-visible {
	background-size: 100% 2px;
}

/* Everything stops, with no exceptions. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-delay: 0ms !important;
		animation-duration: 0ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0ms !important;
	}
}

/* ==========================================================================
   6. Buttons (spec §3)
   ========================================================================== */

.npf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--npf-s3);
	min-height: 48px;
	padding: 0 var(--npf-s6);
	border: 0;
	border-radius: var(--npf-r-pill);
	background: none;
	color: inherit;
	cursor: pointer;
	font-family: var(--npf-font-body);
	font-size: var(--npf-size-button);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.25s var(--npf-ease), color 0.25s var(--npf-ease),
		border-color 0.25s var(--npf-ease), transform 0.25s var(--npf-ease);
}

/*
 * Primary: red pill, 56–60px tall, with a white circle holding a red arrow.
 * The 16px/700 label is a brand decision — never set it smaller, because
 * white on --npf-red is 4.3:1 and only passes AA at large bold sizes.
 */
.npf-btn--primary {
	min-height: 60px;
	padding: 0 10px 0 30px;
	background: var(--npf-red);
	box-shadow: var(--npf-shadow-glow);
	color: var(--npf-white);
	gap: var(--npf-s4);
}

.npf-btn--primary:hover {
	background: var(--npf-red-deep);
}

.npf-btn__arrow {
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--npf-white);
	color: var(--npf-red);
	transition: transform 0.35s var(--npf-ease);
}

.npf-btn--primary:hover .npf-btn__arrow {
	transform: translateX(3px);
}

.npf-btn--secondary {
	min-height: 56px;
	border: 1.5px solid var(--npf-ink);
	color: var(--npf-ink);
}

.npf-btn--secondary:hover {
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-btn--light {
	min-height: 56px;
	background: var(--npf-white);
	color: var(--npf-ink);
}

.npf-btn--light:hover {
	background: var(--npf-blush);
}

.npf-btn--dark {
	min-height: 56px;
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-btn--dark:hover {
	background: #000;
}

.npf-btn--link {
	min-height: 48px;
	padding: 0 var(--npf-s1);
	background: linear-gradient(var(--npf-red), var(--npf-red)) left bottom / 0 2px no-repeat;
	transition: background-size 0.35s var(--npf-ease);
}

.npf-btn--link:hover,
.npf-btn--link:focus-visible {
	background-size: 100% 2px;
}

.npf-btn[disabled],
.npf-btn[aria-disabled='true'] {
	cursor: not-allowed;
	opacity: 0.55;
}

/* A round icon-only control. Never smaller than 44px. */
.npf-iconbtn {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--npf-line);
	border-radius: 50%;
	background: var(--npf-white);
	color: var(--npf-ink);
	cursor: pointer;
	transition: background-color 0.25s var(--npf-ease), border-color 0.25s var(--npf-ease);
}

.npf-iconbtn:hover {
	border-color: var(--npf-ink);
	background: var(--npf-surface);
}

.npf-iconbtn--solid {
	border-color: transparent;
	background: var(--npf-red);
	color: var(--npf-white);
}

.npf-iconbtn--solid:hover {
	border-color: transparent;
	background: var(--npf-red-deep);
}

/* ==========================================================================
   7. Chips, tabs and badges
   ========================================================================== */

.npf-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--npf-s2);
	min-height: 44px;
	padding: 0 var(--npf-s4);
	border: 1px solid var(--npf-line);
	border-radius: var(--npf-r-pill);
	background: var(--npf-white);
	color: var(--npf-ink);
	font-size: var(--npf-size-small);
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.25s var(--npf-ease), background-color 0.25s var(--npf-ease);
}

.npf-chip:hover {
	border-color: var(--npf-ink);
}

.npf-chip[aria-current='page'],
.npf-chip.is-active {
	border-color: transparent;
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-chip--leaf {
	border-color: transparent;
	background: var(--npf-leaf-tint);
	color: var(--npf-leaf-ink);
	font-weight: 700;
}

.npf-chip__thumb {
	width: 32px;
	height: 32px;
	margin-left: -8px;
	border-radius: 50%;
	object-fit: cover;
}

/* Tab group: a surface capsule with 6px padding; the selected tab is white. */
.npf-tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--npf-s1);
	padding: 6px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-surface);
}

.npf-tab {
	min-height: 44px;
	padding: 0 var(--npf-s4);
	border: 0;
	border-radius: var(--npf-r-pill);
	background: none;
	color: var(--npf-ink);
	cursor: pointer;
	font-family: var(--npf-font-body);
	font-size: 15px;
	font-weight: 700;
	transition: background-color 0.25s var(--npf-ease), box-shadow 0.25s var(--npf-ease);
}

.npf-tab[aria-selected='true'] {
	background: var(--npf-white);
	box-shadow: var(--npf-shadow-pill);
}

.npf-badge {
	display: inline-flex;
	align-items: center;
	border-radius: var(--npf-r-pill);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 7px var(--npf-s3);
}

.npf-badge--ink {
	background: var(--npf-ink);
	color: var(--npf-white);
}

/* Small white text on red must use --npf-red-ink (5.5:1), never --npf-red. */
.npf-badge--red {
	background: var(--npf-red-ink);
	color: var(--npf-white);
}

.npf-badge--grey {
	background: var(--npf-line);
	color: var(--npf-ink-2);
}

.npf-badge--leaf {
	background: var(--npf-leaf-tint);
	color: var(--npf-leaf-ink);
}

/* ==========================================================================
   8. Announcement bar
   ========================================================================== */

/*
 * Rendered only when there is a real message; the server omits the markup
 * entirely otherwise. A blocking inline script in <head> sets the dismissed
 * class before first paint, so there is no flash and no layout shift.
 */
.npf-announcement {
	position: relative;
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-announcement-dismissed .npf-announcement {
	display: none;
}

.npf-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--npf-s4);
	min-height: 44px;
	padding: 11px calc(var(--npf-gutter) + 36px);
	text-align: center;
}

.npf-announcement__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--npf-s4);
	list-style: none;
	font-size: var(--npf-size-small);
	font-weight: 600;
}

.npf-announcement__list li {
	display: flex;
	align-items: center;
	gap: var(--npf-s4);
}

.npf-announcement__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--npf-leaf);
}

.npf-announcement__close {
	position: absolute;
	top: 50%;
	right: calc(var(--npf-gutter) - 10px);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--npf-white);
	cursor: pointer;
}

.npf-announcement__close:hover {
	background: rgb(255 255 255 / 12%);
}

/* ==========================================================================
   9. Header, pill navigation, mega menu
   ========================================================================== */

.npf-header {
	position: sticky;
	top: 0;
	z-index: var(--npf-z-header);
	border-bottom: 1px solid var(--npf-line);
	background: rgb(255 255 255 / 92%);
	backdrop-filter: blur(12px);
}

.npf-header__inner {
	display: flex;
	align-items: center;
	gap: var(--npf-s5);
	padding-block: 10px;
}

.npf-logo {
	flex: none;
	line-height: 0;
}

.npf-logo img {
	width: 104px;
	height: auto;
}

.npf-header__nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.npf-pillnav {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	padding: 6px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-surface);
	list-style: none;
	font-size: 15px;
	font-weight: 600;
}

.npf-pillnav__link {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 42px;
	padding: 0 var(--npf-s4);
	border: 0;
	border-radius: var(--npf-r-pill);
	background: none;
	color: var(--npf-ink);
	cursor: pointer;
	font: inherit;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.25s var(--npf-ease), box-shadow 0.25s var(--npf-ease);
}

.npf-pillnav__link:hover {
	background: rgb(255 255 255 / 70%);
}

.npf-pillnav__link[aria-current='page'] {
	background: var(--npf-white);
	box-shadow: var(--npf-shadow-pill);
}

/* "Shop all ▾" is a dark filled pill that opens the mega panel. */
.npf-pillnav__link--shopall {
	padding: 0 18px;
	background: var(--npf-ink);
	color: var(--npf-white);
	font-weight: 700;
}

.npf-pillnav__link--shopall:hover {
	background: #000;
}

.npf-pillnav__link--shopall svg {
	transition: transform 0.25s var(--npf-ease);
}

.npf-pillnav__link--shopall[aria-expanded='true'] svg {
	transform: rotate(180deg);
}

/* Pickles reads "Pickles · soon" in leaf-ink; gifting in red-ink. */
.npf-pillnav__link--soon {
	color: var(--npf-leaf-ink);
}

.npf-pillnav__link--gifting {
	color: var(--npf-red-ink);
}

.npf-pillnav__soon {
	font-size: 13px;
	font-weight: 700;
}

.npf-header__actions {
	display: flex;
	flex: none;
	align-items: center;
	gap: var(--npf-s1);
}

/*
 * 1024–1199px (small laptops, tablets in landscape): tighten the pills so
 * the navigation stays on one line instead of wrapping under itself.
 */
@media (min-width: 1024px) and (max-width: 1199px) {
	.npf-header__inner {
		gap: var(--npf-s3);
	}

	.npf-logo img {
		width: 88px;
	}

	.npf-pillnav {
		font-size: 14px;
	}

	.npf-pillnav__link {
		padding: 0 10px;
	}
}

/*
 * Same rule as the card button: the pill's label is small white text on red,
 * so it takes --npf-red-ink and a 16px/700 label.
 */
.npf-cart-pill {
	display: flex;
	align-items: center;
	gap: var(--npf-s2);
	height: 46px;
	padding: 0 18px 0 14px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-red-ink);
	color: var(--npf-white);
	font-size: var(--npf-size-button);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.25s var(--npf-ease);
}

.npf-cart-pill:hover {
	background: var(--npf-red-deep);
}

.npf-cart-pill.is-filled {
	animation: npf-pulse 2.4s ease-out infinite;
}

/* Mega menu: opens on click, closes on Esc and outside click. */
.npf-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: var(--npf-z-mega);
	padding: var(--npf-s7) 0 var(--npf-s8);
	border-bottom: 1px solid var(--npf-line);
	background: var(--npf-white);
	box-shadow: var(--npf-shadow-panel);
}

.npf-mega[hidden] {
	display: none;
}

.npf-mega__grid {
	display: grid;
	gap: var(--npf-s5) var(--npf-s6);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	align-items: start;
}

.npf-mega__col-title {
	margin-bottom: var(--npf-s3);
	font-family: var(--npf-font-display);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.1;
	text-wrap: balance;
}

.npf-mega__list {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s1);
	list-style: none;
}

.npf-mega__list a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--npf-ink-2);
	font-size: 15px;
	text-decoration: none;
}

.npf-mega__list a:hover {
	color: var(--npf-red);
}

/*
 * The promo spans two columns so its heading has room: in a single column
 * the title wrapped onto four lines and ran under the pack image.
 */
.npf-mega__promo {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 220px;
	grid-column: span 2;
	border-radius: var(--npf-r-tile);
	background: var(--npf-blush);
	color: var(--npf-ink);
	text-decoration: none;
}

.npf-mega__promo img {
	position: absolute;
	right: -4%;
	bottom: -14%;
	width: 42%;
	max-width: 180px;
	filter: var(--npf-shadow-pack);
}

.npf-mega__promo-text {
	position: relative;
	z-index: 1;
	display: block;
	max-width: 56%;
	padding: var(--npf-s5);
}

.npf-mega__promo-title {
	display: block;
	margin-top: var(--npf-s2);
	font-family: var(--npf-font-display);
	font-size: 26px;
	line-height: 1.08;
	text-wrap: balance;
}

@media (max-width: 767px) {
	.npf-mega__promo {
		grid-column: span 1;
	}
}

/* ==========================================================================
   10. Mobile header, search and drawer
   ========================================================================== */

.npf-header__mobile {
	display: none;
}

.npf-header__search {
	display: none;
	flex-basis: 100%;
	padding-bottom: var(--npf-s3);
}

/*
 * Revealed by the desktop search button, as its own full-width row under
 * the header line. The row wraps only while search is open, so the closed
 * header (logo · pills · icons) never reflows.
 */
.npf-header__search.is-open {
	display: block;
}

.npf-header__inner:has(.npf-header__search.is-open) {
	flex-wrap: wrap;
}

.npf-searchform {
	display: flex;
	gap: var(--npf-s2);
}

.npf-searchform input[type='search'] {
	flex: 1;
	min-height: 48px;
	padding: 0 var(--npf-s4);
	border: 1px solid var(--npf-line);
	border-radius: var(--npf-r-pill);
	background: var(--npf-white);
}

.npf-searchform input[type='search']:focus-visible {
	border-color: var(--npf-ink);
}

.npf-drawer {
	position: fixed;
	inset: 0;
	z-index: var(--npf-z-drawer);
	display: flex;
}

.npf-drawer[hidden] {
	display: none;
}

.npf-drawer__scrim {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgb(41 37 31 / 58%);
	cursor: pointer;
}

.npf-drawer__panel {
	position: relative;
	display: flex;
	width: min(88vw, 400px);
	flex-direction: column;
	gap: var(--npf-s5);
	overflow-y: auto;
	padding: var(--npf-s5) var(--npf-s5) var(--npf-s8);
	background: var(--npf-white);
}

.npf-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s4);
}

.npf-drawer__list {
	display: flex;
	flex-direction: column;
	list-style: none;
}

.npf-drawer__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	border-bottom: 1px solid var(--npf-line);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 1023px) {
	.npf-header__nav,
	.npf-header__actions .npf-iconbtn--desktop {
		display: none;
	}

	.npf-header__mobile {
		display: flex;
		flex: none;
		gap: var(--npf-s1);
	}

	.npf-header__search {
		display: block;
	}

	.npf-header__inner {
		flex-wrap: wrap;
	}

	.npf-logo {
		flex: 1;
		display: flex;
		justify-content: center;
	}

	.npf-logo img {
		width: 92px;
	}
}

/* ==========================================================================
   11. Product card (spec §3)
   ========================================================================== */

.npf-cards {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	list-style: none;
}

.npf-card {
	position: relative;
	display: flex;
	height: 100%;
	flex-direction: column;
	gap: var(--npf-s4);
	padding: var(--npf-s4);
	border-radius: var(--npf-r-card);
	background: var(--npf-card-bg, var(--npf-surface));
	color: var(--npf-card-fg, var(--npf-ink));
}

/* Stage: 330px tall with a soft white disc behind the product. */
.npf-card__stage {
	position: relative;
	display: flex;
	height: 330px;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	border-radius: var(--npf-r-inner);
}

.npf-card__disc {
	position: absolute;
	bottom: 30px;
	left: 50%;
	width: 240px;
	height: 240px;
	margin-left: -120px;
	border-radius: 50%;
	background: rgb(255 255 255 / 55%);
}

/* A transparent cut-out sits on the disc; a photo covers the stage instead. */
.npf-card__cutout {
	position: relative;
	height: 300px;
	width: auto;
	margin-bottom: 6px;
	filter: drop-shadow(0 20px 22px rgb(41 37 31 / 22%));
	object-fit: contain;
	transition: transform 0.7s var(--npf-ease);
}

.npf-card__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: var(--npf-r-inner);
	object-fit: cover;
	transition: transform 0.7s var(--npf-ease);
}

.npf-card:hover .npf-card__cutout {
	transform: translateY(-14px) rotate(-6deg) scale(1.05);
}

.npf-card:hover .npf-card__photo {
	transform: scale(1.05);
}

.npf-card__badge {
	position: absolute;
	top: var(--npf-s4);
	left: var(--npf-s4);
	z-index: 2;
}

.npf-card__wishlist {
	position: absolute;
	top: var(--npf-s2);
	right: var(--npf-s2);
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
}

.npf-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--npf-s2);
	padding: 0 10px var(--npf-s2);
}

.npf-card__metarow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2px var(--npf-s2);
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

/*
 * On the charcoal (thekua) and red (gifting) cards every piece of small text
 * has to switch to white, including the rating and the struck MRP — those set
 * their own colour, so they need naming explicitly.
 */
.npf-card--on-dark .npf-card__metarow,
.npf-card--on-dark .npf-card__soon,
.npf-card--on-dark .npf-price__mrp,
.npf-card--on-dark .npf-rating {
	/*
	 * Full white, not a tint: on the --npf-red-ink gifting card even 88%
	 * white drops to 4.18:1, while solid white is 5.5:1.
	 */
	color: var(--npf-white);
}

.npf-card--on-dark .npf-rating svg {
	color: var(--npf-dark-pink);
}

.npf-card__title {
	font-family: var(--npf-font-display);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.12;
}

.npf-card__title a {
	text-decoration: none;
}

.npf-card__title a:hover {
	color: var(--npf-red);
}

.npf-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s3);
	margin-top: auto;
	padding-top: 6px;
}

.npf-price {
	display: flex;
	align-items: baseline;
	gap: var(--npf-s2);
	font-weight: 700;
}

.npf-price__now {
	font-size: var(--npf-size-price);
	font-weight: 700;
}

.npf-price__mrp {
	/*
	 * --npf-ink-3 is only 4.47:1 on the warmer category tints, so the struck
	 * MRP uses --npf-ink-2 (7:1 or better on every tint in the palette).
	 */
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
	font-weight: 500;
	text-decoration: line-through;
}

/* Real WooCommerce ratings only, hidden under one review. */
.npf-rating {
	display: inline-flex;
	align-items: center;
	gap: var(--npf-s1);
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
	font-weight: 600;
	white-space: nowrap;
}

.npf-rating svg {
	color: var(--npf-red);
}

/*
 * The card's label is small, so per the spec's accessibility note this red
 * surface uses --npf-red-ink (5.5:1) rather than --npf-red (4.29:1), and the
 * label is 16px/700 — never smaller.
 */
.npf-card__add {
	min-height: 48px;
	padding: 0 18px;
	/* Never break "Choose size" inside the pill: the foot wraps instead. */
	white-space: nowrap;
	background: var(--npf-red-ink);
	color: var(--npf-white);
	font-size: var(--npf-size-button);
}

.npf-card__add:hover {
	background: var(--npf-red-deep);
}

.npf-card__add.is-added {
	background: var(--npf-leaf-ink);
}

.npf-card__add--choose {
	background: var(--npf-ink);
}

/*
 * On the charcoal and red cards the red button would sit on an almost
 * identical background, so every card button inverts to white there — the
 * same move the gifting bento tile makes with its arrow.
 */
.npf-card--on-dark .npf-card__add,
.npf-card--on-dark .npf-card__add--choose {
	background: var(--npf-white);
	color: var(--npf-ink);
}

.npf-card--on-dark .npf-card__add:hover,
.npf-card--on-dark .npf-card__add--choose:hover {
	background: var(--npf-blush);
	color: var(--npf-ink);
}

.npf-card__add--choose:hover {
	background: #000;
}

.npf-card__soon {
	color: var(--npf-leaf-ink);
	font-size: var(--npf-size-small);
	font-weight: 700;
}

@media (max-width: 767px) {
	.npf-cards {
		gap: var(--npf-s3);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.npf-card__stage {
		height: 210px;
	}

	.npf-card__cutout {
		height: 190px;
	}

	.npf-card__disc {
		width: 150px;
		height: 150px;
		margin-left: -75px;
		bottom: 18px;
	}

	.npf-card__title {
		font-size: 20px;
	}

	.npf-price__now {
		font-size: 18px;
	}

	.npf-card__foot {
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.npf-footer {
	margin-top: var(--npf-section-gap);
	background: var(--npf-ink);
	color: var(--npf-white);
}

/* D2: a Madhubani border band along the top edge, then the content. */
.npf-footer > .npf-container {
	padding-top: 88px;
}

@media (max-width: 767px) {
	.npf-footer > .npf-container {
		padding-top: var(--npf-s8);
	}
}

.npf-footer a {
	color: rgb(255 255 255 / 82%);
	text-decoration: none;
}

.npf-footer a:hover {
	color: var(--npf-white);
}

.npf-footer__top {
	display: grid;
	gap: var(--npf-s7);
	grid-template-columns: minmax(220px, 300px) 1fr;
}

.npf-footer__brand {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s5);
	align-items: flex-start;
}

/* On dark, the logo sits on a white rounded plate. */
.npf-footer__plate {
	display: inline-block;
	padding: 16px;
	border-radius: 22px;
	background: var(--npf-white);
	line-height: 0;
}

.npf-footer__plate img {
	width: 124px;
	height: auto;
}

.npf-socials {
	display: flex;
	gap: var(--npf-s2);
	list-style: none;
}

.npf-socials a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgb(255 255 255 / 30%);
	border-radius: 50%;
}

.npf-socials a:hover {
	border-color: var(--npf-white);
	background: rgb(255 255 255 / 10%);
}

.npf-footer__cols {
	display: grid;
	gap: var(--npf-s6);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}

.npf-footer__col-title {
	margin-bottom: var(--npf-s3);
	color: var(--npf-white);
	font-family: var(--npf-font-body);
	font-size: var(--npf-size-eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.npf-footer__col ul {
	display: flex;
	flex-direction: column;
	list-style: none;
}

.npf-footer__col a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 15px;
}

.npf-footer__address {
	margin-top: var(--npf-s6);
	color: rgb(255 255 255 / 76%);
	font-size: var(--npf-size-small);
	font-style: normal;
	line-height: 1.7;
}

/*
 * The giant wordmark. aria-hidden, and it must never overflow — the clamp
 * and the nowrap/clip combination keep it inside the container at 320px.
 */
.npf-footer__wordmark {
	margin-top: var(--npf-s9);
	overflow: clip;
	color: #3a342c;
	font-family: var(--npf-font-display);
	font-size: clamp(44px, 8.2vw, 118px);
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
}

.npf-footer__wordmark [data-text]::before {
	content: attr(data-text);
}

/* Phones: two lines at the 44px minimum instead of clipping mid-word. */
@media (max-width: 767px) {
	.npf-footer__wordmark {
		white-space: normal;
	}

	.npf-footer__wordmark em {
		display: block;
	}
}

.npf-footer__wordmark em {
	color: var(--npf-red);
	font-style: italic;
}

.npf-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s4);
	margin-top: var(--npf-s7);
	padding: var(--npf-s5) 0;
	border-top: 1px solid rgb(255 255 255 / 14%);
	color: rgb(255 255 255 / 70%);
	font-size: var(--npf-size-small);
}

@media (max-width: 1023px) {
	.npf-footer__top {
		grid-template-columns: 1fr;
	}
}

/* Desktop: the columns' <details> are always open and look like plain lists. */
.npf-footer__col summary {
	list-style: none;
}

.npf-footer__col summary::-webkit-details-marker {
	display: none;
}

@media (min-width: 768px) {
	.npf-footer__col summary {
		pointer-events: none;
	}

	.npf-footer__col summary .npf-icon {
		display: none;
	}
}

/* On mobile the footer columns become accordions. */
@media (max-width: 767px) {
	.npf-footer__col {
		border-bottom: 1px solid rgb(255 255 255 / 14%);
	}

	.npf-footer__col summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 56px;
		cursor: pointer;
		list-style: none;
	}

	.npf-footer__col summary::-webkit-details-marker {
		display: none;
	}

	.npf-footer__col summary .npf-icon {
		transition: transform 0.25s var(--npf-ease);
	}

	.npf-footer__col[open] summary .npf-icon {
		transform: rotate(180deg);
	}

	.npf-footer__col .npf-footer__col-title {
		margin-bottom: 0;
	}

	.npf-footer {
		/* Leave room for the fixed quick bar. */
		padding-bottom: 72px;
	}
}

/* ==========================================================================
   13. Mobile quick bar
   ========================================================================== */

.npf-quickbar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: var(--npf-z-bar);
	display: none;
	border-top: 1px solid var(--npf-line);
	background: rgb(255 255 255 / 96%);
	backdrop-filter: blur(12px);
	padding-bottom: env(safe-area-inset-bottom);
}

.npf-quickbar__list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	list-style: none;
}

.npf-quickbar__list a {
	display: flex;
	min-height: 60px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: var(--npf-ink-2);
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
}

/* 11px label: small red text takes --npf-red-ink (spec §2). */
.npf-quickbar__list a[aria-current='page'] {
	color: var(--npf-red-ink);
}

.npf-quickbar__count {
	position: absolute;
	margin: -18px 0 0 16px;
	min-width: 18px;
	padding: 0 4px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-red-ink);
	color: var(--npf-white);
	font-size: 10px;
	line-height: 18px;
	text-align: center;
}

@media (max-width: 767px) {
	.npf-quickbar {
		display: block;
	}
}

/* ==========================================================================
   14. Forms, notices and WooCommerce basics
   ========================================================================== */

input[type='text'],
input[type='email'],
input[type='search'],
input[type='tel'],
input[type='number'],
input[type='password'],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: var(--npf-s3) var(--npf-s4);
	border: 1px solid var(--npf-line);
	border-radius: var(--npf-r-sm);
	background: var(--npf-white);
}

textarea {
	min-height: 120px;
}

/* Native radios and checkboxes (classic checkout, forms) in brand ink. */
input[type='radio'],
input[type='checkbox'] {
	accent-color: var(--npf-ink);
}

label {
	display: inline-block;
	margin-bottom: 6px;
	font-size: var(--npf-size-small);
	font-weight: 600;
}

.npf-field__error {
	display: block;
	margin-top: 6px;
	color: var(--npf-red-ink);
	font-size: var(--npf-size-small);
	font-weight: 600;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--npf-s4);
	margin: 0 0 var(--npf-s5);
	padding: var(--npf-s4) var(--npf-s5);
	border-radius: var(--npf-r-inner);
	background: var(--npf-surface);
	font-size: 15px;
	list-style: none;
}

.woocommerce-message {
	background: var(--npf-leaf-tint);
	color: var(--npf-leaf-ink);
}

.woocommerce-error {
	background: var(--npf-blush);
	color: var(--npf-red-ink);
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-left: auto;
}

/*
 * WooCommerce ships its own olive accent (#958e09 by default) for the sale
 * flash and prices, which fails AA both ways. Re-point its own custom
 * properties at the brand tokens so anything else WooCommerce paints with
 * them is corrected too.
 */
.woocommerce,
.woocommerce-page {
	--wc-green: var(--npf-leaf-ink);
	--wc-red: var(--npf-red-ink);
	--wc-primary: var(--npf-red-ink);
	--wc-primary-text: var(--npf-white);
	--wc-secondary: var(--npf-surface);
	--wc-secondary-text: var(--npf-ink);
	--wc-highlight: var(--npf-red-ink);
	--wc-highlight-text: var(--npf-white);
	--wc-content-bg: var(--npf-white);
	--wc-subtext: var(--npf-ink-2);
}

/* The sale flash becomes a real badge. Small white text, so red-ink. */
.woocommerce span.onsale {
	position: absolute;
	z-index: 2;
	top: var(--npf-s4);
	left: var(--npf-s4);
	right: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 7px var(--npf-s3);
	border-radius: var(--npf-r-pill);
	background: var(--npf-red-ink);
	color: var(--npf-white);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
}

/* Prices: ink for the live price, ink-2 for the struck MRP. */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
	color: var(--npf-ink);
	font-family: var(--npf-font-body);
	font-weight: 700;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.woocommerce ul.products li.product .price del {
	color: var(--npf-ink-2);
	font-weight: 500;
	opacity: 1;
}

.woocommerce div.product p.price ins,
.woocommerce ul.products li.product .price ins {
	background: none;
	color: var(--npf-ink);
	text-decoration: none;
}

/*
 * WooCommerce's generic .button renders at sizes down to 12px (cross-sells,
 * notices, cart actions), so it takes --npf-red-ink at 5.5:1 rather than
 * --npf-red. Only the large hero CTA keeps --npf-red.
 */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 var(--npf-s6);
	border: 0;
	border-radius: var(--npf-r-pill);
	background: var(--npf-red-ink);
	color: var(--npf-white);
	font-family: var(--npf-font-body);
	font-size: var(--npf-size-button);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.25s var(--npf-ease);
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
	background: var(--npf-red-deep);
	color: var(--npf-white);
}

/*
 * WooCommerce's own loop container, restyled to the card grid. The card
 * markup itself comes from template-parts/product-card.php through the
 * content-product.php override.
 */
.woocommerce ul.products {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	margin: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}

.woocommerce ul.products li.product {
	width: auto;
	margin: 0;
	float: none;
	clear: none;
}

.woocommerce ul.products li.product .npf-card {
	height: 100%;
}

@media (max-width: 767px) {
	.woocommerce ul.products {
		gap: var(--npf-s3);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/*
 * Block buttons (cart and checkout blocks, block content) render at sizes
 * down to 12px, so they use --npf-red-ink. theme.json sets the same value;
 * this backs it up where block stylesheets would otherwise win.
 */
.wp-block-button__link {
	background-color: var(--npf-red-ink);
	color: var(--npf-white);
}

.wp-block-button__link:hover {
	background-color: var(--npf-red-deep);
	color: var(--npf-white);
}

.npf-main {
	display: block;
	min-height: 40vh;
}

.npf-main--shop {
	max-width: var(--npf-container);
	margin-inline: auto;
	padding: var(--npf-s7) var(--npf-gutter) 0;
}

/*
 * Interim listing styling. Phase 3 replaces this with the category banner,
 * filters sidebar and toolbar from spec §5; until then this keeps the stock
 * WooCommerce archive readable rather than overlapping.
 */
.woocommerce-products-header {
	margin-bottom: var(--npf-s5);
}

.woocommerce-products-header__title,
.npf-main--shop .page-title {
	font-size: var(--npf-size-h2);
	line-height: 1;
}

.woocommerce .woocommerce-result-count {
	margin: 0 0 var(--npf-s4);
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

.woocommerce .woocommerce-ordering {
	margin: 0 0 var(--npf-s5);
}

.woocommerce .woocommerce-ordering select {
	min-height: 48px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-surface);
	border-color: transparent;
}

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--npf-s2);
	margin: var(--npf-s7) 0 0;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
	overflow: visible;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 48px;
	min-height: 48px;
	padding: 0 var(--npf-s3);
	border: 1px solid var(--npf-line);
	border-radius: var(--npf-r-pill);
	font-weight: 600;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	border-color: transparent;
	background: var(--npf-ink);
	color: var(--npf-white);
}

.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 var(--npf-s5);
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

/* ==========================================================================
   15. Styleguide page (internal review only, noindex)
   ========================================================================== */

.npf-sg {
	max-width: var(--npf-container);
	margin-inline: auto;
	padding: var(--npf-s7) var(--npf-gutter) var(--npf-s9);
}

.npf-sg__section {
	padding-top: var(--npf-s8);
}

.npf-sg__h {
	margin-bottom: var(--npf-s5);
	padding-bottom: var(--npf-s3);
	border-bottom: 1px solid var(--npf-line);
	font-family: var(--npf-font-body);
	font-size: var(--npf-size-eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.npf-sg__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--npf-s4);
}

.npf-sg__swatches {
	display: grid;
	gap: var(--npf-s3);
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	list-style: none;
}

.npf-sg__swatch {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: var(--npf-s3);
	border: 1px solid var(--npf-line);
	border-radius: var(--npf-r-sm);
	font-size: 12px;
}

.npf-sg__chip {
	height: 56px;
	margin-bottom: var(--npf-s2);
	border-radius: 10px;
}

.npf-sg__code {
	color: var(--npf-ink-3);
	font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ==========================================================================
   16. Pages: prose, journal list, pagination
   ========================================================================== */

.npf-page-head {
	display: flex;
	max-width: 760px;
	flex-direction: column;
	gap: var(--npf-s4);
	margin-bottom: var(--npf-s7);
}

.npf-prose {
	max-width: 760px;
}

.npf-prose > * + * {
	margin-top: var(--npf-s5);
}

.npf-prose__head {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s3);
}

.npf-prose h2,
.npf-prose h3 {
	margin-top: var(--npf-s7);
}

.npf-prose p,
.npf-prose li {
	font-size: var(--npf-size-body-l);
	line-height: 1.7;
}

.npf-prose a:not([class]) {
	text-decoration: underline;
	text-decoration-color: var(--npf-red);
}

.npf-prose__figure {
	margin: var(--npf-s6) 0;
}

.npf-prose__figure img {
	width: 100%;
	border-radius: var(--npf-r-tile);
}

.npf-prose blockquote {
	margin: var(--npf-s6) 0;
	padding-left: var(--npf-s5);
	border-left: 2px solid var(--npf-red);
	font-family: var(--npf-font-display);
	font-size: 24px;
}

.npf-postlist {
	display: grid;
	gap: var(--npf-s6);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	list-style: none;
}

.npf-postcard__link {
	display: flex;
	height: 100%;
	flex-direction: column;
	gap: var(--npf-s4);
	text-decoration: none;
}

.npf-postcard__media {
	display: block;
	overflow: hidden;
	border-radius: 28px;
	background: var(--npf-surface);
}

.npf-postcard__media img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
}

.npf-postcard__body {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s2);
}

.npf-postcard__title {
	font-family: var(--npf-font-display);
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.npf-postcard__link:hover .npf-postcard__title {
	color: var(--npf-red);
}

@media (max-width: 767px) {
	.npf-postlist {
		grid-template-columns: 1fr;
		gap: var(--npf-s5);
	}

	.npf-postcard__link {
		flex-direction: row;
		align-items: center;
		gap: var(--npf-s4);
	}

	.npf-postcard__media {
		flex: none;
		width: 104px;
		border-radius: var(--npf-r-inner);
	}

	.npf-postcard__title {
		font-size: 20px;
	}
}

/* Numbered pagination — real crawlable links. */
.npf-main .nav-links,
.npf-pagelinks {
	display: flex;
	flex-wrap: wrap;
	gap: var(--npf-s2);
	align-items: center;
	margin-top: var(--npf-s7);
}

.npf-main .nav-links .page-numbers,
.npf-pagelinks > * {
	display: grid;
	place-items: center;
	min-width: 48px;
	min-height: 48px;
	padding: 0 var(--npf-s3);
	border: 1px solid var(--npf-line);
	border-radius: var(--npf-r-pill);
	font-weight: 600;
	text-decoration: none;
}

.npf-main .nav-links .page-numbers.current {
	border-color: transparent;
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-main .nav-links a.page-numbers:hover {
	border-color: var(--npf-ink);
}

.npf-404 {
	display: flex;
	max-width: 620px;
	flex-direction: column;
	gap: var(--npf-s5);
	align-items: flex-start;
}

.npf-comments {
	max-width: 760px;
}

.npf-comments__title {
	margin-bottom: var(--npf-s5);
}

.npf-comments__list {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s5);
	list-style: none;
}

.npf-comments__list .children {
	margin-top: var(--npf-s5);
	padding-left: var(--npf-s5);
	border-left: 1px solid var(--npf-line);
	list-style: none;
}

/* Filter widgets in the shop sidebar and the mobile sheet. */
.npf-filter-widget {
	padding-bottom: var(--npf-s5);
	border-bottom: 1px solid var(--npf-line);
	margin-bottom: var(--npf-s5);
}

.npf-filter-widget__title {
	margin-bottom: var(--npf-s3);
	font-family: var(--npf-font-body);
	font-size: var(--npf-size-eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* ==========================================================================
   17. Homepage sections (spec §4)
   ========================================================================== */

/*
 * One section gap between homepage sections. .npf-section already carries it
 * as padding-top, so only the full-bleed sections without that padding (the
 * dark Bihar band) take it as a margin — never both.
 */
.npf-home > * + :where(:not(.npf-section)) {
	margin-top: var(--npf-section-gap);
}

.npf-section__head {
	display: grid;
	gap: var(--npf-s5);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	align-items: end;
	margin-bottom: var(--npf-s7);
}

/* As in the reference: the italic red part drops to its own line. */
.npf-h2--stack em {
	display: block;
}

.npf-section__head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--npf-s5);
}

.npf-section__lede {
	max-width: 440px;
	justify-self: end;
}

.npf-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--npf-leaf);
}

/* --- 1. Hero ------------------------------------------------------------ */

.npf-hero__inner {
	display: grid;
	gap: var(--npf-s5);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
	align-items: center;
	min-height: 760px;
	padding-top: var(--npf-s7);
	padding-bottom: var(--npf-s7);
}

.npf-hero__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 28px;
	align-items: flex-start;
}

.npf-hero__chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 16px 8px 8px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-leaf-tint);
	color: var(--npf-leaf-ink);
	font-size: var(--npf-size-small);
	font-weight: 700;
}

.npf-hero__chip-leaf {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--npf-white);
	color: var(--npf-leaf-ink);
}

.npf-hero__title {
	margin: 0;
}

.npf-hero__line {
	display: block;
}

.npf-hero__lede {
	max-width: 470px;
	margin: 0;
}

.npf-hero__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--npf-s3);
}

.npf-hero__hindi {
	margin: var(--npf-s2) 0 0;
	color: var(--npf-ink-3);
	font-size: 22px;
}

.npf-hero__gloss {
	font-family: var(--npf-font-display);
	font-size: 17px;
	font-style: italic;
}

.npf-hero__art {
	position: relative;
	height: 680px;
}

.npf-hero__art > * {
	position: absolute;
}

.npf-hero__art img {
	height: auto;
}

.npf-hero__sun {
	right: -3%;
	top: 0;
	width: 190px;
}

/* Cream disc with the label's village drawing, faded out towards the bottom. */
.npf-hero__disc {
	inset: 30px 10px 30px 40px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--npf-cream);
}

.npf-hero__village {
	position: absolute;
	left: -20%;
	top: 4%;
	width: 140%;
	max-width: none;
	opacity: 0.55;
	-webkit-mask-image: var(--npf-mask-fade);
	mask-image: var(--npf-mask-fade);
}


.npf-hero__pack {
	right: 22%;
	top: 3%;
	display: block;
	width: 128px;
}

.npf-hero__pack img {
	width: 100%;
	filter: drop-shadow(0 20px 24px rgb(41 37 31 / 22%));
}

.npf-hero__maa,
.npf-hero__pihu {
	bottom: 7%;
	filter: drop-shadow(0 18px 22px rgb(41 37 31 / 12%));
}

.npf-hero__maa {
	left: 3%;
	width: 372px;
}

.npf-hero__pihu {
	right: 5%;
	width: 236px;
}

.npf-hero__bowl {
	left: 41%;
	bottom: 3%;
	width: 250px;
	filter: drop-shadow(0 16px 18px rgb(41 37 31 / 18%));
}

.npf-hero__bubble-wrap {
	right: 2%;
	top: 31%;
	display: block;
}

.npf-hero__bubble {
	position: relative;
	display: block;
	padding: 12px 18px;
	border-radius: var(--npf-r-inner);
	background: var(--npf-white);
	box-shadow: var(--npf-shadow-panel);
	text-align: center;
}

/* The tail points down-left, towards Pihu. */
.npf-hero__bubble::after {
	position: absolute;
	left: 30px;
	bottom: -9px;
	width: 18px;
	height: 18px;
	border-radius: 3px;
	background: var(--npf-white);
	content: '';
	transform: rotate(45deg);
}

.npf-hero__bubble-hi {
	display: block;
	color: var(--npf-ink);
	font-family: var(--npf-font-hindi);
	font-size: 22px;
	line-height: 1.1;
}

.npf-hero__bubble-en {
	display: block;
	color: var(--npf-ink-3);
	font-family: var(--npf-font-display);
	font-size: 14px;
	font-style: italic;
}

.npf-hero__bit {
	height: auto;
}

.npf-hero__badge {
	left: 4%;
	top: 2%;
	display: grid;
	place-items: center;
	width: 138px;
	height: 138px;
	border-radius: 50%;
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-hero__badge svg:first-child {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.npf-hero__heart {
	color: var(--npf-red);
}

@media (max-width: 1199px) and (min-width: 1024px) {
	.npf-hero__maa {
		width: 300px;
	}

	.npf-hero__pihu {
		width: 196px;
	}

	.npf-hero__bowl {
		width: 210px;
	}
}

@media (max-width: 1023px) {
	.npf-hero__inner {
		min-height: 0;
	}

	.npf-hero__art {
		width: 100%;
		max-width: 520px;
		height: 380px;
		margin-inline: auto;
	}

	.npf-hero__disc {
		inset: 14px 6px 14px 14px;
	}

	.npf-hero__sun {
		right: -2%;
		width: 100px;
	}


	.npf-hero__maa {
		left: 2%;
		width: 210px;
	}

	.npf-hero__pihu {
		right: 3%;
		width: 140px;
	}

	.npf-hero__bowl {
		left: 38%;
		width: 150px;
	}

	.npf-hero__bubble-wrap {
		top: 26%;
	}

	.npf-hero__bubble {
		padding: 8px 12px;
	}

	.npf-hero__bubble-hi {
		font-size: 16px;
	}

	.npf-hero__bubble-en {
		font-size: 12px;
	}

	.npf-hero__bubble::after {
		left: 20px;
		bottom: -6px;
		width: 12px;
		height: 12px;
	}

	/* No pouch and only two bits on phones and tablets. */
	.npf-hero__pack,
	.npf-hero__bit--2,
	.npf-hero__bit--3,
	.npf-hero__bit--4 {
		display: none;
	}

	.npf-hero__bit {
		max-width: 40px;
	}

	.npf-hero__badge {
		width: 96px;
		height: 96px;
	}

	.npf-hero__badge svg:first-child {
		display: none;
	}
}

/* --- 2. Madhubani border divider (D2, replaces the red marquee) -------- */

/* A tileable 80x34 triangle border. Also used inside sections below. */
.npf-band {
	display: block;
	height: 34px;
	background: url('../img/madhubani/border.svg') repeat-x left center / auto 100%;
}

.npf-band--flip {
	transform: scaleY(-1);
}

.npf-divider {
	margin-top: var(--npf-s2);
}

@media (max-width: 767px) {
	.npf-band {
		height: 26px;
	}
}

/* --- 3. Categories bento ------------------------------------------------ */

.npf-bento__grid {
	display: grid;
	gap: 18px;
	grid-auto-rows: 300px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
}

.npf-bento__cell.is-2x2 {
	grid-column: span 2;
	grid-row: span 2;
}

.npf-bento__cell.is-2x1 {
	grid-column: span 2;
}

.npf-bento__tile {
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: var(--npf-r-tile);
	background: var(--npf-tile-bg);
	color: var(--npf-tile-fg);
	text-decoration: none;
	transition: transform 0.5s var(--npf-ease), box-shadow 0.5s var(--npf-ease);
}

.npf-bento__tile:hover {
	box-shadow: var(--npf-shadow-lift);
	transform: translateY(-8px);
}

.npf-bento__text {
	position: absolute;
	left: 28px;
	top: 26px;
	right: 28px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.npf-bento__note {
	font-size: var(--npf-size-eyebrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	opacity: 0.8;
	text-transform: uppercase;
}

/*
 * On the charcoal and red tiles the 80% opacity drops the note to 3.99:1,
 * so there it stays fully opaque.
 */
.npf-bento__tile.npf-on-dark .npf-bento__note {
	opacity: 1;
}

.npf-bento__title {
	font-family: var(--npf-font-display);
	font-size: 32px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.02;
}

.is-2x2 .npf-bento__title {
	font-size: clamp(34px, 3.6vw, 56px);
}

.npf-bento__img {
	position: absolute;
	right: -10%;
	bottom: -14%;
	width: var(--npf-tile-img, 64%);
	height: auto;
	filter: var(--npf-shadow-pack);
	transition: transform 0.7s var(--npf-ease);
}

.npf-bento__tile:hover .npf-bento__img {
	transform: translateY(-14px) rotate(-6deg) scale(1.05);
}

.npf-bento__arrow {
	position: absolute;
	left: 28px;
	bottom: 26px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
}

.npf-bento__arrow--red {
	background: var(--npf-red);
	color: var(--npf-white);
}

.npf-bento__arrow--ink {
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-bento__arrow--leaf {
	background: var(--npf-leaf-ink);
	color: var(--npf-white);
}

/* White circle with the tile's own colour as the arrow (D2 dark tiles). */
.npf-bento__arrow--white {
	background: var(--npf-white);
	color: var(--npf-tile-bg, var(--npf-red-ink));
}

/* One Madhubani motif per tile, top-right, gently swaying. Spec §4.3. */
.npf-bento__motifs {
	position: absolute;
	right: 24px;
	top: 22px;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	pointer-events: none;
}

/*
 * Dry fruits: under the title on the left, so it never covers text. Pinned
 * just above the arrow rather than at a fixed top, because the title wraps
 * to two lines on the quarter-width tile.
 */
.npf-bento__motifs--below {
	right: auto;
	left: 22px;
	top: auto;
	bottom: 92px;
}

.npf-bento__motif {
	width: var(--npf-motif-w, 80px);
	height: auto;
}

.npf-bento__motif.is-flipped {
	transform: scaleX(-1);
}

@media (max-width: 1023px) {
	.npf-bento__grid {
		grid-auto-rows: 240px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.npf-bento__cell.is-2x2 {
		grid-column: span 2;
		grid-row: span 1;
	}

	.npf-bento__title {
		font-size: 26px;
	}

	.is-2x2 .npf-bento__title {
		font-size: 34px;
	}
}

/* --- 4. Bestsellers ----------------------------------------------------- */

.npf-best__more {
	margin: var(--npf-s7) 0 0;
	text-align: center;
}

/* Hidden by the tab filter; without JS every card stays visible. */
.npf-card-item[hidden] {
	display: none;
}

/* --- 5. Story ----------------------------------------------------------- */

.npf-story__sentence {
	margin: var(--npf-s6) 0 0;
	font-size: clamp(36px, 5.6vw, 84px);
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1.12;
}

/* Inline image pills, sized in em so they scale with the sentence. */
.npf-story__pill {
	display: inline-block;
	width: 1.9em;
	height: 0.95em;
	margin: 0 0.06em;
	overflow: hidden;
	border-radius: var(--npf-r-pill);
	vertical-align: middle;
}

.npf-story__pill img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.npf-story__foot {
	display: grid;
	gap: var(--npf-s7);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	align-items: start;
	margin-top: var(--npf-s5);
}

/* D2: a Madhubani leaf vine instead of the hairline. */
.npf-story__vine {
	display: block;
	height: 48px;
	margin-top: var(--npf-s6);
	background: url('../img/madhubani/vine.svg') repeat-x left center / auto 100%;
	opacity: 0.9;
}

.npf-story__aside {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s5);
}

.npf-story__hindi {
	margin: 0;
	font-size: 34px;
}

/* --- 5b. Meet Makhana Maa & Pihu (D2) -------------------------------- */

.npf-dot--red {
	background: var(--npf-red);
}

/* Full-bleed band: cream, village and borders run edge to edge; the
   characters and copy stay inside the page container. */
.npf-maa__card {
	position: relative;
	overflow: hidden;
	background: var(--npf-cream);
}

.npf-maa__inner {
	position: relative;
	display: grid;
	gap: var(--npf-s5);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	align-items: center;
	padding-top: clamp(72px, 7vw, 104px);
	padding-bottom: 34px;
}

.npf-maa__decor {
	position: absolute;
	inset: 0;
}

.npf-maa__decor > * {
	position: absolute;
	height: auto;
}

.npf-maa__village {
	left: 0;
	top: 0;
	width: 100%;
	max-width: none;
	opacity: 0.5;
	-webkit-mask-image: var(--npf-mask-fade);
	mask-image: var(--npf-mask-fade);
}


.npf-maa__band {
	left: 0;
	right: 0;
	top: 0;
	height: 34px;
}

.npf-maa__band--bottom {
	top: auto;
	bottom: 0;
}

.npf-maa__lotus {
	right: 4%;
	bottom: 50px;
	width: 120px;
}

.npf-maa__fish {
	right: 12%;
	top: 52px;
	width: 84px;
	transform: rotate(-10deg);
}

.npf-maa__fish--flip {
	right: 3%;
	transform: scaleX(-1) rotate(-10deg);
}

.npf-maa__art {
	position: relative;
	align-self: end;
	height: 470px;
}

.npf-maa__art img {
	position: absolute;
	bottom: 0;
	height: auto;
}

.npf-maa__maa {
	left: 0;
	width: 330px;
}

.npf-maa__pihu {
	left: 300px;
	width: 210px;
}

.npf-maa__cluster {
	left: 220px;
	width: 120px;
	margin-bottom: -6px;
}

.npf-maa__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	align-items: flex-start;
	padding-bottom: clamp(32px, 5vw, 72px);
}

.npf-maa__copy .npf-eyebrow {
	margin: 0;
}

.npf-maa__title {
	margin: 0;
	font-size: clamp(40px, 4.6vw, 68px);
	line-height: 1;
}

.npf-maa__text {
	max-width: 520px;
	margin: 0;
}

/* The question is italic, but not the red heading emphasis. */
.npf-maa__text .npf-em {
	color: inherit;
	font-family: inherit;
	font-weight: inherit;
}

.npf-maa__hindi {
	margin: 0;
	color: var(--npf-ink);
	font-size: 26px;
}

.npf-maa__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--npf-s3);
	align-items: center;
}

@media (max-width: 1199px) {
	.npf-maa__maa {
		width: 270px;
	}

	.npf-maa__pihu {
		left: 240px;
		width: 172px;
	}

	.npf-maa__cluster {
		left: 180px;
		width: 100px;
	}

	.npf-maa__art {
		height: 400px;
	}
}

/* Stacks with the text first and the art below at about 300px. */
@media (max-width: 1023px) {
	.npf-maa__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.npf-maa__copy {
		order: -1;
		padding-bottom: 0;
	}

	.npf-maa__art {
		width: 100%;
		max-width: 420px;
		height: 300px;
		margin-inline: auto;
	}

	.npf-maa__maa {
		width: 220px;
	}

	.npf-maa__pihu {
		left: auto;
		right: 0;
		width: 140px;
	}

	.npf-maa__cluster {
		left: 46%;
		width: 90px;
	}


	.npf-maa__lotus {
		width: 84px;
		bottom: 40px;
	}

	.npf-maa__fish {
		width: 58px;
		top: 44px;
	}

	.npf-maa__fish:not(.npf-maa__fish--flip) {
		right: 18%;
	}
}

@media (max-width: 400px) {
	.npf-maa__art {
		height: 250px;
	}

	.npf-maa__maa {
		width: 184px;
	}

	.npf-maa__pihu {
		width: 116px;
	}

	.npf-maa__hindi {
		font-size: 22px;
	}
}

/* --- 6. Collections ----------------------------------------------------- */

.npf-collections__row {
	display: grid;
	gap: 18px;
	grid-template-columns: 1.25fr 1fr 1fr;
	align-items: end;
	list-style: none;
}

.npf-collections__card {
	position: relative;
	display: block;
	height: var(--npf-col-h, 540px);
	overflow: hidden;
	border-radius: var(--npf-r-tile);
	color: var(--npf-white);
	text-decoration: none;
}

.npf-collections__card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.npf-collections__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgb(41 37 31 / 92%) 0%,
		rgb(41 37 31 / 68%) 28%,
		rgb(41 37 31 / 22%) 58%,
		rgb(41 37 31 / 0%) 80%
	);
}

.npf-collections__text {
	position: absolute;
	left: var(--npf-s5);
	right: var(--npf-s5);
	bottom: var(--npf-s5);
	display: flex;
	flex-direction: column;
	gap: var(--npf-s2);
	align-items: flex-start;
}

.npf-collections__tag {
	padding: 7px var(--npf-s3);
	border-radius: var(--npf-r-pill);
	background: rgb(255 255 255 / 22%);
	backdrop-filter: blur(6px);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.npf-collections__title {
	font-family: var(--npf-font-display);
	font-size: 34px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.npf-collections__line {
	font-size: 15px;
	opacity: 0.88;
}

@media (max-width: 1023px) {
	/* A horizontal scroll-snap row on small screens. */
	.npf-collections__row {
		display: flex;
		gap: var(--npf-s3);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin-inline: calc(var(--npf-gutter) * -1);
		padding-inline: var(--npf-gutter);
		scrollbar-width: thin;
	}

	.npf-collections__item {
		flex: none;
		width: 290px;
		scroll-snap-align: start;
	}

	.npf-collections__card {
		height: 420px;
	}
}

/* --- 7. Our kitchen rules ----------------------------------------------- */

.npf-rules__panel {
	display: grid;
	gap: var(--npf-s7);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	padding: clamp(28px, 5vw, 72px);
	border-radius: var(--npf-r-panel);
	background: var(--npf-surface);
}

.npf-rules__intro {
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: flex-start;
}

.npf-rules__pack {
	width: 180px;
	height: auto;
	margin-top: var(--npf-s3);
	filter: drop-shadow(0 20px 24px rgb(41 37 31 / 20%));
}

.npf-rules__list {
	display: flex;
	flex-direction: column;
	list-style: none;
}

.npf-rules__item {
	display: grid;
	gap: 18px;
	grid-template-columns: 88px 1fr;
	padding: var(--npf-s5) 0;
	border-top: 1px solid #e6dfd3;
}

.npf-rules__num {
	font-family: var(--npf-font-display);
	font-size: 60px;
	font-style: italic;
	font-weight: 300;
	line-height: 0.9;
	color: var(--npf-red);
}

.npf-rules__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.npf-rules__title {
	font-family: var(--npf-font-display);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.15;
}

.npf-rules__text {
	color: var(--npf-ink-2);
	font-size: 16px;
}

@media (max-width: 767px) {
	.npf-rules__item {
		grid-template-columns: 62px 1fr;
	}

	.npf-rules__num {
		font-size: 44px;
	}

	.npf-rules__pack {
		width: 130px;
	}
}

/* --- 8. Traditional foods ----------------------------------------------- */

.npf-traditional {
	overflow: hidden;
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-traditional__inner {
	display: grid;
	gap: 56px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
	align-items: center;
	padding-top: 110px;
	padding-bottom: 110px;
}

.npf-traditional__art {
	position: relative;
	height: 560px;
}

.npf-traditional__leaf {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 620px;
	height: auto;
	margin: -217px 0 0 -310px;
}

.npf-traditional__box {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 230px;
	height: auto;
	filter: drop-shadow(0 30px 30px rgb(0 0 0 / 45%));
}

.npf-traditional__lotus {
	position: absolute;
	left: 2%;
	bottom: 2%;
	width: 150px;
	height: auto;
}

.npf-traditional__fish {
	position: absolute;
	right: 4%;
	top: 6%;
	width: 110px;
	height: auto;
}

.npf-traditional__stamp {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 130px;
	height: 130px;
	border: 1.5px solid var(--npf-leaf);
	border-radius: 50%;
	text-align: center;
}

.npf-traditional__stamp [lang='hi'] {
	font-size: 22px;
}

.npf-traditional__stamp span:last-child {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.npf-traditional__copy {
	display: flex;
	flex-direction: column;
	gap: 26px;
	align-items: flex-start;
}

.npf-traditional__title {
	font-weight: 300;
}

/* On charcoal the italic emphasis switches to the pink accent. */
.npf-traditional__title .npf-em {
	color: var(--npf-dark-pink);
}

.npf-traditional__hindi {
	margin: 0;
	line-height: 1.3;
}

/* Turmeric on charcoal is 10.6:1 (spec §2). */
.npf-traditional__hindi [lang='hi'] {
	color: var(--npf-turmeric);
	font-size: 28px;
}

.npf-traditional__gloss {
	color: var(--npf-dark-muted);
	font-family: var(--npf-font-display);
	font-size: 17px;
	font-style: italic;
}

.npf-traditional__text {
	margin: 0;
	color: #e9e0d3;
	font-size: 18px;
	line-height: 1.7;
}

.npf-traditional__picks {
	display: grid;
	gap: var(--npf-s3);
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	width: 100%;
	list-style: none;
}

.npf-minirow {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border-radius: var(--npf-r-inner);
	background: #3a342c;
	color: var(--npf-white);
	text-decoration: none;
}

.npf-minirow__img {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 16px;
	object-fit: contain;
	background: rgb(255 255 255 / 8%);
}

.npf-minirow__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.npf-minirow__name {
	font-family: var(--npf-font-display);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.15;
}

.npf-minirow__price {
	font-size: var(--npf-size-small);
	font-weight: 700;
}

.npf-minirow__price del {
	color: rgb(255 255 255 / 72%);
	font-weight: 500;
}

.npf-minirow__price ins {
	background: none;
	color: var(--npf-white);
	text-decoration: none;
}

.npf-minirow__add {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--npf-red);
	color: var(--npf-white);
}

@media (max-width: 1023px) {
	.npf-traditional__inner {
		padding-top: var(--npf-s8);
		padding-bottom: var(--npf-s8);
	}

	.npf-traditional__art {
		height: 300px;
	}

	.npf-traditional__leaf {
		width: 340px;
		margin: -119px 0 0 -170px;
	}

	.npf-traditional__box {
		width: 130px;
	}

	.npf-traditional__stamp {
		width: 96px;
		height: 96px;
	}

	.npf-traditional__lotus {
		width: 90px;
	}

	.npf-traditional__fish {
		width: 70px;
	}

	.npf-traditional__hindi [lang='hi'] {
		font-size: 24px;
	}
}

/* --- 9. For every occasion ---------------------------------------------- */

.npf-seasonal__panel {
	position: relative;
	height: 560px;
	overflow: hidden;
	border-radius: var(--npf-r-panel);
}

/*
 * Without JavaScript every panel is shown in turn; app.js hides all but the
 * selected one once the tabs work.
 */
.npf-seasonal__panel + .npf-seasonal__panel {
	margin-top: var(--npf-s5);
}

.npf-seasonal__panel[hidden] {
	display: none;
}

.npf-seasonal__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.npf-seasonal__card {
	position: absolute;
	left: var(--npf-s6);
	bottom: var(--npf-s6);
	display: flex;
	max-width: 480px;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
	padding: 34px;
	border-radius: 28px;
	background: var(--npf-white);
}

.npf-seasonal__title {
	margin: 0;
	font-family: var(--npf-font-display);
	font-size: 40px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.02;
}

.npf-seasonal__text {
	margin: 0;
	color: var(--npf-ink-2);
	font-size: 16px;
	line-height: 1.6;
}

.npf-btn--compact {
	min-height: 54px;
	padding: 0 26px;
}

@media (max-width: 767px) {
	.npf-seasonal__panel {
		height: auto;
		border-radius: 0;
		background: none;
		overflow: visible;
	}

	/* The image sits on top and the card follows it, not over it. */
	.npf-seasonal__img {
		position: static;
		height: 260px;
		border-radius: var(--npf-r-tile);
	}

	.npf-seasonal__card {
		position: static;
		max-width: none;
		margin-top: var(--npf-s4);
		padding: var(--npf-s5);
		border: 1px solid var(--npf-line);
	}

	.npf-seasonal__title {
		font-size: 28px;
	}
}

/* --- 10. Reviews -------------------------------------------------------- */

.npf-reviews {
	overflow: hidden;
}

/* A scroll-snap row, never a marquee (D2 has none). */
.npf-reviews__row {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	max-width: var(--npf-container);
	margin-inline: auto;
	padding-inline: var(--npf-gutter);
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.npf-reviews__item {
	flex: none;
	width: 380px;
	max-width: 86vw;
	scroll-snap-align: start;
}

.npf-review {
	display: flex;
	height: 100%;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 26px;
	border: 1px solid var(--npf-line);
	border-radius: 28px;
	background: var(--npf-white);
}

.npf-review__stars {
	display: flex;
	margin: 0;
	color: var(--npf-red);
	gap: 2px;
}

/* The stars sit in an aria-hidden wrapper; lay that out as the row. */
.npf-review__stars > [aria-hidden='true'] {
	display: inline-flex;
	gap: 2px;
}

.npf-review__quote {
	margin: 0;
	font-family: var(--npf-font-display);
	font-size: 21px;
	font-weight: 400;
	line-height: 1.35;
}

.npf-review__by {
	margin-top: auto;
}

.npf-review__product {
	display: flex;
	align-items: center;
	gap: var(--npf-s3);
	text-decoration: none;
}

.npf-review__thumb {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: var(--npf-r-sm);
	object-fit: cover;
}

.npf-review__name {
	display: block;
	font-size: 15px;
	font-weight: 700;
}

.npf-review__city {
	color: var(--npf-ink-2);
	font-weight: 500;
}

.npf-review__item-name {
	display: block;
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

/* --- 11. Food Journal --------------------------------------------------- */

.npf-journal .npf-postlist {
	gap: 22px;
}

/* --- 12. Instagram ------------------------------------------------------ */

.npf-instagram__inner {
	display: grid;
	gap: var(--npf-s7);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	align-items: center;
}

.npf-instagram__copy {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s4);
	align-items: flex-start;
}

.npf-instagram__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 20px 0;
	list-style: none;
}

.npf-polaroid {
	position: relative;
	display: block;
	padding: 10px 10px 34px;
	border-radius: 6px;
	background: var(--npf-white);
	box-shadow: 0 16px 36px rgb(41 37 31 / 16%);
	transform: rotate(var(--npf-tilt, 0deg));
	transition: transform 0.5s var(--npf-ease);
}

.npf-polaroid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.npf-polaroid:hover,
.npf-polaroid:focus-visible {
	z-index: 2;
	transform: rotate(0deg) translateY(-10px) scale(1.04);
}

@media (max-width: 767px) {
	/* 3x2 grid with no tilt and no overlap at 390px. */
	.npf-instagram__grid {
		gap: var(--npf-s2);
		padding: 0;
	}

	.npf-polaroid {
		padding: 6px 6px 6px;
		transform: none;
	}

	.npf-polaroid:hover,
	.npf-polaroid:focus-visible {
		transform: translateY(-4px);
	}
}

/* --- 13. FAQ ------------------------------------------------------------ */

.npf-faq__inner {
	display: grid;
	gap: var(--npf-s7);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	align-items: start;
}

.npf-faq__list {
	display: flex;
	flex-direction: column;
}

.npf-faq__item {
	border-bottom: 1px solid var(--npf-line);
}

.npf-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s4);
	min-height: 64px;
	padding: var(--npf-s3) 0;
	cursor: pointer;
	list-style: none;
}

.npf-faq__item summary::-webkit-details-marker {
	display: none;
}

.npf-faq__q {
	font-family: var(--npf-font-display);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
}

.npf-faq__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--npf-line);
	border-radius: 50%;
	transition: transform 0.25s var(--npf-ease);
}

.npf-faq__item[open] .npf-faq__icon {
	transform: rotate(180deg);
}

.npf-faq__a {
	padding: 0 0 var(--npf-s5);
	max-width: 62ch;
}

.npf-faq__a p {
	margin: 0;
	color: var(--npf-ink-2);
	line-height: 1.7;
}

/* --- 14. Newsletter ----------------------------------------------------- */

.npf-newsletter__panel {
	position: relative;
	display: grid;
	gap: var(--npf-s7);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	align-items: center;
	overflow: hidden;
	padding: clamp(32px, 6vw, 88px);
	border-radius: 44px;
	background: var(--npf-red-ink);
	color: var(--npf-white);
}

/*
 * Lifted out of the grid flow: as a grid item it occupied the first cell and
 * pushed the heading and form out of place.
 */
.npf-newsletter__bits {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.npf-newsletter__bits img {
	position: absolute;
	height: auto;
}

/* Pihu sits in the bottom-right corner (D2), decorative. */
.npf-newsletter__bits .npf-newsletter__pihu {
	right: 1.5%;
	bottom: -8px;
	width: 118px;
}

.npf-newsletter__title {
	position: relative;
	font-weight: 300;
}

/* On the red block the emphasis is white italic, not red on red. */
.npf-newsletter__title .npf-em {
	color: var(--npf-white);
}

.npf-newsletter__form {
	position: relative;
}

.npf-subscribe {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.npf-subscribe__label {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}

.npf-subscribe__row {
	display: flex;
	gap: var(--npf-s2);
	padding: 7px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-white);
}

.npf-subscribe__row input[type='email'] {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	border: 0;
	border-radius: var(--npf-r-pill);
	background: none;
	font-size: 17px;
	font-weight: 500;
}

.npf-subscribe__row input[type='email']:focus-visible {
	outline-offset: -2px;
}

.npf-subscribe__row .npf-btn {
	flex: none;
	min-height: 52px;
}

/*
 * Honeypot: never visible, never focusable, never announced. Clipped in
 * place rather than pushed off-canvas, so it cannot affect page width.
 */
.npf-subscribe__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.npf-subscribe__status {
	margin: 0;
	font-size: var(--npf-size-small);
	font-weight: 600;
	min-height: 1.5em;
}

.npf-subscribe__status a {
	color: inherit;
	text-decoration: underline;
}

.npf-subscribe__status--error {
	color: var(--npf-white);
	font-weight: 700;
}

@media (max-width: 767px) {
	.npf-subscribe__row {
		flex-direction: column;
		border-radius: var(--npf-r-inner);
	}

	.npf-subscribe__row input[type='email'] {
		border-radius: var(--npf-r-inner);
	}

	.npf-subscribe__row .npf-btn {
		width: 100%;
	}

	/* Phones keep Pihu (80px) but drop the floating bits. */
	.npf-newsletter__bits .npf-float {
		display: none;
	}

	.npf-newsletter__bits .npf-newsletter__pihu {
		width: 80px;
	}

	.npf-newsletter__panel {
		padding-bottom: 112px;
	}
}

/* ==========================================================================
   18. Product listing (spec §5)
   ========================================================================== */

.npf-shop {
	padding-top: var(--npf-s6);
	padding-bottom: var(--npf-s9);
}

.woocommerce-breadcrumb,
.npf-shop .woocommerce-breadcrumb {
	margin: 0 0 var(--npf-s5);
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

.woocommerce-breadcrumb a {
	text-decoration: underline;
	text-decoration-color: var(--npf-line);
}

.woocommerce-breadcrumb a:hover {
	text-decoration-color: var(--npf-red);
}

/* --- Category banner ---------------------------------------------------- */

.npf-shopbanner {
	display: grid;
	gap: var(--npf-s6);
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	overflow: hidden;
	margin-bottom: var(--npf-s7);
	border-radius: var(--npf-r-tile);
	background: var(--npf-surface);
}

.npf-shopbanner__copy {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s4);
	align-items: flex-start;
	padding: clamp(28px, 4vw, 56px);
}

.npf-shopbanner__title {
	margin: 0;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 0.98;
}

.npf-shopbanner__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--npf-s2);
	margin-top: var(--npf-s2);
	list-style: none;
}

.npf-shopbanner__art {
	align-self: stretch;
	display: grid;
	place-items: center;
	min-height: 280px;
	padding: var(--npf-s5);
}

.npf-shopbanner__img {
	width: auto;
	max-width: 100%;
	max-height: 320px;
	filter: var(--npf-shadow-pack);
	object-fit: contain;
}

@media (max-width: 1023px) {
	.npf-shopbanner {
		grid-template-columns: 1fr;
	}

	.npf-shopbanner__art {
		order: -1;
		min-height: 200px;
		padding-bottom: 0;
	}

	.npf-shopbanner__img {
		max-height: 200px;
	}
}

/* --- Layout ------------------------------------------------------------- */

.npf-shop__layout {
	display: grid;
	gap: var(--npf-s7);
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: start;
}

.npf-shop__layout.is-full {
	grid-template-columns: minmax(0, 1fr);
}

.npf-shop__sidebar {
	position: sticky;
	top: 92px;
}

@media (max-width: 1023px) {
	.npf-shop__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The sidebar's filters move into the bottom-sheet on small screens. */
	.npf-shop__sidebar {
		display: none;
	}
}

/* --- Filters ------------------------------------------------------------ */

.npf-filters__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--npf-s3);
	margin-bottom: var(--npf-s4);
	padding-bottom: var(--npf-s3);
	border-bottom: 1px solid var(--npf-line);
}

.npf-filters__title {
	margin: 0;
	font-family: var(--npf-font-display);
	font-size: 24px;
	font-weight: 500;
}

.npf-filters__clear,
.npf-toolbar__clear {
	color: var(--npf-red-ink);
	font-size: var(--npf-size-small);
	font-weight: 700;
	text-decoration: none;
}

/* WooCommerce's filter widget internals, restyled to the tokens. */
.npf-filter-widget ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
	list-style: none;
}

.npf-filter-widget li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s2);
}

.npf-filter-widget li a {
	display: flex;
	flex: 1;
	align-items: center;
	min-height: 44px;
	color: var(--npf-ink);
	font-size: 15px;
	text-decoration: none;
}

.npf-filter-widget li a:hover {
	color: var(--npf-red);
}

.npf-filter-widget li.chosen > a {
	font-weight: 700;
}

.npf-filter-widget li.chosen > a::before {
	content: '✓';
	margin-right: var(--npf-s2);
	color: var(--npf-leaf-ink);
}

.npf-filter-widget .count {
	color: var(--npf-ink-3);
	font-size: 13px;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: var(--npf-line);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
	background: var(--npf-red);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
	border: 2px solid var(--npf-red);
	background: var(--npf-white);
}

.woocommerce .widget_price_filter .price_slider_amount .button {
	min-height: 44px;
	padding: 0 var(--npf-s4);
	font-size: var(--npf-size-small);
}

.woocommerce .widget_price_filter .price_label {
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

.wc-layered-nav-rating a {
	display: flex;
	align-items: center;
	gap: var(--npf-s2);
}

/*
 * WooCommerce renders star ratings as text, so they are held to the 4.5:1
 * text threshold. --npf-red is 4.29:1 on white, so every star rating the
 * plugin draws uses --npf-red-ink (5.5:1) instead.
 */
.woocommerce .star-rating,
.woocommerce .star-rating::before,
.wc-layered-nav-rating .star-rating,
.npf-filter-widget .star-rating {
	color: var(--npf-red-ink);
}

/* --- Toolbar ------------------------------------------------------------ */

.npf-toolbar {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s3);
	margin-bottom: var(--npf-s5);
}

.npf-toolbar__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--npf-s3);
}

.npf-toolbar__count {
	margin: 0;
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
	font-weight: 600;
}

.npf-toolbar__ordering {
	margin-left: auto;
}

.npf-toolbar__ordering .woocommerce-ordering {
	margin: 0;
}

/*
 * The ordering control is a real <select> so it works without JavaScript;
 * appearance:none plus an inline chevron makes it read as a pill.
 */
.npf-toolbar__ordering select {
	min-height: 48px;
	padding: 0 calc(var(--npf-s6) + 10px) 0 var(--npf-s4);
	border: 0;
	border-radius: var(--npf-r-pill);
	background-color: var(--npf-surface);
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2329251F" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
	background-position: right var(--npf-s4) center;
	background-repeat: no-repeat;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	appearance: none;
}

.npf-toolbar__ordering select:hover {
	background-color: var(--npf-line);
}

/* The filters button only exists on small screens. */
.npf-toolbar__filters {
	display: none;
	border: 0;
	background: var(--npf-ink);
	color: var(--npf-white);
	cursor: pointer;
	font-family: var(--npf-font-body);
}

.npf-toolbar__badge {
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-white);
	color: var(--npf-ink);
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 1023px) {
	.npf-toolbar__filters {
		display: inline-flex;
	}
}

.npf-toolbar__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--npf-s2);
	list-style: none;
}

.npf-chip--remove {
	padding-right: var(--npf-s3);
	background: var(--npf-surface);
	border-color: transparent;
}

.npf-chip--remove:hover {
	background: var(--npf-blush);
	border-color: transparent;
}

.npf-chip__x {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--npf-white);
	color: var(--npf-ink-2);
}

/* --- Grid --------------------------------------------------------------- */

.npf-shop ul.products {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1279px) {
	.npf-shop ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.npf-shop__layout {
		grid-template-columns: 240px minmax(0, 1fr);
	}
}

/* --- In-grid promo tile ------------------------------------------------- */

.npf-promo {
	position: relative;
	display: block;
	height: 100%;
	min-height: 360px;
	overflow: hidden;
	border-radius: var(--npf-r-card);
	color: var(--npf-white);
	text-decoration: none;
}

.npf-promo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.npf-promo__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(41 37 31 / 90%) 0%, rgb(41 37 31 / 50%) 46%, rgb(41 37 31 / 10%) 78%);
}

.npf-promo__text {
	position: absolute;
	left: var(--npf-s5);
	right: var(--npf-s5);
	bottom: var(--npf-s5);
	display: flex;
	flex-direction: column;
	gap: var(--npf-s3);
	align-items: flex-start;
}

.npf-promo__title {
	font-family: var(--npf-font-display);
	font-size: 30px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

/* --- Empty state and SEO block ------------------------------------------ */

.npf-shop__empty {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s4);
	align-items: flex-start;
	padding: var(--npf-s8) 0;
}

.npf-shopseo {
	margin-top: var(--npf-s8);
	padding-top: var(--npf-s7);
	border-top: 1px solid var(--npf-line);
}

.npf-shopseo__inner {
	display: grid;
	gap: var(--npf-s6);
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	align-items: start;
}

.npf-shopseo__title {
	margin: 0;
	font-size: clamp(28px, 3vw, 40px);
}

.npf-shopseo__text {
	max-width: 68ch;
}

@media (max-width: 767px) {
	.npf-shopseo__inner {
		grid-template-columns: 1fr;
	}
}

/* --- Mobile filters bottom-sheet ---------------------------------------- */

.npf-sheet {
	position: fixed;
	inset: 0;
	z-index: var(--npf-z-drawer);
	display: flex;
	align-items: flex-end;
}

.npf-sheet[hidden] {
	display: none;
}

.npf-sheet__scrim {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgb(41 37 31 / 58%);
	cursor: pointer;
}

.npf-sheet__panel {
	position: relative;
	display: flex;
	width: 100%;
	max-height: 86vh;
	flex-direction: column;
	border-radius: var(--npf-r-panel) var(--npf-r-panel) 0 0;
	background: var(--npf-white);
}

.npf-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s4);
	padding: var(--npf-s5) var(--npf-s5) var(--npf-s3);
	border-bottom: 1px solid var(--npf-line);
}

.npf-sheet__title {
	margin: 0;
	font-family: var(--npf-font-display);
	font-size: 26px;
	font-weight: 500;
}

.npf-sheet__body {
	flex: 1;
	overflow-y: auto;
	padding: var(--npf-s5);
}

.npf-sheet__foot {
	display: flex;
	gap: var(--npf-s3);
	padding: var(--npf-s4) var(--npf-s5) calc(var(--npf-s5) + env(safe-area-inset-bottom));
	border-top: 1px solid var(--npf-line);
}

.npf-sheet__foot .npf-btn {
	flex: 1;
}

/* --- Load more (progressive enhancement over the numbered links) -------- */

.npf-loadmore__wrap {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s3);
	align-items: center;
	margin-top: var(--npf-s7);
}

.npf-loadmore__status {
	margin: 0;
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

/*
 * Once the button exists the numbered links become the fallback path, so
 * they are kept available but visually quiet.
 */
.npf-loadmore__wrap + .woocommerce-pagination {
	margin-top: var(--npf-s4);
}

.npf-loadmore__wrap + .woocommerce-pagination ul {
	justify-content: center;
}

/* ==========================================================================
   19. Product page (spec §6)
   WooCommerce's single-product template, restyled. Selectors are scoped to
   .npf-pdp so they outrank woocommerce.css without !important.
   ========================================================================== */

/* --- Layout: gallery left, summary right, sections below --------------- */

.woocommerce div.product.npf-pdp {
	padding-bottom: var(--npf-s9);
}

.npf-pdp__top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 0 var(--npf-s8);
	align-items: start;
}

.npf-pdp__top > * {
	grid-column: 1 / -1;
}

.woocommerce div.product.npf-pdp .npf-pdp__gallery {
	position: sticky;
	top: 110px;
	grid-column: 1;
}

.woocommerce div.product.npf-pdp div.summary {
	grid-column: 2;
	float: none;
	width: auto;
	margin: 0;
}

/* --- Gallery: vertical thumbnail rail + large image --------------------- */

.npf-pdp__gallery {
	--npf-rail: 88px;
	position: relative;
}

.woocommerce div.product.npf-pdp div.images {
	float: none;
	width: auto;
	margin: 0;
}

/*
 * The thumbnail rail lives in the gallery's left padding, not in a grid
 * column. FlexSlider (as bundled with WooCommerce) sizes slides from the
 * gallery element's content width in Firefox (`slider.w = slider.width()`),
 * so that width must equal the image's: padding keeps them the same in
 * every browser. Applied whenever there is more than one image, before the
 * slider is built.
 */
.npf-pdp .woocommerce-product-gallery:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image) {
	position: relative;
	padding-left: calc(var(--npf-rail) + var(--npf-s4));
}

.npf-pdp .woocommerce-product-gallery .flex-viewport,
.npf-pdp .woocommerce-product-gallery__wrapper {
	border-radius: 24px;
	background: var(--npf-surface);
	overflow: hidden;
}

.npf-pdp .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
}

/*
 * Before WooCommerce's gallery script builds the slider (and with JS off),
 * lay the plain image list out exactly like the finished gallery: main image
 * plus a thumbnail rail (desktop) or row (mobile). Otherwise the extra
 * images render as large tiles and the summary jumps when the slider
 * replaces them (CLS).
 */
.npf-pdp .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:has(> :nth-child(2)) {
	display: grid;
	grid-template-columns: var(--npf-rail) minmax(0, 1fr);
	align-content: start;
	margin-left: calc(-1 * (var(--npf-rail) + var(--npf-s4)));
	gap: var(--npf-s3) var(--npf-s4);
	border-radius: 0;
	background: none;
}

/* Beats WooCommerce's `div.images .woocommerce-product-gallery__image:nth-child(n+2) { width: 25% }`. */
.woocommerce div.product.npf-pdp .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:has(> :nth-child(2)) > * {
	width: auto;
	margin: 0;
	float: none;
}

.npf-pdp .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:has(> :nth-child(2)) > * {
	grid-column: 1;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--npf-r-sm);
}

.npf-pdp .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:has(> :nth-child(2)) > :not(:first-child) img {
	aspect-ratio: 1;
	height: auto;
	object-fit: cover;
}

/*
 * FlexSlider spends a frame laying the slides out at the track's full width
 * (several times the viewport) before sizing them, which briefly made the
 * gallery thousands of pixels tall. The square viewport caps that frame;
 * FlexSlider's own inline height (smoothHeight) still wins afterwards.
 */
.npf-pdp .woocommerce-product-gallery .flex-viewport {
	/*
	 * The explicit width matters: once FlexSlider sets an inline height,
	 * aspect-ratio alone would derive the width from it and push the image
	 * past its grid column into the summary.
	 */
	width: 100%;
	min-width: 0;
	aspect-ratio: 1;
}

.npf-pdp .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:has(> :nth-child(2)) > :first-child {
	grid-column: 2;
	grid-row: 1 / span 20;
	border: 0;
	border-radius: 24px;
	background: var(--npf-surface);
}

.woocommerce div.product.npf-pdp div.images .flex-control-thumbs {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	width: var(--npf-rail);
	flex-direction: column;
	gap: var(--npf-s3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce div.product.npf-pdp div.images .flex-control-thumbs li {
	float: none;
	width: 100%;
}

.woocommerce div.product.npf-pdp div.images .flex-control-thumbs li img {
	border: 2px solid transparent;
	border-radius: var(--npf-r-sm);
	opacity: 0.7;
	cursor: pointer;
	transition: opacity 0.25s var(--npf-ease);
}

.woocommerce div.product.npf-pdp div.images .flex-control-thumbs li img:hover,
.woocommerce div.product.npf-pdp div.images .flex-control-thumbs li img.flex-active {
	border-color: var(--npf-ink);
	opacity: 1;
}

.woocommerce div.product.npf-pdp div.images .woocommerce-product-gallery__trigger {
	position: absolute;
	z-index: 3;
	top: auto;
	right: var(--npf-s4);
	bottom: var(--npf-s4);
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 50%;
	background: var(--npf-white);
	box-shadow: var(--npf-shadow-pill);
	text-indent: 0;
}

.npf-pdp__badge {
	position: absolute;
	z-index: 3;
	top: var(--npf-s4);
	left: var(--npf-s4);
}

.npf-pdp__gallery:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image) .npf-pdp__badge {
	left: calc(var(--npf-rail) + var(--npf-s4) + var(--npf-s4));
}

/* --- Summary ------------------------------------------------------------ */

.npf-pdp div.summary > * + * {
	margin-top: var(--npf-s4);
}

.npf-pdp__eyebrow a {
	color: inherit;
	text-decoration: none;
}

.npf-pdp__eyebrow a:hover {
	text-decoration: underline;
}

.woocommerce div.product.npf-pdp .product_title {
	margin-top: var(--npf-s2);
	font-size: clamp(34px, 3.6vw, 56px);
	font-weight: 400;
	line-height: 1.02;
}

.npf-pdp__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--npf-s2) var(--npf-s4);
	font-size: var(--npf-size-small);
}

.npf-pdp__rating {
	display: inline-flex;
	align-items: center;
	gap: var(--npf-s2);
	min-height: 44px;
	color: var(--npf-ink);
	text-decoration: none;
}

.npf-pdp__rating-count {
	color: var(--npf-ink-2);
	text-decoration: underline;
}

.npf-stars {
	display: inline-flex;
	gap: 2px;
}

.npf-stars .is-on {
	color: var(--npf-red);
}

.npf-stars .is-off {
	color: var(--npf-line);
}

.npf-stock {
	display: inline-flex;
	align-items: center;
	gap: var(--npf-s2);
	font-weight: 700;
}

.npf-stock--in {
	color: var(--npf-leaf-ink);
}

.npf-stock--out {
	color: var(--npf-ink-2);
}

.npf-stock__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentcolor;
}

.npf-stock--in .npf-stock__dot {
	background: var(--npf-leaf);
}

/* Price block */
.npf-pdp__price {
	padding-top: var(--npf-s2);
}

.npf-pdp__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--npf-s2) var(--npf-s3);
	margin: 0;
}

.npf-pdp__now {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
}

.npf-pdp__from {
	color: var(--npf-ink-2);
	font-size: 18px;
	font-weight: 600;
}

.npf-pdp__mrp {
	color: var(--npf-ink-3);
	font-size: 17px;
	font-weight: 500;
}

.npf-pdp__off {
	align-self: center;
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--npf-red-ink);
	color: var(--npf-white);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.npf-pdp__mrp[hidden],
.npf-pdp__off[hidden] {
	display: none;
}

.npf-pdp__tax {
	margin: var(--npf-s1) 0 0;
	color: var(--npf-ink-3);
	font-size: 13px;
}

.npf-pdp .woocommerce-product-details__short-description {
	color: var(--npf-ink-2);
	font-size: var(--npf-size-body-l);
	line-height: 1.6;
}

/* --- Variations: buttons over the select -------------------------------- */

.woocommerce div.product.npf-pdp form.cart .variations {
	width: 100%;
	margin: 0 0 var(--npf-s4);
	border: 0;
}

.npf-pdp form.cart .variations tr {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s2);
}

.npf-pdp form.cart .variations th,
.npf-pdp form.cart .variations td {
	display: block;
	padding: 0;
	border: 0;
	text-align: left;
}

/*
 * With JS on, the buttons replace the select from first paint (npf-js is set
 * by a blocking head script), so nothing shifts when app.js wires them up.
 * Without JS the fieldset stays hidden and the select does the job.
 */
.npf-js .npf-pdp .npf-swatches[hidden] {
	display: block;
}

.npf-js .woocommerce div.product.npf-pdp form.cart:has([data-npf-swatches]) .variations th,
.npf-js .woocommerce div.product.npf-pdp form.cart:has([data-npf-swatches]) .variations select,
.woocommerce div.product.npf-pdp form.cart.npf-has-swatches .variations th,
.woocommerce div.product.npf-pdp form.cart.npf-has-swatches .variations select {
	display: none;
}

/*
 * WooCommerce's variation script writes an inline display on "Clear"; with
 * the buttons there is always a pack chosen, so it must stay hidden.
 */
.woocommerce div.product.npf-pdp form.cart.npf-has-swatches .reset_variations {
	display: none !important;
}

.npf-swatches {
	margin: 0;
	padding: 0;
	border: 0;
}

.npf-swatches__legend {
	margin-bottom: var(--npf-s3);
	padding: 0;
	font-size: var(--npf-size-small);
	font-weight: 700;
}

.npf-swatches__current {
	color: var(--npf-ink-2);
	font-weight: 500;
}

.npf-swatches__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: var(--npf-s3);
}

.npf-swatch {
	position: relative;
	display: flex;
	min-height: 64px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 0;
	padding: var(--npf-s2) var(--npf-s3);
	border: 1.5px solid var(--npf-line);
	border-radius: var(--npf-r-sm);
	background: var(--npf-white);
	cursor: pointer;
	transition: border-color 0.2s var(--npf-ease), box-shadow 0.2s var(--npf-ease);
}

.npf-swatch:hover {
	border-color: var(--npf-ink-3);
}

.npf-swatch__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.npf-swatch__name {
	font-size: 16px;
	font-weight: 700;
}

.npf-swatch__price {
	color: var(--npf-ink-2);
	font-size: 13px;
	font-weight: 500;
}

.npf-swatch:has(.npf-swatch__input:checked) {
	border-color: var(--npf-ink);
	box-shadow: inset 0 0 0 1px var(--npf-ink);
}

.npf-swatch:has(.npf-swatch__input:focus-visible) {
	outline: 2px solid var(--npf-ink);
	outline-offset: 3px;
}

.npf-swatch.is-sold-out {
	border-style: dashed;
	background: var(--npf-surface);
	cursor: not-allowed;
}

.npf-swatch.is-sold-out .npf-swatch__name {
	color: var(--npf-ink-2);
}

/* app.js shows the chosen pack's price in the block above. */
.npf-pdp .woocommerce-variation-price {
	display: none;
}

.npf-pdp .woocommerce-variation-availability p {
	margin: 0 0 var(--npf-s3);
	font-size: var(--npf-size-small);
	font-weight: 600;
}

/* --- Quantity, add to cart, buy now ------------------------------------- */

.woocommerce div.product.npf-pdp form.cart:not(.variations_form),
.woocommerce div.product.npf-pdp .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: var(--npf-s3);
	margin-bottom: 0;
}

.woocommerce div.product.npf-pdp form.cart::before,
.woocommerce div.product.npf-pdp form.cart::after {
	content: none;
}

.woocommerce div.product.npf-pdp form.cart div.quantity {
	float: none;
	margin: 0;
}

.npf-pdp form.cart .qty {
	width: 72px;
	min-height: 56px;
	text-align: center;
}

.npf-stepper {
	display: inline-flex;
	align-items: center;
	min-height: 56px;
	padding: 4px;
	border: 1.5px solid var(--npf-line);
	border-radius: var(--npf-r-pill);
	background: var(--npf-white);
}

.npf-pdp form.cart .npf-stepper .qty {
	width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 17px;
	font-weight: 700;
	-moz-appearance: textfield;
}

.npf-stepper .qty::-webkit-inner-spin-button,
.npf-stepper .qty::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.npf-stepper__btn {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--npf-ink);
	cursor: pointer;
}

.npf-stepper__btn:hover {
	background: var(--npf-surface);
}

.npf-stepper__btn[disabled] {
	color: var(--npf-ink-3);
	cursor: not-allowed;
}

/*
 * With JS on, app.js wraps the quantity field in the stepper after load.
 * Until then, paint the field as the finished pill at its final size so the
 * add-to-cart button beside it does not shift (CLS).
 */
.npf-js .npf-pdp form.cart .quantity:not(:has(.npf-stepper)) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	min-height: 58px;
	border: 1.5px solid var(--npf-line);
	border-radius: var(--npf-r-pill);
}

.npf-js .npf-pdp form.cart .quantity:not(:has(.npf-stepper)) .qty {
	width: 44px;
	border: 0;
	background: none;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}

/* WooCommerce's button, made the brand's primary pill. 16px/700 by rule. */
.woocommerce div.product.npf-pdp form.cart .single_add_to_cart_button {
	flex: 1 1 160px;
	min-height: 56px;
	margin: 0;
	padding: 0 var(--npf-s5);
	border-radius: var(--npf-r-pill);
	background: var(--npf-red);
	box-shadow: var(--npf-shadow-glow);
	color: var(--npf-white);
	font-family: var(--npf-font-body);
	font-size: 16px;
	font-weight: 700;
	transition: background-color 0.25s var(--npf-ease);
}

.woocommerce div.product.npf-pdp form.cart .single_add_to_cart_button:hover {
	background: var(--npf-red-deep);
}

.woocommerce div.product.npf-pdp form.cart .single_add_to_cart_button.disabled {
	opacity: 0.55;
}

.npf-buy-now {
	flex: 1 1 100%;
}

.npf-buy-now[aria-disabled='true'] {
	opacity: 0.55;
}

/* --- Coming soon -------------------------------------------------------- */

.npf-notify {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s3);
	padding: var(--npf-s5);
	border-radius: var(--npf-r-inner);
	background: var(--npf-leaf-tint);
}

.npf-notify__text {
	margin: 0;
	color: var(--npf-ink-2);
}

.npf-notify .npf-subscribe__status--error {
	color: var(--npf-red-ink);
}

/* --- Accordions (native <details>) -------------------------------------- */

.npf-accordions {
	padding-top: var(--npf-s4);
	border-bottom: 1px solid var(--npf-line);
}

.npf-accordion {
	border-top: 1px solid var(--npf-line);
}

.npf-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s4);
	min-height: 60px;
	cursor: pointer;
	list-style: none;
}

.npf-accordion__summary::-webkit-details-marker {
	display: none;
}

.npf-accordion__title {
	font-family: var(--npf-font-body);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
}

.npf-accordion__icon {
	position: relative;
	flex: none;
	width: 16px;
	height: 16px;
}

.npf-accordion__icon::before,
.npf-accordion__icon::after {
	position: absolute;
	top: 7px;
	left: 0;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--npf-ink);
	content: '';
	transition: transform 0.3s var(--npf-ease);
}

.npf-accordion__icon::after {
	transform: rotate(90deg);
}

.npf-accordion[open] .npf-accordion__icon::before {
	background: var(--npf-red);
}

.npf-accordion[open] .npf-accordion__icon::after {
	transform: rotate(0deg) scaleX(0);
}

.npf-accordion__panel {
	padding-bottom: var(--npf-s5);
	color: var(--npf-ink-2);
}

.npf-accordion__panel > * + * {
	margin-top: var(--npf-s3);
}

.npf-infolist {
	display: grid;
	gap: var(--npf-s3);
	margin: 0;
}

.npf-infolist dt {
	color: var(--npf-ink);
	font-size: var(--npf-size-small);
	font-weight: 700;
}

.npf-infolist dd {
	margin: 2px 0 0;
}

.npf-nutrition {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.npf-nutrition th,
.npf-nutrition td {
	padding: 10px 0;
	border-bottom: 1px solid var(--npf-line);
	text-align: left;
}

.npf-nutrition td {
	text-align: right;
	font-weight: 600;
	color: var(--npf-ink);
}

.npf-nutrition thead th {
	color: var(--npf-ink);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.npf-nutrition thead th:last-child {
	text-align: right;
}

.npf-nutrition tbody th {
	font-weight: 500;
}

/* --- Bundle ------------------------------------------------------------- */

.npf-bundle__panel {
	padding: var(--npf-s7);
	border-radius: var(--npf-r-tile);
	background: var(--npf-surface);
}

.npf-bundle__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--npf-s3) var(--npf-s5);
	margin-bottom: var(--npf-s6);
}

.npf-bundle__title {
	font-size: clamp(32px, 3.4vw, 48px);
}

.npf-bundle__lede {
	margin: 0;
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

.npf-bundle__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: var(--npf-s6);
	align-items: center;
}

.npf-bundle__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--npf-s5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.npf-bundle__item {
	position: relative;
}

.npf-bundle__check {
	position: absolute;
	opacity: 0;
}

.npf-bundle__label {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s2);
	margin: 0;
	cursor: pointer;
}

.npf-bundle__stage {
	position: relative;
	display: grid;
	aspect-ratio: 1;
	place-items: center;
	border-radius: var(--npf-r-inner);
	background: var(--npf-card-bg, var(--npf-white));
	overflow: hidden;
}

.npf-bundle__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.25s var(--npf-ease);
}

.npf-bundle__stage.has-cutout .npf-bundle__img {
	width: 78%;
	height: 78%;
	object-fit: contain;
	filter: var(--npf-shadow-pack);
}

.npf-bundle__tick {
	position: absolute;
	top: var(--npf-s3);
	left: var(--npf-s3);
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border: 1.5px solid var(--npf-ink);
	border-radius: 8px;
	background: var(--npf-white);
	color: transparent;
}

.npf-bundle__check:checked + .npf-bundle__label .npf-bundle__tick {
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-bundle__check:not(:checked) + .npf-bundle__label .npf-bundle__img {
	opacity: 0.45;
}

.npf-bundle__check:focus-visible + .npf-bundle__label .npf-bundle__stage {
	outline: 2px solid var(--npf-ink);
	outline-offset: 3px;
}

.npf-bundle__name {
	font-family: var(--npf-font-display);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.15;
}

.npf-bundle__price {
	display: flex;
	align-items: baseline;
	gap: var(--npf-s2);
	font-weight: 700;
}

.npf-bundle__summary {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s3);
	padding: var(--npf-s5);
	border-radius: var(--npf-r-inner);
	background: var(--npf-white);
}

.npf-bundle__count,
.npf-bundle__status {
	margin: 0;
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

.npf-bundle__status:empty {
	display: none;
}

.npf-bundle__total {
	display: flex;
	align-items: baseline;
	gap: var(--npf-s2);
	margin: 0;
}

.npf-bundle__total strong {
	font-size: 30px;
}

.npf-bundle__total s[hidden] {
	display: none;
}

.npf-bundle__add {
	min-height: 56px;
	padding: 0 var(--npf-s5);
}

.npf-bundle__add.is-added {
	background: var(--npf-leaf-ink);
	box-shadow: none;
}

/* --- Reviews ------------------------------------------------------------ */

.npf-pdp-reviews__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: var(--npf-s8);
	align-items: start;
}

.npf-pdp-reviews__summary {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s5);
}

.npf-pdp-reviews__title {
	font-size: clamp(36px, 4vw, 56px);
}

.npf-pdp-reviews__score {
	display: flex;
	align-items: center;
	gap: var(--npf-s4);
}

.npf-pdp-reviews__score .npf-meta {
	margin: var(--npf-s1) 0 0;
}

.npf-pdp-reviews__average {
	margin: 0;
	font-family: var(--npf-font-display);
	font-size: 72px;
	line-height: 1;
	letter-spacing: -0.03em;
}

.npf-pdp-reviews__bars {
	display: grid;
	gap: var(--npf-s2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.npf-pdp-reviews__bar {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) 32px;
	align-items: center;
	gap: var(--npf-s3);
	font-size: 13px;
	font-weight: 600;
}

.npf-pdp-reviews__track {
	height: 6px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-line);
	overflow: hidden;
}

.npf-pdp-reviews__fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--npf-ink);
}

.npf-pdp-reviews__bar-count {
	color: var(--npf-ink-2);
	text-align: right;
}

.npf-pdp-reviews__write {
	align-self: flex-start;
}

/* WooCommerce's list and form, restyled. */
.npf-pdp-reviews .woocommerce-Reviews-title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.woocommerce .npf-pdp-reviews #reviews #comments ol.commentlist {
	display: grid;
	gap: var(--npf-s4);
	margin: 0;
	padding: 0;
}

.woocommerce .npf-pdp-reviews #reviews #comments ol.commentlist li {
	margin: 0;
}

.woocommerce .npf-pdp-reviews #reviews #comments ol.commentlist li .comment_container {
	padding: var(--npf-s5);
	border: 1px solid var(--npf-line);
	border-radius: var(--npf-r-inner);
}

.woocommerce .npf-pdp-reviews #reviews #comments ol.commentlist li img.avatar {
	position: static;
	float: left;
	width: 44px;
	height: 44px;
	margin-right: var(--npf-s3);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--npf-surface);
}

.woocommerce .npf-pdp-reviews #reviews #comments ol.commentlist li .comment-text {
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce .npf-pdp-reviews #reviews #comments ol.commentlist li .comment-text p.meta {
	margin: 0 0 var(--npf-s2);
	color: var(--npf-ink-3);
	font-size: 13px;
}

.npf-pdp-reviews .woocommerce-review__author {
	color: var(--npf-ink);
}

.npf-pdp-reviews .woocommerce-review__verified {
	color: var(--npf-leaf-ink);
	font-style: normal;
	font-weight: 600;
}

/*
 * WooCommerce's star rating carries its "Rated n out of 5" text in the same
 * colour as the glyphs, so it uses the small-text red (5.5:1).
 */
.woocommerce .npf-pdp-reviews .star-rating,
.woocommerce .npf-pdp-reviews p.stars a {
	color: var(--npf-red-ink);
}

.npf-pdp-reviews #review_form_wrapper {
	margin-top: var(--npf-s6);
	padding: var(--npf-s5);
	border-radius: var(--npf-r-inner);
	background: var(--npf-surface);
}

.npf-pdp-reviews .comment-reply-title {
	display: block;
	margin-bottom: var(--npf-s3);
	font-family: var(--npf-font-display);
	font-size: 26px;
}

.woocommerce .npf-pdp-reviews p.stars a {
	width: 44px;
	height: 44px;
}

.woocommerce .npf-pdp-reviews #review_form #respond .form-submit input[type='submit'] {
	min-height: 52px;
	padding: 0 var(--npf-s6);
	border: 0;
	border-radius: var(--npf-r-pill);
	background: var(--npf-ink);
	color: var(--npf-white);
	font-family: var(--npf-font-body);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.woocommerce .npf-pdp-reviews #review_form #respond .form-submit input[type='submit']:hover {
	background: var(--npf-red-deep);
}

/* --- Related row -------------------------------------------------------- */

.npf-related__title {
	margin-bottom: var(--npf-s6);
	font-size: clamp(36px, 4vw, 56px);
}

.npf-related__list {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --- Sticky add-to-cart (mobile) ---------------------------------------- */

.npf-stickybar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: var(--npf-z-bar);
	display: flex;
	align-items: center;
	gap: var(--npf-s3);
	padding: 10px var(--npf-gutter);
	border-top: 1px solid var(--npf-line);
	background: var(--npf-white);
	box-shadow: var(--npf-shadow-panel);
	animation: npf-stickybar-in 0.35s var(--npf-ease);
}

.npf-stickybar[hidden] {
	display: none;
}

.npf-stickybar__info {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
}

.npf-stickybar__name {
	overflow: hidden;
	font-size: var(--npf-size-small);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.npf-stickybar__price {
	font-size: 18px;
	font-weight: 700;
}

.npf-stickybar__add {
	flex: none;
	min-height: 48px;
	background: var(--npf-red);
	color: var(--npf-white);
}

.npf-stickybar__add:hover {
	background: var(--npf-red-deep);
}

@keyframes npf-stickybar-in {
	from {
		opacity: 0;
		transform: translateY(100%);
	}
}

/* Desktop never shows it, whatever the script decides. */
@media (min-width: 1024px) {
	.npf-stickybar {
		display: none;
	}
}

body.npf-has-stickybar {
	padding-bottom: 72px;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1279px) {
	.npf-bundle__form {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1023px) {
	.woocommerce div.product.npf-pdp {
		padding-bottom: var(--npf-s8);
	}

	.npf-pdp__top {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--npf-s6);
	}

	.woocommerce div.product.npf-pdp .npf-pdp__gallery,
	.woocommerce div.product.npf-pdp div.summary {
		position: relative;
		top: auto;
		grid-column: 1;
	}

	/* Thumbnails become a row under the image; the main image swipes. */
	.npf-pdp .woocommerce-product-gallery:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image) {
		padding-left: 0;
	}

	/* Pre-slider layout to match: main image, then a 64px thumbnail row. */
	.npf-pdp .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:has(> :nth-child(2)) {
		margin-left: 0;
		grid-template-columns: repeat(auto-fill, 64px);
		gap: var(--npf-s4) var(--npf-s3);
	}

	.npf-pdp .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:has(> :nth-child(2)) > * {
		grid-column: auto;
	}

	.npf-pdp .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:has(> :nth-child(2)) > :first-child {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.woocommerce div.product.npf-pdp div.images .flex-control-thumbs {
		position: static;
		width: auto;
		margin-top: var(--npf-s4);
		flex-direction: row;
		overflow-x: auto;
	}

	.woocommerce div.product.npf-pdp div.images .flex-control-thumbs li {
		flex: 0 0 64px;
	}

	.npf-pdp__gallery:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image) .npf-pdp__badge {
		left: var(--npf-s4);
	}

	/* With the thumbnails underneath, keep the zoom button on the image. */
	.woocommerce div.product.npf-pdp div.images .woocommerce-product-gallery__trigger {
		top: var(--npf-s4);
		bottom: auto;
	}

	.npf-stepper__btn {
		width: 44px;
		height: 44px;
	}

	.npf-js .npf-pdp form.cart .quantity:not(:has(.npf-stepper)) {
		width: 134px;
		min-height: 56px;
	}

	.npf-pdp form.cart .npf-stepper .qty {
		width: 36px;
	}

	.npf-pdp-reviews__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--npf-s6);
	}

	.npf-related__list {
		grid-auto-columns: minmax(240px, 72%);
		grid-auto-flow: column;
		grid-template-columns: none;
		margin-inline: calc(var(--npf-gutter) * -1);
		padding-inline: var(--npf-gutter);
		overflow-x: auto;
		scroll-padding-inline: var(--npf-gutter);
		scroll-snap-type: x mandatory;
	}

	.npf-related__list > li {
		scroll-snap-align: start;
	}
}

@media (max-width: 767px) {
	.npf-pdp__now {
		font-size: 28px;
	}

	.npf-bundle__panel {
		padding: var(--npf-s5) var(--npf-s4);
		border-radius: var(--npf-r-inner);
	}

	.npf-bundle__items {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--npf-s3);
	}

	.npf-bundle__label {
		display: grid;
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-rows: auto auto;
		column-gap: var(--npf-s4);
		align-items: center;
	}

	.npf-bundle__stage {
		grid-row: 1 / span 2;
	}

	.npf-bundle__tick {
		top: 6px;
		left: 6px;
		width: 24px;
		height: 24px;
	}

	.npf-bundle__name {
		align-self: end;
		font-size: 18px;
	}

	.npf-bundle__price {
		align-self: start;
	}

	.npf-pdp-reviews__average {
		font-size: 56px;
	}

	/* Sit above the mobile quick bar. */
	.npf-stickybar {
		bottom: calc(60px + env(safe-area-inset-bottom));
	}

	body.npf-has-stickybar {
		padding-bottom: 140px;
	}
}

/* ==========================================================================
   20. Cart drawer (spec §7)
   ========================================================================== */

.npf-cart {
	position: fixed;
	inset: 0;
	z-index: var(--npf-z-drawer);
	display: flex;
	justify-content: flex-end;
}

.npf-cart[hidden] {
	display: none;
}

.npf-cart__scrim {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgb(41 37 31 / 58%);
	cursor: pointer;
	animation: npf-fade-in 0.3s var(--npf-ease) both;
}

.npf-cart__panel {
	position: relative;
	display: flex;
	width: min(500px, 100%);
	height: 100%;
	flex-direction: column;
	background: var(--npf-white);
	box-shadow: var(--npf-shadow-lift);
	animation: npf-slide-in 0.45s var(--npf-ease) both;
}

@keyframes npf-slide-in {
	from {
		transform: translateX(100%);
	}

	to {
		transform: none;
	}
}

@keyframes npf-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.npf-cart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s4);
	padding: var(--npf-s5) 28px var(--npf-s4);
	border-bottom: 1px solid var(--npf-line);
}

.npf-cart__title {
	margin: 0;
	font-family: var(--npf-font-display);
	font-size: 32px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.npf-cart__title:focus {
	outline: none;
}

.npf-cart__title:focus-visible {
	outline: 2px solid var(--npf-ink);
	outline-offset: 3px;
}

.npf-cart__count {
	color: var(--npf-ink-2);
	font-family: var(--npf-font-body);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
}

.npf-cart__close {
	border-color: transparent;
	background: var(--npf-surface);
}

/* The fragment: progress, scrolling body and the fixed footer. */
.npf-cart__inner {
	display: flex;
	flex: 1;
	min-height: 0;
	flex-direction: column;
	transition: opacity 0.2s var(--npf-ease);
}

.npf-cart.is-busy .npf-cart__inner {
	opacity: 0.6;
}

/* --- Free-delivery progress -------------------------------------------- */

.npf-cart__progress {
	padding: var(--npf-s4) 28px;
	background: var(--npf-blush);
	color: var(--npf-red-ink);
}

.npf-cart__progress.is-free {
	background: var(--npf-leaf-tint);
	color: var(--npf-leaf-ink);
}

.npf-cart__progress-text {
	display: flex;
	align-items: center;
	gap: var(--npf-s2);
	margin: 0 0 var(--npf-s3);
	font-size: 15px;
	font-weight: 600;
}

.npf-cart__progress-text .npf-icon {
	flex: none;
}

.npf-cart__bar {
	display: block;
	overflow: hidden;
	height: 6px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-white);
}

.npf-cart__bar-fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--npf-red);
	transform: scaleX(var(--npf-progress, 0));
	transform-origin: left center;
	transition: transform 0.6s var(--npf-ease);
}

.is-free .npf-cart__bar-fill {
	background: var(--npf-leaf-ink);
}

/* --- Lines ------------------------------------------------------------- */

.npf-cart__body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 28px var(--npf-s5);
}

.npf-cart__lines {
	margin: 0;
	padding: 0;
	list-style: none;
}

.npf-cart__line {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	gap: var(--npf-s4);
	padding: var(--npf-s5) 0;
	border-bottom: 1px solid var(--npf-line);
}

.npf-cart__thumb {
	display: grid;
	overflow: hidden;
	width: 92px;
	height: 92px;
	place-items: center;
	border-radius: var(--npf-r-sm);
	background: var(--npf-card-bg, var(--npf-surface));
}

.npf-cart__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.npf-cart__name {
	margin: 0 0 var(--npf-s1);
	font-family: var(--npf-font-display);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.2;
}

.npf-cart__name a {
	text-decoration: none;
}

.npf-cart__name a:hover {
	text-decoration: underline;
	text-decoration-color: var(--npf-red);
	text-underline-offset: 3px;
}

.npf-cart__meta {
	margin: 0 0 var(--npf-s3);
	color: var(--npf-ink-2);
	font-size: var(--npf-size-small);
}

.npf-cart__stepper {
	min-height: 0;
	padding: 2px;
	border-color: var(--npf-ink);
}

.npf-cart__stepper .npf-stepper__btn {
	width: 44px;
	height: 44px;
}

.npf-stepper .npf-stepper__input {
	width: 36px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

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

.npf-cart__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--npf-s3);
}

.npf-cart__remove {
	display: grid;
	width: 44px;
	height: 44px;
	margin: -10px -10px 0 0;
	place-items: center;
	border-radius: 50%;
	color: var(--npf-ink-2);
}

.npf-cart__remove:hover {
	background: var(--npf-blush);
	color: var(--npf-red-ink);
}

.npf-cart__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.npf-cart__price .npf-price__mrp {
	font-size: 13px;
	font-weight: 500;
}

/* --- Add a little extra ------------------------------------------------ */

.npf-cart__extras {
	padding-top: var(--npf-s5);
}

.npf-cart__extras-title {
	margin: 0 0 var(--npf-s3);
	color: var(--npf-leaf-ink);
	font-family: var(--npf-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.npf-cart__extras-list {
	display: grid;
	gap: var(--npf-s3);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.npf-cart__extra {
	display: flex;
	flex-direction: column;
	gap: var(--npf-s1);
}

.npf-cart__extra-stage {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	margin-bottom: var(--npf-s1);
	border-radius: var(--npf-r-sm);
	background: var(--npf-card-bg, var(--npf-surface));
}

.npf-cart__extra-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.npf-cart__extra-add {
	position: absolute;
	right: 6px;
	bottom: 6px;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--npf-white);
	box-shadow: var(--npf-shadow-pill);
	color: var(--npf-red-ink);
	cursor: pointer;
	transition: background-color 0.25s var(--npf-ease), color 0.25s var(--npf-ease);
}

.npf-cart__extra-add:hover {
	background: var(--npf-red-ink);
	color: var(--npf-white);
}

.npf-cart__extra-plus,
.npf-cart__extra-check {
	display: grid;
	grid-area: 1 / 1;
	place-items: center;
	transition: transform 0.3s var(--npf-ease-pop), opacity 0.2s var(--npf-ease);
}

.npf-cart__extra-check {
	opacity: 0;
	transform: scale(0.6);
}

.npf-cart__extra-add.is-added {
	background: var(--npf-leaf-ink);
	color: var(--npf-white);
	cursor: default;
}

.npf-cart__extra-add.is-added .npf-cart__extra-plus {
	opacity: 0;
	transform: scale(0.6);
}

.npf-cart__extra-add.is-added .npf-cart__extra-check {
	opacity: 1;
	transform: none;
}

.npf-cart__extra-name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.npf-cart__extra-name:hover {
	text-decoration: underline;
}

.npf-cart__extra-price {
	font-size: 14px;
	font-weight: 700;
}

/* --- Footer ------------------------------------------------------------ */

.npf-cart__foot {
	padding: var(--npf-s4) 28px calc(var(--npf-s4) + env(safe-area-inset-bottom));
	border-top: 1px solid var(--npf-line);
	background: var(--npf-surface);
}

.npf-cart__totals {
	margin: 0 0 var(--npf-s4);
}

.npf-cart__row {
	display: flex;
	justify-content: space-between;
	gap: var(--npf-s4);
	padding: 3px 0;
	font-size: 15px;
}

.npf-cart__row dt {
	color: var(--npf-ink-2);
	font-weight: 500;
}

.npf-cart__row dd {
	margin: 0;
	font-weight: 700;
}

.npf-cart__row--save,
.npf-cart__row--save dt {
	color: var(--npf-leaf-ink);
	font-weight: 600;
}

.npf-cart__checkout {
	width: 100%;
	padding: 0 var(--npf-s6);
}

.npf-cart__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--npf-s2) var(--npf-s4);
	margin-top: var(--npf-s3);
}

.npf-cart__secure {
	margin: 0;
	color: var(--npf-ink-2);
	font-size: 13px;
}

.npf-cart__view {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 14px;
	font-weight: 700;
	text-underline-offset: 3px;
}

/* --- Empty ------------------------------------------------------------- */

.npf-cart__empty {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--npf-s3);
	padding: var(--npf-s7) 28px;
	text-align: center;
}

.npf-cart__empty-icon {
	display: grid;
	width: 72px;
	height: 72px;
	place-items: center;
	border-radius: 50%;
	background: var(--npf-blush);
	color: var(--npf-red-ink);
}

.npf-cart__empty-title {
	margin: 0;
	font-family: var(--npf-font-display);
	font-size: 28px;
}

.npf-cart__empty-text {
	max-width: 32ch;
	margin: 0 0 var(--npf-s3);
	color: var(--npf-ink-2);
}

/* --- Mobile quick-bar badge -------------------------------------------- */

.npf-quickbar__badge:empty {
	display: none;
}

@media (max-width: 767px) {
	.npf-cart__head,
	.npf-cart__progress,
	.npf-cart__foot {
		padding-inline: var(--npf-s4);
	}

	.npf-cart__body {
		padding-inline: var(--npf-s4);
	}

	.npf-cart__title {
		font-size: 26px;
	}

	.npf-cart__line {
		grid-template-columns: 72px minmax(0, 1fr) auto;
		gap: var(--npf-s3);
	}

	.npf-cart__thumb {
		width: 72px;
		height: 72px;
	}

	.npf-cart__name {
		font-size: 17px;
	}
}

/* ==========================================================================
   21. Cart, checkout and account pages (WooCommerce's own, styled only)
   Block and classic markup both. Layout and logic stay WooCommerce's.
   ========================================================================== */

.npf-wcpage {
	max-width: var(--npf-container);
}

.npf-wcpage__title {
	margin-bottom: var(--npf-s6);
	font-size: var(--npf-size-h2);
	line-height: 1;
}

/* --- Shared: fields ---------------------------------------------------- */

.npf-wcpage .wc-block-components-text-input input,
.npf-wcpage .wc-block-components-textarea,
.npf-wcpage .wc-blocks-components-select__select,
.npf-wcpage .wc-block-components-combobox .components-combobox-control input,
.npf-wcpage .woocommerce form .form-row .input-text,
.npf-wcpage .woocommerce form .form-row select,
.npf-wcpage .select2-container .select2-selection--single {
	border: 1px solid var(--npf-line);
	border-radius: var(--npf-r-sm);
	background: var(--npf-white);
	color: var(--npf-ink);
	font-family: var(--npf-font-body);
}

.npf-wcpage .wc-block-components-text-input input,
.npf-wcpage .wc-blocks-components-select__select {
	min-height: 56px;
}

.npf-wcpage .woocommerce form .form-row .input-text,
.npf-wcpage .woocommerce form .form-row select,
.npf-wcpage .select2-container .select2-selection--single {
	min-height: 52px;
	padding-inline: var(--npf-s4);
}

.npf-wcpage .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 50px;
}

.npf-wcpage .select2-container .select2-selection--single .select2-selection__arrow {
	height: 50px;
}

.npf-wcpage .wc-block-components-text-input input:focus,
.npf-wcpage .wc-blocks-components-select__select:focus,
.npf-wcpage .woocommerce form .form-row .input-text:focus,
.npf-wcpage .woocommerce form .form-row select:focus {
	border-color: var(--npf-ink);
	box-shadow: 0 0 0 1px var(--npf-ink);
	outline: none;
}

.npf-wcpage .wc-block-components-text-input label,
.npf-wcpage .wc-blocks-components-select__label {
	color: var(--npf-ink-2);
	font-weight: 500;
}

.npf-wcpage .wc-block-components-validation-error,
.npf-wcpage .woocommerce form .form-row.woocommerce-invalid label {
	color: var(--npf-red-ink);
}

.npf-wcpage .wc-block-components-text-input.has-error input,
.npf-wcpage .woocommerce form .form-row.woocommerce-invalid .input-text {
	border-color: var(--npf-red-ink);
}

/* --- Shared: headings, names, prices ----------------------------------- */

.npf-wcpage .wc-block-components-title.wc-block-components-title,
.npf-wcpage .wc-block-components-checkout-step__title,
.npf-wcpage .woocommerce h2,
.npf-wcpage .woocommerce h3 {
	font-family: var(--npf-font-display);
	font-weight: 400;
	letter-spacing: -0.01em;
}

.npf-wcpage .wc-block-components-checkout-step__title {
	font-size: 24px;
}

.npf-wcpage .wc-block-cart-items__header,
.npf-wcpage .wc-block-cart__totals-title.wc-block-cart__totals-title,
.npf-wcpage .woocommerce table.shop_table th {
	color: var(--npf-ink-2);
	font-family: var(--npf-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.npf-wcpage .wc-block-components-product-name,
.npf-wcpage .woocommerce table.shop_table td.product-name a {
	color: var(--npf-ink);
	font-family: var(--npf-font-display);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
}

.npf-wcpage .wc-block-components-order-summary .wc-block-components-product-name {
	font-size: 16px;
}

.npf-wcpage .wc-block-components-product-name:hover {
	text-decoration: underline;
	text-decoration-color: var(--npf-red);
	text-underline-offset: 3px;
}

.npf-wcpage .wc-block-components-product-price,
.npf-wcpage .wc-block-cart-item__total .wc-block-components-formatted-money-amount {
	color: var(--npf-ink);
	font-weight: 700;
}

.npf-wcpage .wc-block-components-product-price__regular,
.npf-wcpage del {
	color: var(--npf-ink-2);
	font-weight: 500;
}

.npf-wcpage .wc-block-components-product-metadata,
.npf-wcpage .wc-block-components-product-metadata__description {
	color: var(--npf-ink-2);
}

/* "Save ₹50" — a real saving, shown as the leaf chip. */
.npf-wcpage .wc-block-components-sale-badge {
	border: 0;
	border-radius: var(--npf-r-pill);
	background: var(--npf-leaf-tint);
	color: var(--npf-leaf-ink);
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
}

.npf-wcpage .wc-block-cart-item__image img,
.npf-wcpage .wc-block-components-order-summary-item__image img,
.npf-wcpage .woocommerce table.shop_table img {
	border-radius: var(--npf-r-sm);
}

.npf-wcpage .wc-block-cart-item__image img {
	aspect-ratio: 1;
	object-fit: cover;
}

/* Order-summary quantity bubble: charcoal. */
.npf-wcpage .wc-block-components-order-summary-item__quantity {
	border-color: var(--npf-white);
	background: var(--npf-ink);
	color: var(--npf-white);
	box-shadow: none;
}

/* --- Quantity selector ------------------------------------------------- */

.npf-wcpage .wc-block-components-quantity-selector {
	overflow: hidden;
	border: 1.5px solid var(--npf-ink);
	border-radius: var(--npf-r-pill);
}

.npf-wcpage .wc-block-components-quantity-selector::after {
	border: 0;
}

.npf-wcpage .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	min-height: 44px;
	border: 0;
	font-size: 16px;
	font-weight: 700;
}

.npf-wcpage .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	min-width: 44px;
	min-height: 44px;
	color: var(--npf-ink);
	font-size: 18px;
	opacity: 1;
}

.npf-wcpage .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
	background: var(--npf-surface);
}

.npf-wcpage .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled {
	color: var(--npf-ink-3);
}

.npf-wcpage .wc-block-cart-item__remove-link {
	min-width: 44px;
	min-height: 44px;
	border-radius: 50%;
	color: var(--npf-ink-2);
}

.npf-wcpage .wc-block-cart-item__remove-link:hover {
	background: var(--npf-blush);
	color: var(--npf-red-ink);
}

/* --- Totals panel and order summary ------------------------------------ */

.npf-wcpage .wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block,
.npf-wcpage .wp-block-woocommerce-checkout-order-summary-block {
	padding: var(--npf-s5);
	border: 0;
	border-radius: var(--npf-r-card);
	background: var(--npf-surface);
}

.npf-wcpage .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
	padding-inline: 0;
}

.npf-wcpage .wc-block-components-totals-wrapper {
	border-color: var(--npf-line);
}

.npf-wcpage .wc-block-components-totals-item__label,
.npf-wcpage .wc-block-components-totals-item__description {
	color: var(--npf-ink-2);
}

.npf-wcpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.npf-wcpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--npf-ink);
	font-size: 22px;
	font-weight: 700;
}

/* --- Radio cards (shipping and payment options) ------------------------ */

.npf-wcpage .wc-block-components-radio-control--highlight-checked,
.npf-wcpage .wc-block-components-radio-control-accordion-option {
	border-radius: var(--npf-r-sm);
}

.npf-wcpage .wc-block-components-radio-control--highlight-checked::after,
.npf-wcpage .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.npf-wcpage .wc-block-components-radio-control__option--checked-option-highlighted {
	border-radius: var(--npf-r-sm);
	box-shadow: inset 0 0 0 1.5px var(--npf-ink);
}

.npf-wcpage .wc-block-components-radio-control .wc-block-components-radio-control__input,
.npf-wcpage .wc-block-components-checkbox .wc-block-components-checkbox__input[type='checkbox'] {
	border-color: var(--npf-ink-2);
}

.npf-wcpage .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	border-color: var(--npf-ink);
}

.npf-wcpage .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
	background: var(--npf-ink);
}

.npf-wcpage .wc-block-components-checkbox .wc-block-components-checkbox__input[type='checkbox']:checked {
	border-color: var(--npf-ink);
	background: var(--npf-ink);
}

.npf-wcpage .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: var(--npf-white);
}

/* --- Primary actions: Proceed to checkout, Place order ----------------- */

/*
 * Brand primary pill. These labels can wrap or shrink inside WooCommerce's
 * layout, so they stay on --npf-red-ink (5.5:1) rather than --npf-red.
 */
.npf-wcpage .wc-block-components-button:not(.is-link).contained,
.npf-wcpage .wc-block-cart__submit-button,
.npf-wcpage .wc-block-components-checkout-place-order-button,
.npf-wcpage .woocommerce a.checkout-button,
.npf-wcpage .woocommerce #place_order {
	min-height: 60px;
	border-radius: var(--npf-r-pill);
	background: var(--npf-red-ink);
	box-shadow: var(--npf-shadow-glow);
	color: var(--npf-white);
	font-family: var(--npf-font-body);
	font-size: 16px;
	font-weight: 700;
}

.npf-wcpage .wc-block-components-button:not(.is-link).contained:hover,
.npf-wcpage .wc-block-cart__submit-button:hover,
.npf-wcpage .wc-block-components-checkout-place-order-button:hover,
.npf-wcpage .woocommerce a.checkout-button:hover,
.npf-wcpage .woocommerce #place_order:hover {
	background: var(--npf-red-deep);
	color: var(--npf-white);
}

.npf-wcpage .wc-block-components-button.outlined,
.npf-wcpage .wc-block-components-totals-coupon__button {
	border: 1.5px solid var(--npf-ink);
	border-radius: var(--npf-r-pill);
	background: none;
	box-shadow: none;
	color: var(--npf-ink);
}

.npf-wcpage .wc-block-components-panel__button,
.npf-wcpage .wc-block-components-checkout-return-to-cart-button,
.npf-wcpage .wc-block-checkout__terms a,
.npf-wcpage .woocommerce-privacy-policy-text a {
	color: var(--npf-ink);
	font-weight: 600;
}

.npf-wcpage .wc-block-checkout__terms a,
.npf-wcpage .woocommerce-privacy-policy-text a {
	text-decoration-color: var(--npf-red);
	text-underline-offset: 3px;
}

/* --- Block notices ----------------------------------------------------- */

.wc-block-components-notice-banner {
	border: 0;
	border-radius: var(--npf-r-inner);
	background: var(--npf-surface);
	color: var(--npf-ink);
	font-size: 15px;
}

.wc-block-components-notice-banner.is-success {
	background: var(--npf-leaf-tint);
	color: var(--npf-leaf-ink);
}

.wc-block-components-notice-banner.is-error {
	background: var(--npf-blush);
	color: var(--npf-red-ink);
}

.wc-block-components-notice-banner > svg {
	border-radius: 50%;
	background: currentColor;
	fill: var(--npf-white);
}

.wc-block-components-notice-banner .wc-block-components-notice-banner__content .wc-forward {
	color: inherit;
	font-weight: 700;
	opacity: 1;
}

/* --- Empty cart (block) ------------------------------------------------ */

.npf-wcpage .wc-block-cart__empty-cart__title {
	font-family: var(--npf-font-display);
	font-size: 32px;
	font-weight: 400;
}

.npf-wcpage .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	background-color: var(--npf-red-ink);
}

/* --- Classic cart and checkout ----------------------------------------- */

.npf-wcpage .woocommerce table.shop_table {
	overflow: hidden;
	border: 1px solid var(--npf-line);
	border-collapse: separate;
	border-radius: var(--npf-r-inner);
}

.npf-wcpage .woocommerce table.shop_table td,
.npf-wcpage .woocommerce table.shop_table th {
	padding: var(--npf-s4);
	border-color: var(--npf-line);
}

.npf-wcpage .woocommerce table.shop_table td.product-remove a.remove {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	color: var(--npf-red-ink) !important;
	font-size: 22px;
}

.npf-wcpage .woocommerce table.shop_table td.product-remove a.remove:hover {
	background: var(--npf-blush);
}

.npf-wcpage .woocommerce .quantity .qty {
	width: 72px;
	min-height: 48px;
	border-radius: var(--npf-r-pill);
	text-align: center;
}

.npf-wcpage .woocommerce .cart_totals,
.npf-wcpage .woocommerce-checkout #payment,
.npf-wcpage .woocommerce-checkout-review-order {
	border-radius: var(--npf-r-card);
}

.npf-wcpage .woocommerce .cart_totals {
	padding: var(--npf-s5);
	background: var(--npf-surface);
}

.npf-wcpage .woocommerce-checkout #payment {
	background: var(--npf-surface);
}

.npf-wcpage .woocommerce-checkout #payment div.payment_box {
	border-radius: var(--npf-r-sm);
	background: var(--npf-white);
	color: var(--npf-ink-2);
}

.npf-wcpage .woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--npf-white);
}

.npf-wcpage .woocommerce #place_order {
	width: 100%;
}

/* --- My account -------------------------------------------------------- */

.npf-wcpage .woocommerce-account .woocommerce,
.woocommerce-account .npf-wcpage .woocommerce {
	display: grid;
	gap: var(--npf-s7);
	grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
	align-items: start;
}

.woocommerce-account .npf-wcpage .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-account .npf-wcpage .woocommerce > :only-child,
.woocommerce-account:not(.logged-in) .npf-wcpage .woocommerce > * {
	grid-column: 1 / -1;
}

.woocommerce-account .npf-wcpage .woocommerce-MyAccount-navigation,
.woocommerce-account .npf-wcpage .woocommerce-MyAccount-content {
	width: auto;
	float: none;
}

.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 6px;
	border-radius: var(--npf-r-inner);
	background: var(--npf-surface);
	list-style: none;
}

.woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--npf-s4);
	border-radius: var(--npf-r-pill);
	color: var(--npf-ink);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-MyAccount-navigation a:hover {
	background: var(--npf-white);
}

.woocommerce-MyAccount-navigation .is-active a {
	background: var(--npf-white);
	box-shadow: var(--npf-shadow-pill);
}

.npf-wcpage .woocommerce form.login,
.npf-wcpage .woocommerce form.register,
.npf-wcpage .woocommerce form.lost_reset_password {
	max-width: 560px;
	margin: 0 0 var(--npf-s6);
	padding: var(--npf-s6);
	border: 0;
	border-radius: var(--npf-r-card);
	background: var(--npf-surface);
}

.npf-wcpage .woocommerce form.login .button,
.npf-wcpage .woocommerce form.register .button,
.npf-wcpage .woocommerce form.lost_reset_password .button {
	min-width: 140px;
}

.npf-wcpage .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: var(--npf-s2);
	min-height: 52px;
	margin: 0 0 0 var(--npf-s4);
}

.npf-wcpage .woocommerce-LostPassword a,
.npf-wcpage .woocommerce-MyAccount-content a:not(.button) {
	color: var(--npf-ink);
	font-weight: 600;
	text-decoration-color: var(--npf-red);
	text-underline-offset: 3px;
}

.npf-wcpage .woocommerce .col2-set .col-1,
.npf-wcpage .woocommerce .col2-set .col-2 {
	max-width: none;
}

.npf-wcpage .woocommerce-Address {
	padding: var(--npf-s5);
	border-radius: var(--npf-r-inner);
	background: var(--npf-surface);
}

@media (max-width: 767px) {
	.npf-wcpage__title {
		margin-bottom: var(--npf-s5);
	}

	.woocommerce-account .npf-wcpage .woocommerce {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--npf-s5);
	}

	.woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		overflow-x: auto;
		border-radius: var(--npf-r-pill);
		scroll-snap-type: x mandatory;
	}

	.woocommerce-MyAccount-navigation li {
		flex: none;
		scroll-snap-align: start;
	}

	.npf-wcpage .woocommerce form.login,
	.npf-wcpage .woocommerce form.register {
		padding: var(--npf-s5);
	}

	.npf-wcpage .wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block,
	.npf-wcpage .wp-block-woocommerce-checkout-order-summary-block {
		padding: var(--npf-s4);
		border-radius: var(--npf-r-inner);
	}
}

.npf-wcpage .woocommerce h2 {
	margin-bottom: var(--npf-s4);
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.1;
}

/* WooCommerce's show-password toggle, enlarged to the 44px target. */
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
	top: 50%;
	right: 4px;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 50%;
	transform: translateY(-50%);
}

/*
 * Bestsellers: up to 8 products, shown 4 at a time (spec §4). app.js caps
 * each tab at four; until it runs (npf-js set, grid not yet filtered) the
 * CSS does the same so cards 5–8 never flash in.
 */
.npf-js [data-npf-filter-grid]:not(.is-filtered) > .npf-card-item:nth-child(n+5) {
	display: none;
}

/*
 * WooCommerce's hover zoom image is far larger than the slide. Firefox
 * hit-tests it outside the slide's clipped area, so the invisible image
 * swallowed clicks on the summary beside the gallery (the quantity buttons).
 * jQuery Zoom listens on the slide, not the image, so zoom still works.
 */
.npf-pdp .woocommerce-product-gallery .zoomImg {
	pointer-events: none;
}

/* --- Order received (and the account's order view) ----------------------- */

.npf-wcpage .woocommerce-thankyou-order-received {
	display: flex;
	align-items: center;
	gap: var(--npf-s3);
	margin: 0 0 var(--npf-s5);
	padding: var(--npf-s4) var(--npf-s5);
	border-radius: var(--npf-r-inner);
	background: var(--npf-leaf-tint);
	color: var(--npf-leaf-ink);
	font-size: 17px;
	font-weight: 700;
}

.npf-wcpage .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: var(--npf-s4) 0;
	margin: 0 0 var(--npf-s6);
	padding: var(--npf-s5);
	border-radius: var(--npf-r-inner);
	background: var(--npf-surface);
}

.npf-wcpage .woocommerce-order-overview li {
	color: var(--npf-ink-2);
	border-color: var(--npf-line);
}

.npf-wcpage .woocommerce-order-overview li strong {
	color: var(--npf-ink);
}

.npf-wcpage .woocommerce-customer-details address {
	padding: var(--npf-s5);
	border: 0;
	border-radius: var(--npf-r-inner);
	background: var(--npf-surface);
	line-height: 1.7;
}

/*
 * WooCommerce's small-screen tables hide each row's <th> — which is where
 * the order number lives in My account → Orders. Show it as the card's
 * first line, labelled like the other rows.
 */
@media (max-width: 768px) {
	.npf-wcpage .woocommerce table.shop_table_responsive tbody th {
		display: flex;
		justify-content: space-between;
		gap: var(--npf-s3);
		padding: var(--npf-s4);
		border-bottom: 1px solid var(--npf-line);
		font-weight: 700;
		text-align: right;
	}

	.npf-wcpage .woocommerce table.shop_table_responsive tbody th::before {
		content: attr(data-title) ":";
		font-weight: 700;
		text-align: left;
	}
}

/* --- Razorpay (official plugin): the order-pay "Pay Now / Cancel" pair --- */

.npf-wcpage #btn-razorpay,
.npf-wcpage #btn-razorpay-cancel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	margin: var(--npf-s3) var(--npf-s3) 0 0;
	padding: 0 var(--npf-s6);
	border-radius: var(--npf-r-pill);
	cursor: pointer;
	font-family: var(--npf-font-body);
	font-size: 16px;
	font-weight: 700;
	transition: background-color 0.25s var(--npf-ease), color 0.25s var(--npf-ease);
}

.npf-wcpage #btn-razorpay {
	border: 0;
	background: var(--npf-red-ink);
	box-shadow: var(--npf-shadow-glow);
	color: var(--npf-white);
}

.npf-wcpage #btn-razorpay:hover {
	background: var(--npf-red-deep);
}

.npf-wcpage #btn-razorpay-cancel {
	border: 1.5px solid var(--npf-ink);
	background: none;
	color: var(--npf-ink);
}

.npf-wcpage #btn-razorpay-cancel:hover {
	background: var(--npf-ink);
	color: var(--npf-white);
}

.npf-wcpage #btn-razorpay[disabled],
.npf-wcpage #btn-razorpay-cancel[disabled] {
	cursor: default;
	opacity: 0.6;
}

/*
 * Block cart rows: the quantity pill and the remove button share a line;
 * on very narrow phones (320px) let the remove button drop below rather
 * than pushing the line total off-screen.
 */
.npf-wcpage .wc-block-cart-item__quantity {
	flex-wrap: wrap;
	row-gap: var(--npf-s2);
}

/* WooCommerce block toggles ("Add coupons", "+ Add apartment…"): 44px taps. */
.npf-wcpage .wc-block-components-panel__button,
.npf-wcpage .wc-block-components-address-form__address_2-toggle {
	display: flex;
	align-items: center;
	min-height: 44px;
}

/*
 * Bestsellers show four at a time (spec §4): four across on desktop and
 * 2 × 2 below, so a fourth card is never left alone on its own row.
 */
#npf-best-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1023px) {
	#npf-best-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Very small phones (≤374px): two-column cards are ~140px wide, so let a
   long label such as "Choose size" wrap rather than overflow the card. */
@media (max-width: 374px) {
	.npf-card__add {
		padding: 0 12px;
		line-height: 1.15;
		text-align: center;
		white-space: normal;
	}
}

/* The rating never shrinks; on narrow cards it drops under the pack line. */
.npf-card__metarow .npf-rating {
	flex: none;
	white-space: nowrap;
}

/* ==========================================================================
   22. Homepage on phones and tablets (spec §4 mobile column)
   ========================================================================== */

/*
 * Swipe rows: mandatory snapping aligns a card to the scroller's edge and
 * ignores padding, so the first card sat flush against the screen. The
 * scroll padding makes snapping respect the page gutter.
 */
.npf-reviews__row,
.npf-collections__row {
	scroll-padding-inline: var(--npf-gutter);
}

@media (max-width: 767px) {
	/* Tab capsules stay one line and scroll sideways instead of wrapping. */
	.npf-tabs {
		display: flex;
		flex-wrap: nowrap;
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.npf-tabs::-webkit-scrollbar {
		display: none;
	}

	.npf-tab {
		flex: none;
		white-space: nowrap;
	}

	/* Kitchen rules: the pack sits centred above the four promises. */
	.npf-rules__pack {
		display: block;
		margin-inline: auto;
	}
}

@media (max-width: 1023px) {
	/*
	 * Category tiles: the desktop image widths are percentages of a
	 * quarter-width tile, which left slivers on full-width phone tiles.
	 * Size the art by the tile's height instead, keep it in the corner,
	 * and give wide tiles a text column that stays clear of it.
	 */
	.npf-bento__img {
		right: 6%;
		bottom: 6%;
		width: auto;
		max-width: 40%;
		height: 46%;
		object-fit: contain;
		object-position: right bottom;
	}

	.is-2x2 .npf-bento__img,
	.is-2x1 .npf-bento__img {
		right: 3%;
		bottom: -4%;
		max-width: 50%;
		height: 86%;
	}

	.is-2x2 .npf-bento__text,
	.is-2x1 .npf-bento__text {
		right: 48%;
	}
}

/* Category tiles on narrow phones (≤400px): tighter insets, smaller titles
   and art, so title, picture and arrow never collide. */
@media (max-width: 400px) {
	.npf-bento__text {
		top: 20px;
		right: 20px;
		left: 20px;
	}

	.npf-bento__arrow {
		bottom: 18px;
		left: 20px;
		width: 46px;
		height: 46px;
	}

	.npf-bento__title {
		font-size: 22px;
	}

	.is-2x2 .npf-bento__title,
	.is-2x1 .npf-bento__title {
		font-size: 28px;
	}

	.npf-bento__img {
		right: 5%;
		bottom: 5%;
		max-width: 36%;
		height: 40%;
	}
}

@media (max-width: 359px) {
	.is-2x2 .npf-bento__title,
	.is-2x1 .npf-bento__title {
		font-size: 25px;
	}

	.is-2x2 .npf-bento__text,
	.is-2x1 .npf-bento__text {
		right: 42%;
	}

	.is-2x2 .npf-bento__img,
	.is-2x1 .npf-bento__img {
		max-width: 40%;
	}
}

/* Wide desktop tiles: the title column stops short of the motifs. */
@media (min-width: 1024px) {
	.is-2x2 .npf-bento__text,
	.is-2x1 .npf-bento__text {
		right: calc(36px + var(--npf-motif-space, 0px));
	}
}

@media (max-width: 1023px) {
	/* Madhubani motifs at 70% size (spec §4.3 mobile column). */
	.npf-bento__motif {
		width: calc(var(--npf-motif-w, 80px) * 0.7);
	}
}

@media (max-width: 1279px) {
	/*
	 * On narrower single tiles the title fills the top, so the motif moves
	 * to the free space just above the arrow and clear of the picture.
	 */
	.npf-bento__cell:not(.is-2x2, .is-2x1) .npf-bento__motifs {
		right: auto;
		left: 22px;
		top: auto;
		bottom: 88px;
	}
}

@media (max-width: 400px) {
	.npf-bento__cell:not(.is-2x2, .is-2x1) .npf-bento__motifs {
		left: 16px;
		bottom: 72px;
	}

	.npf-bento__motif {
		width: calc(var(--npf-motif-w, 80px) * 0.55);
	}

	/* Combos and gifting keep one motif, clear of the two-line note. */
	.npf-bento__motif + .npf-bento__motif {
		display: none;
	}
}

/* ==========================================================================
   23. Character moments (D2 §2b): empty cart, 404, order received
   ========================================================================== */

.npf-moment {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--npf-s3);
	margin: 0 0 var(--npf-s5);
	text-align: center;
}

.npf-moment__art {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: var(--npf-s2);
}

.npf-moment__img {
	width: var(--npf-moment-w, 120px);
	height: auto;
}

/* Side by side, Pihu stays the smaller of the two, as on the labels. */
.npf-moment__img--maa + .npf-moment__img--pihu {
	width: calc(var(--npf-moment-w, 120px) * 0.64);
}

.npf-moment__line {
	margin: 0;
	color: var(--npf-ink-2);
	font-family: var(--npf-font-display);
	font-size: 20px;
	font-style: italic;
}

.npf-404__moment {
	align-items: flex-start;
	text-align: left;
}

.npf-thankyou__moment {
	padding: var(--npf-s5);
	border-radius: var(--npf-r-card);
	background: var(--npf-cream);
}

@media (max-width: 400px) {
	.npf-moment__img {
		width: min(var(--npf-moment-w, 120px), 40vw);
	}
}
