/* ==========================================================================
   NRF Select — design system on top of Flatsome
   --------------------------------------------------------------------------
   1. Tokens            6. Shop archive
   2. Base              7. Single product
   3. Buttons & forms   8. Homepage
   4. Header            9. Footer
   5. Page titles       10. Utilities & third-party
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */

:root {
	/* Palette: warm paper, charcoal ink, oak accent. */
	--nrf-paper: #f7f3ec;
	--nrf-paper-2: #fbf8f3;
	--nrf-surface: #ffffff;
	--nrf-sand: #efe8dc;
	--nrf-sand-2: #e8dfd0;
	--nrf-line: #e3dacb;
	--nrf-line-strong: #cdbfaa;
	--nrf-ink: #1f1b17;
	--nrf-ink-2: #3b352f;
	--nrf-muted: #6b6258;
	--nrf-accent: #8c5a2b;
	--nrf-accent-deep: #6f4520;
	--nrf-accent-soft: #f3e6d6;
	--nrf-on-dark: #f4eee5;
	--nrf-on-dark-muted: rgba(244, 238, 229, 0.68);

	/* Type. */
	--nrf-font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--nrf-font-serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
	--nrf-fs-display: clamp(2.75rem, 1.65rem + 4.1vw, 5rem);
	--nrf-fs-h2: clamp(2rem, 1.45rem + 2.1vw, 3.1rem);
	--nrf-fs-h3: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
	--nrf-fs-lede: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);

	/* Shape and depth. */
	--nrf-r-sm: 8px;
	--nrf-r: 12px;
	--nrf-r-lg: 18px;
	--nrf-r-xl: 26px;
	--nrf-shadow-sm: 0 1px 2px rgba(31, 27, 23, 0.06), 0 2px 8px -2px rgba(31, 27, 23, 0.06);
	--nrf-shadow: 0 2px 4px rgba(31, 27, 23, 0.04), 0 18px 48px -14px rgba(31, 27, 23, 0.22);

	/* Motion. */
	--nrf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--nrf-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	/* Layout: matches Flatsome's .container at site_width 1270. */
	--nrf-wide: 1240px;
	--nrf-gutter: 15px;
	--nrf-section: clamp(64px, 5rem + 3vw, 128px);
}

/* 2. Base
   ========================================================================== */

html {
	background-color: var(--nrf-paper);
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--nrf-font-sans);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--nrf-ink-2);
	background-color: var(--nrf-paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

#wrapper,
#main {
	background-color: var(--nrf-paper);
}

/* Color only on light backgrounds: Flatsome's .dark sections keep white headings. */
h1, h2, h3, h4, h5, h6,
.heading-font {
	font-family: var(--nrf-font-serif);
	font-weight: 450;
	letter-spacing: -0.012em;
	line-height: 1.15;
	font-optical-sizing: auto;
}

:where(h1, h2, h3, h4, h5, h6, .heading-font):not(.dark *) {
	color: var(--nrf-ink);
}

.banner h1, .banner h2, .banner h3 {
	font-family: var(--nrf-font-serif);
	font-weight: 450;
	letter-spacing: -0.012em;
	line-height: 1.15;
	font-optical-sizing: auto;
}

h1 { letter-spacing: -0.02em; }

h5, h6 {
	font-family: var(--nrf-font-sans);
	font-weight: 600;
	letter-spacing: 0;
}

.alt-font { font-family: var(--nrf-font-serif); font-style: italic; }

p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

a {
	color: var(--nrf-ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s var(--nrf-ease);
}

a:hover { color: var(--nrf-accent); }

strong, b { font-weight: 600; }

::selection {
	background: var(--nrf-accent-soft);
	color: var(--nrf-ink);
}

:focus:not(:focus-visible) { outline: none; }

:focus-visible,
.nav > li > a:focus-visible {
	outline: 2px solid var(--nrf-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* On dark surfaces the oak ring is too faint; use the light tan. */
.dark :focus-visible,
.header-top :focus-visible,
.nrf-panel--dark :focus-visible,
.nrf-footer :focus-visible {
	outline-color: #d9a876;
}

.is-divider {
	height: 1px;
	max-width: 32px;
	background-color: var(--nrf-accent);
	opacity: 1;
}

hr { border-color: var(--nrf-line); }

/* 3. Buttons & forms
   ========================================================================== */

.button,
button.button,
input[type="submit"],
.woocommerce-Button {
	font-family: var(--nrf-font-sans);
	font-weight: 600;
	letter-spacing: 0.005em;
	text-transform: none;
	border-radius: var(--nrf-r);
	transition: background-color 0.2s var(--nrf-ease), border-color 0.2s var(--nrf-ease), color 0.2s var(--nrf-ease), box-shadow 0.2s var(--nrf-ease);
}

/* Full-size text buttons only: Flatsome's small, icon and link buttons keep their own sizing. */
:is(.button, button.button, input[type="submit"], .woocommerce-Button):not(.is-small):not(.is-xsmall):not(.is-smaller):not(.icon):not(.is-link) {
	font-size: 0.95rem;
	min-height: 48px;
	line-height: 46px;
	padding: 0 1.5em;
}

.button.primary:not(.is-outline),
input[type="submit"].button,
input[type="submit"],
.button.alt,
.button.checkout,
.single_add_to_cart_button {
	background-color: var(--nrf-ink);
	border-color: var(--nrf-ink);
	color: var(--nrf-paper-2);
}

.button.primary:not(.is-outline):hover,
input[type="submit"]:hover,
.button.alt:hover,
.single_add_to_cart_button:hover {
	background-color: var(--nrf-accent);
	border-color: var(--nrf-accent);
	color: #fff;
	box-shadow: none;
}

.button.secondary:not(.is-outline) {
	background-color: var(--nrf-accent);
	color: #fff;
}

.button.secondary:not(.is-outline):hover {
	background-color: var(--nrf-accent-deep);
	box-shadow: none;
}

.button.is-outline {
	border: 1px solid var(--nrf-line-strong);
	color: var(--nrf-ink);
}

.button.is-outline:hover {
	background-color: var(--nrf-ink);
	border-color: var(--nrf-ink);
	color: var(--nrf-paper-2);
}

/* Quantity fields and multi-selects keep Flatsome's compact sizing. */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"]:not(.qty),
input[type="date"],
select:not([multiple]),
textarea {
	font-family: var(--nrf-font-sans);
	font-size: 0.95rem;
	color: var(--nrf-ink);
	background-color: var(--nrf-surface);
	border: 1px solid var(--nrf-line-strong);
	border-radius: var(--nrf-r);
	box-shadow: none;
	height: 48px;
	padding: 0 14px;
	transition: border-color 0.2s var(--nrf-ease), box-shadow 0.2s var(--nrf-ease);
}

textarea {
	height: auto;
	min-height: 140px;
	padding: 12px 14px;
}

select:not([multiple]) {
	padding-right: 40px;
	background-position: right 14px center;
}

input:hover,
select:hover,
textarea:hover {
	border-color: var(--nrf-muted);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
	border-color: var(--nrf-ink);
	box-shadow: 0 0 0 4px rgba(140, 90, 43, 0.16);
	background-color: var(--nrf-surface);
}

::placeholder { color: #7f756b; opacity: 1; }

/* Field labels only; checkbox and radio labels stay regular weight. */
label:not(:has(> input[type="checkbox"], > input[type="radio"])),
legend {
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--nrf-ink);
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--nrf-accent);
}

/* Search bar: input and button read as one control. */
.searchform .flex-row {
	align-items: stretch;
}

.searchform .search-field {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.searchform .button.icon {
	min-height: 48px;
	height: 48px;
	width: 48px;
	margin: 0;
	border-radius: 0 var(--nrf-r) var(--nrf-r) 0;
	background-color: var(--nrf-ink);
	color: var(--nrf-paper-2);
}

.searchform .button.icon:hover {
	background-color: var(--nrf-accent);
}

/* 4. Header
   ========================================================================== */

/* Top bar: slim dark utility strip. */
.header-top {
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}

.header-top .nav > li > a,
.top-bar-nav > li > a {
	font-weight: 500;
	font-size: 0.8125rem;
	padding-top: 0;
	padding-bottom: 0;
}

.header-top .nav-divided > li + li > a:after {
	border-left-color: rgba(244, 238, 229, 0.22);
}

/* Main bar. The solid background sits inside #masthead's own stacking
   context so the logo's multiply blend has something to blend against. */
.header-main {
	background-color: var(--nrf-paper-2);
	border-bottom: 1px solid var(--nrf-line);
}

.header-wrapper.stuck {
	box-shadow: 0 1px 0 var(--nrf-line), 0 10px 30px -18px rgba(31, 27, 23, 0.3);
}

/* The current logo is a PNG with a white box. Multiply drops the white
   onto the warm header. A transparent PNG or SVG works the same way. */
#logo img {
	mix-blend-mode: multiply;
}

#logo {
	margin-right: clamp(16px, 3vw, 44px);
}

/* Primary navigation. */
.header-main .header-nav-main > li {
	margin: 0 clamp(10px, 1.1vw, 18px);
}

.header-main .header-nav-main > li:first-child {
	margin-left: 0;
}

.header-main .nav > li > a {
	font-family: var(--nrf-font-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.005em;
	color: var(--nrf-ink);
	position: relative;
}

/* Text menu links sit flush; icon links (menu, search, account) keep their tap area. */
.header-main .header-nav-main > li:not(.has-icon) > a {
	padding: 0;
}

.header-main .header-nav-main > li > a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(50% - 1em);
	height: 1px;
	background: var(--nrf-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.35s var(--nrf-ease-out);
}

.header-main .header-nav-main > li:hover > a::before,
.header-main .header-nav-main > li.active > a::before,
.header-main .header-nav-main > li.current-menu-ancestor > a::before {
	transform: scaleX(1);
	transform-origin: left;
}

.header-main .nav > li > a .icon-angle-down {
	font-size: 0.75em;
	opacity: 0.45;
	margin-left: 4px;
	transition: transform 0.25s var(--nrf-ease), opacity 0.2s;
}

.header-main .nav > li.has-dropdown:hover > a .icon-angle-down {
	transform: rotate(180deg);
	opacity: 0.8;
}

/* Dropdowns: floating panel, no arrow tab. */
.nav-dropdown-has-arrow li.has-dropdown::before,
.nav-dropdown-has-arrow li.has-dropdown::after {
	display: none !important;
}

.nav-dropdown {
	min-width: 248px;
	padding: 8px;
	border: 1px solid var(--nrf-line);
	border-radius: 14px;
	background: var(--nrf-surface);
	box-shadow: var(--nrf-shadow);
	transform: translateY(8px);
	transition: opacity 0.22s var(--nrf-ease), visibility 0.22s, transform 0.3s var(--nrf-ease-out);
}

.nav-dropdown-has-shadow .nav-dropdown {
	box-shadow: var(--nrf-shadow);
}

.has-dropdown:hover > .nav-dropdown,
.has-dropdown.current-dropdown > .nav-dropdown,
.nav-dropdown.nav-dropdown-active {
	transform: translateY(0);
}

.nav-dropdown > li > a,
.nav-dropdown-default > li > a,
.nav-column li > a {
	font-family: var(--nrf-font-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--nrf-ink-2);
	padding: 10px 14px;
	margin: 0;
	border: 0 !important;
	border-radius: var(--nrf-r-sm);
	line-height: 1.35;
	transition: background-color 0.18s var(--nrf-ease), color 0.18s var(--nrf-ease);
}

.nav-dropdown > li > a:hover,
.nav-dropdown-default > li > a:hover,
.nav-column li > a:hover {
	background-color: var(--nrf-paper);
	color: var(--nrf-ink);
}

.nav-dropdown > li.active > a {
	color: var(--nrf-accent);
}

.nav-dropdown > li > a,
.nav-dropdown .nav-column > li > a {
	white-space: nowrap;
}

/* Column dropdowns: the column title reads as a small label. */
.nav-dropdown > li.nav-dropdown-col {
	min-width: 200px;
	padding: 0 4px;
}

.nav-dropdown > li.nav-dropdown-col + li.nav-dropdown-col,
.nav-dropdown > li:not(.nav-dropdown-col) + li.nav-dropdown-col {
	border-left: 1px solid var(--nrf-line);
	margin-left: 4px;
	padding-left: 8px;
}

.nav-dropdown > li.nav-dropdown-col > a {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nrf-muted);
	padding: 10px 14px 6px;
}

.nav-dropdown > li.nav-dropdown-col > a:hover {
	background: transparent;
	color: var(--nrf-accent);
}

/* Header search: quiet ring icon on the right. */
.header-search .header-button .button.icon,
.header-search > a {
	width: 42px;
	height: 42px;
	min-height: 42px;
	line-height: 40px;
	padding: 0;
	border-radius: 50%;
	background: transparent;
	border: 1px solid var(--nrf-line-strong);
	color: var(--nrf-ink);
	box-shadow: none;
}

.header-search .header-button .button.icon:hover,
.header-search.current-dropdown .header-button .button.icon {
	background: var(--nrf-ink);
	border-color: var(--nrf-ink);
	color: var(--nrf-paper-2);
}

.header-search .nav-dropdown {
	min-width: 340px;
	padding: 12px;
}

.header-search .nav-dropdown .searchform {
	padding: 0;
}

.live-search-results {
	border-radius: var(--nrf-r);
	box-shadow: var(--nrf-shadow);
	overflow: hidden;
}

/* Mobile header and off-canvas menu. */
@media (max-width: 849px) {
	#logo img {
		max-height: 52px;
	}
}

.off-canvas .mfp-content,
.mobile-sidebar {
	background-color: var(--nrf-paper-2);
}

.off-canvas .nav-vertical > li > a,
.mobile-sidebar .nav > li > a {
	font-family: var(--nrf-font-serif);
	font-size: 1.3rem;
	font-weight: 450;
	color: var(--nrf-ink);
	text-transform: none;
	letter-spacing: -0.01em;
	padding-top: 16px;
	padding-bottom: 16px;
}

.off-canvas .nav-vertical li li > a,
.mobile-sidebar .nav > li > ul > li > a {
	font-family: var(--nrf-font-sans);
	font-size: 0.95rem;
	color: var(--nrf-ink-2);
}

.off-canvas .nav-sidebar.nav-vertical > li + li,
.mobile-sidebar .nav-sidebar > li + li {
	border-top-color: var(--nrf-line);
}

.mfp-bg.off-canvas-active,
.mfp-bg {
	background-color: rgba(31, 27, 23, 0.55);
}

/* 5. Page titles & breadcrumbs
   ========================================================================== */

.page-title:not(.featured-title) .page-title-inner {
	padding-top: clamp(24px, 3vw, 44px);
	padding-bottom: 12px;
	align-items: flex-end;
}

.page-title-inner .is-large,
.breadcrumbs {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--nrf-muted);
	text-transform: none;
}

.breadcrumbs a {
	color: var(--nrf-muted);
	font-weight: 500;
}

.breadcrumbs a:hover {
	color: var(--nrf-ink);
}

.breadcrumbs .divider,
.breadcrumbs .separator {
	margin: 0 0.45em;
	opacity: 0.45;
	font-weight: 400;
	top: 0;
}

.nrf-archive-head {
	margin-top: 10px;
}

.nrf-archive-head__title {
	font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
	margin: 0;
}

.nrf-archive-head__count {
	margin: 6px 0 0;
	font-size: 0.9rem;
	color: var(--nrf-muted);
}

.page-title .woocommerce-result-count {
	display: none;
}

.page-title .woocommerce-ordering select {
	min-width: 200px;
	font-size: 0.875rem;
	height: 44px;
	margin: 0;
}

.page-title .woocommerce-ordering {
	margin: 0;
}

.filter-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding: 8px 16px;
	border: 1px solid var(--nrf-line-strong);
	border-radius: 999px;
	font-size: 0.875rem;
	text-transform: none;
	color: var(--nrf-ink);
}

.filter-button strong { font-weight: 600; }

/* Standard page titles (content pages). */
.entry-header-text h1.entry-title,
.page-header-wrapper h1,
#content > .row h1.entry-title {
	font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
}

/* 6. Shop archive
   ========================================================================== */

.category-page-row {
	padding-top: clamp(16px, 2vw, 28px);
}

/* Sidebar. */
#shop-sidebar .widget,
.shop-sidebar .widget {
	margin-bottom: 32px;
}

#shop-sidebar .widget-title,
.shop-sidebar .widget-title,
span.widget-title {
	display: block;
	font-family: var(--nrf-font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nrf-muted);
}

#shop-sidebar .is-divider {
	margin: 10px 0 14px;
}

.shop-sidebar .widget > ul > li,
#shop-sidebar .widget > ul > li,
ul.product-categories > li {
	border-top: 1px solid var(--nrf-line);
}

.shop-sidebar .widget > ul > li:first-child,
#shop-sidebar .widget > ul > li:first-child,
ul.product-categories > li:first-child {
	border-top: 0;
}

.shop-sidebar .widget > ul > li > a,
#shop-sidebar .widget > ul > li > a,
ul.product-categories > li > a,
.widget_product_categories li a {
	display: inline-block;
	padding: 9px 0;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--nrf-ink-2);
}

.shop-sidebar .widget > ul > li.current-cat > a,
#shop-sidebar .widget > ul > li.current-cat > a,
ul.product-categories li.current-cat > a {
	color: var(--nrf-accent);
}

.widget .count,
.widget_product_categories .count {
	display: inline-block;
	min-width: 28px;
	padding: 1px 8px;
	margin-left: 6px;
	border-radius: 999px;
	background: var(--nrf-sand);
	color: var(--nrf-muted);
	font-size: 0.75rem;
	font-weight: 500;
	text-align: center;
	opacity: 1;
}

.widget .toggle {
	color: var(--nrf-muted);
	opacity: 0.8;
}

.widget ul.children {
	border-left: 1px solid var(--nrf-line);
	margin-left: 2px;
	padding-left: 14px;
}

.widget ul.children li a {
	font-size: 0.875rem;
	padding: 5px 0;
}

/* HUSKY / WOOF filter plugin. */
.woof_container {
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--nrf-line);
}

.woof_container h4 {
	font-family: var(--nrf-font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nrf-muted);
}

.woof_list li {
	padding: 4px 0 !important;
}

.woof_list label {
	font-weight: 500;
	color: var(--nrf-ink-2);
}

/* Product cards. */
.products .product-small .col-inner {
	transition: transform 0.4s var(--nrf-ease-out);
}

.products .product-small .box-image {
	border-radius: var(--nrf-r-lg);
	overflow: hidden;
	background-color: var(--nrf-sand);
	isolation: isolate;
}

/* Images keep Flatsome's own sizing and shape (square here); no hover zoom,
   which softens the bitmap. */

/* Swatch scans with a white border baked in are zoomed just past it
   (inc/images.php works out the numbers per photo). */
img.nrf-img-trim {
	scale: var(--nrf-s, 1);
	translate: var(--nrf-x, 0) var(--nrf-y, 0);
	transform-origin: 50% 50%;
}

/* Product shots on white that aren't swatches are shown whole. */
img.nrf-img-fit {
	object-fit: contain !important;
	background-color: #fff;
}

.box-image:has(> .image-cover img.nrf-img-fit),
.nrf-card__media:has(img.nrf-img-fit) {
	background-color: #fff;
}

.products .product-small .box-text {
	padding: 14px 2px 6px;
}

.products .product-small .box-text .category,
.product-small .category {
	font-family: var(--nrf-font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nrf-accent);
	opacity: 1;
	margin-bottom: 4px;
}

.products .product-small .product-title,
.product-small .name {
	font-family: var(--nrf-font-sans);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.003em;
}

.products .product-small .product-title a {
	color: var(--nrf-ink);
	text-decoration: none;
}

.products .product-small:hover .product-title a {
	color: var(--nrf-accent);
}

.badge-container .badge-inner {
	border-radius: 999px;
	font-family: var(--nrf-font-sans);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
}

/* Pagination. */
.woocommerce-pagination,
.page-numbers.nav-pagination {
	margin-top: 24px;
}

.nav-pagination > li > a,
.nav-pagination > li > span,
.page-numbers .page-number {
	min-width: 44px;
	height: 44px;
	line-height: 42px;
	padding: 0 12px;
	border: 1px solid var(--nrf-line-strong);
	border-radius: 999px;
	font-family: var(--nrf-font-sans);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--nrf-ink);
	background: transparent;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.nav-pagination > li > a:hover {
	border-color: var(--nrf-ink);
	background: transparent;
	color: var(--nrf-ink);
}

.nav-pagination > li > .current,
.nav-pagination > li > span.current,
.nav-pagination > li > a.current {
	background: var(--nrf-ink);
	border-color: var(--nrf-ink);
	color: var(--nrf-paper-2);
}

/* 7. Single product
   ========================================================================== */

.product-main {
	padding-top: clamp(16px, 2.5vw, 40px);
	padding-bottom: clamp(32px, 4vw, 64px);
}

.product-gallery .product-images,
.product-gallery-slider .flickity-viewport,
.woocommerce-product-gallery__image {
	border-radius: var(--nrf-r-xl);
	overflow: hidden;
}

.product-gallery {
	position: relative;
}

.product-thumbnails .col a,
.product-thumbnails a {
	border-radius: var(--nrf-r);
	overflow: hidden;
	border: 1px solid transparent;
	transition: border-color 0.2s, opacity 0.2s;
}

.product-thumbnails .is-nav-selected a,
.product-thumbnails a:hover {
	border-color: var(--nrf-ink);
}


.product-info {
	padding-top: 6px;
}

.product-info .breadcrumbs {
	margin-bottom: 14px;
}

.product-info .product-title,
.product_title.entry-title {
	font-family: var(--nrf-font-serif);
	font-weight: 450;
	font-size: clamp(2rem, 1.5rem + 1.9vw, 3.1rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin-bottom: 18px;
}

.product-info .is-divider {
	display: none;
}

.product-short-description {
	font-size: 1rem;
	color: var(--nrf-ink-2);
}

.product-short-description img {
	max-height: 64px;
	width: auto;
	margin: 6px 0 14px;
	mix-blend-mode: multiply;
}

/* Bullet lists become a tidy two-column checklist. */
.product-short-description ul,
.woocommerce-Tabs-panel--description ul {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0 24px;
}

.product-short-description ul li,
.woocommerce-Tabs-panel--description ul li {
	position: relative;
	margin: 0;
	padding: 9px 0 9px 30px;
	border-bottom: 1px solid var(--nrf-line);
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--nrf-ink);
}

.product-short-description ul li::before,
.woocommerce-Tabs-panel--description ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border-radius: 50%;
	background: var(--nrf-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c5a2b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* "See it in person" panel. */
.nrf-pdp-cta {
	margin: 24px 0;
	padding: 22px 22px 20px;
	border: 1px solid var(--nrf-line);
	border-radius: var(--nrf-r-lg);
	background: var(--nrf-surface);
	box-shadow: var(--nrf-shadow-sm);
}

.nrf-pdp-cta__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
}

.nrf-pdp-cta__icon {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--nrf-accent-soft);
	color: var(--nrf-accent);
	flex: none;
}

.nrf-pdp-cta__title {
	margin: 0;
	font-family: var(--nrf-font-serif);
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--nrf-ink);
	line-height: 1.2;
}

.nrf-pdp-cta__text {
	margin: 0 0 16px;
	font-size: 0.9375rem;
	color: var(--nrf-muted);
}

.nrf-pdp-cta .nrf-actions {
	margin-top: 0;
}

.nrf-pdp-cta__foot {
	margin: 14px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--nrf-line);
	font-size: 0.875rem;
	color: var(--nrf-muted);
}

.nrf-pdp-cta__foot a {
	font-weight: 600;
	color: var(--nrf-ink);
	text-decoration: underline;
	text-decoration-color: var(--nrf-line-strong);
}

.nrf-pdp-cta__foot a:hover {
	color: var(--nrf-accent);
	text-decoration-color: currentColor;
}

/* Meta (categories, tags). */
.product_meta {
	font-size: 0.8125rem;
	color: var(--nrf-muted);
	border-top: 1px solid var(--nrf-line);
	padding-top: 14px;
}

.product_meta > span {
	display: block;
	padding: 3px 0;
	border: 0;
}

.product_meta a {
	color: var(--nrf-ink-2);
}

/* Prev / next product arrows. */
.product-info .prev-next .button.icon,
.next-prev-thumbs .button.icon {
	border-color: var(--nrf-line-strong);
	color: var(--nrf-ink);
}

/* Tabs. */
.product-footer {
	border-top: 1px solid var(--nrf-line);
}

.product-footer .woocommerce-tabs {
	border-top: 0;
	padding-top: 8px;
}

.product-footer .tabs.nav {
	gap: 4px;
	margin-bottom: 20px;
}

.product-footer .tabs.nav > li > a {
	font-family: var(--nrf-font-sans);
	font-size: 0.9375rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--nrf-muted);
	padding: 18px 2px 14px;
	margin-right: 22px;
}

.product-footer .tabs.nav > li.active > a,
.product-footer .tabs.nav > li > a:hover {
	color: var(--nrf-ink);
}

.product-footer .tabs.nav-line > li > a::before,
.product-footer .tabs.nav-line-bottom > li > a::before {
	background-color: var(--nrf-accent);
	height: 2px;
}

.product-footer .tab-panels {
	max-width: 860px;
}

.woocommerce-Tabs-panel img {
	border-radius: var(--nrf-r);
}

/* Related products. */
.related-products-wrapper,
.up-sells {
	border-top: 1px solid var(--nrf-line);
	padding-top: clamp(32px, 4vw, 56px);
}

.product-section-title,
.related-products-wrapper .product-section-title {
	font-family: var(--nrf-font-serif);
	font-size: var(--nrf-fs-h3);
	font-weight: 450;
	text-transform: none;
	letter-spacing: -0.01em;
	color: var(--nrf-ink);
}

/* Flickity slider controls. */
.flickity-prev-next-button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--nrf-shadow-sm);
	color: var(--nrf-ink);
}

.flickity-prev-next-button svg {
	padding: 4px;
}

.flickity-page-dots .dot {
	background: var(--nrf-ink);
	opacity: 0.2;
}

.flickity-page-dots .dot.is-selected {
	opacity: 0.9;
}

/* Sample list: add buttons, slide-out list, and the Order samples page. */

/* Add sample buttons. The product page one is a regular primary button. */
.nrf-sample-add__icon {
	position: relative;
	display: inline-block;
	flex: none;
	width: 14px;
	height: 14px;
}

.nrf-sample-add__icon::before,
.nrf-sample-add__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1.6px;
	margin: -0.8px 0 0 -6px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s var(--nrf-ease-out), width 0.25s var(--nrf-ease-out);
}

.nrf-sample-add__icon::after {
	transform: rotate(90deg);
}

/* Becomes a tick once the product is on the list. */
.nrf-sample-add.is-listed .nrf-sample-add__icon::before {
	width: 6px;
	transform: translate(-2px, 2px) rotate(45deg);
}

.nrf-sample-add.is-listed .nrf-sample-add__icon::after {
	width: 11px;
	transform: translate(2px, 0) rotate(-50deg);
}

.nrf-sample-add.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.nrf-btn.nrf-sample-add.is-listed {
	background: var(--nrf-accent-soft);
	color: var(--nrf-accent-deep);
}

/* Product page picker: colour chips, optional dropdowns. */
.nrf-picker__group {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.nrf-picker__label {
	display: block;
	width: auto;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nrf-ink-2);
}

.nrf-picker__chosen {
	margin-left: 6px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	font-size: 0.875rem;
	color: var(--nrf-accent);
}

.nrf-picker__optional {
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--nrf-muted);
}

.nrf-picker__chips {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 8px;
}

.nrf-picker .nrf-chip {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	min-height: 0;
	margin: 0;
	padding: 4px 3px 7px;
	border: 1px solid var(--nrf-line);
	border-radius: var(--nrf-r);
	background: var(--nrf-surface);
	color: var(--nrf-ink);
	font-family: var(--nrf-font-sans);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.nrf-picker .nrf-chip:hover {
	border-color: var(--nrf-line-strong);
}

.nrf-picker .nrf-chip[aria-checked="true"] {
	border-color: var(--nrf-accent);
	box-shadow: 0 0 0 1px var(--nrf-accent);
}

.nrf-picker .nrf-chip:focus-visible {
	outline: 2px solid var(--nrf-accent);
	outline-offset: 2px;
}

.nrf-chip__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: calc(var(--nrf-r) - 4px);
	background: var(--nrf-sand);
}

.nrf-chip__name {
	overflow-wrap: break-word;
	hyphens: auto;
}

.nrf-picker .nrf-picker__select {
	max-width: 220px;
	height: 42px;
	margin: 0;
	border-radius: var(--nrf-r-sm);
}

.nrf-picker .nrf-actions {
	align-items: center;
	margin-top: 4px;
}

/* Flatsome gives every <button> a margin and its own type settings. */
.nrf-picker button.nrf-btn {
	margin: 0;
	letter-spacing: 0.003em;
	line-height: 1;
	text-transform: none;
}

.nrf-btn.nrf-sample-add:disabled {
	opacity: 1;
	background: var(--nrf-sand-2);
	color: var(--nrf-muted);
	cursor: not-allowed;
}

/* Count badge (top bar, drawer, page heading, phone shortcut). */
.nrf-samples-count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	margin-left: 4px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--nrf-accent);
	color: #fff;
	font-family: var(--nrf-font-sans);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
	font-variant-numeric: tabular-nums;
}

.nrf-samples-count[hidden] {
	display: none;
}

/* Slide-out list. */
html.nrf-drawer-open {
	overflow: hidden;
}

.nrf-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

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

.nrf-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 27, 23, 0.5);
	opacity: 0;
	transition: opacity 0.3s;
}

.nrf-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	background: var(--nrf-paper-2);
	box-shadow: -20px 0 60px -20px rgba(31, 27, 23, 0.4);
	transform: translateX(100%);
	transition: transform 0.35s var(--nrf-ease-out);
	outline: none;
}

.nrf-drawer.is-open .nrf-drawer__backdrop {
	opacity: 1;
}

.nrf-drawer.is-open .nrf-drawer__panel {
	transform: none;
}

.nrf-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 16px 16px 24px;
	border-bottom: 1px solid var(--nrf-line);
}

.nrf-drawer__title {
	margin: 0;
	font-family: var(--nrf-font-serif);
	font-size: 1.45rem;
	font-weight: 500;
	color: var(--nrf-ink);
}

.nrf-drawer .nrf-drawer__close {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--nrf-line);
	border-radius: 50%;
	background: var(--nrf-surface);
	color: var(--nrf-ink);
	cursor: pointer;
}

.nrf-drawer .nrf-drawer__close:hover {
	border-color: var(--nrf-ink);
}

.nrf-drawer__body {
	position: relative;
	flex: 1;
	overflow-y: auto;
	padding: 8px 24px;
}

/* Thin progress bar while a new sample is being saved. */
.nrf-drawer.is-saving .nrf-drawer__body::before {
	content: "";
	position: sticky;
	top: -8px;
	display: block;
	height: 2px;
	margin: -8px -24px 6px;
	background: linear-gradient(90deg, transparent, var(--nrf-accent), transparent) 0 0 / 40% 100% no-repeat;
	animation: nrf-saving 1s linear infinite;
}

@keyframes nrf-saving {
	from { background-position: -40% 0; }
	to { background-position: 140% 0; }
}

.nrf-drawer__foot {
	display: grid;
	gap: 8px;
	padding: 16px 24px 20px;
	border-top: 1px solid var(--nrf-line);
	background: var(--nrf-paper-2);
}

.nrf-drawer__cta {
	justify-content: center;
	width: 100%;
}

.nrf-drawer__cta.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.nrf-drawer .nrf-drawer__keep {
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nrf-muted);
	font-family: var(--nrf-font-sans);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.nrf-drawer .nrf-drawer__keep:hover {
	color: var(--nrf-ink);
}

/* List rows, shared by the drawer and the page. */
.nrf-sample-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nrf-sample-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 14px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--nrf-line);
	list-style: none;
	transition: opacity 0.2s;
}

.nrf-sample-item:last-child {
	border-bottom: 0;
}

.nrf-sample-item.is-busy {
	opacity: 0.45;
}

.nrf-sample-item__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--nrf-r);
	overflow: hidden;
	background: var(--nrf-sand);
}

.nrf-sample-item__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nrf-sample-item__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.nrf-sample-item__cat {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nrf-accent);
}

.nrf-sample-item__name {
	font-family: var(--nrf-font-serif);
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--nrf-ink);
	text-decoration: none;
}

.nrf-sample-item__name:hover {
	color: var(--nrf-accent);
}

.nrf-sample-item__choice {
	margin-top: 2px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--nrf-ink-2);
}

.nrf-sample-item__price {
	margin-top: 2px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--nrf-accent-deep);
	font-variant-numeric: tabular-nums;
}

.nrf-samples-total {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 4px;
	font-size: 0.9rem;
	color: var(--nrf-ink-2);
}

.nrf-samples-total[hidden] {
	display: none;
}

.nrf-samples-total strong {
	font-variant-numeric: tabular-nums;
	color: var(--nrf-ink);
}

.nrf-samples__list .nrf-samples-total {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--nrf-line);
}

.nrf-picker__price {
	margin: 0 0 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--nrf-accent-deep);
}

.nrf-sample-item__sku {
	margin-top: 2px;
	font-size: 0.8rem;
	color: var(--nrf-muted);
	font-variant-numeric: tabular-nums;
}

.nrf-sample-item__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}

.nrf-sample-items .nrf-sample-item__remove {
	min-height: 32px;
	margin: 0;
	padding: 0 2px;
	border: 0;
	background: none;
	color: var(--nrf-muted);
	font-family: var(--nrf-font-sans);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	text-decoration-color: var(--nrf-line-strong);
	text-underline-offset: 3px;
	cursor: pointer;
}

.nrf-sample-items .nrf-sample-item__remove:hover {
	color: var(--nrf-ink);
}

.nrf-sample-items .nrf-sample-item__note {
	height: 38px;
	margin: 10px 0 0;
	padding: 0 12px;
	border: 1px solid var(--nrf-line-strong);
	border-radius: var(--nrf-r-sm);
	background: var(--nrf-surface);
	box-shadow: none;
	font-size: 0.875rem;
}

.nrf-sample-items .nrf-sample-item__note:focus {
	border-color: var(--nrf-accent);
	box-shadow: 0 0 0 3px var(--nrf-accent-soft);
}

/* Quantity stepper. */
.nrf-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--nrf-line-strong);
	border-radius: 999px;
	background: var(--nrf-surface);
}

.nrf-qty .nrf-qty__btn {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--nrf-ink);
	font-size: 1.05rem;
	line-height: 1;
	cursor: pointer;
}

.nrf-qty .nrf-qty__btn:disabled {
	opacity: 0.3;
	cursor: default;
}

.nrf-qty .nrf-qty__btn:not(:disabled):hover {
	background: var(--nrf-sand);
}

.nrf-qty__value {
	min-width: 22px;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.nrf-samples__empty {
	margin: 24px 0;
	color: var(--nrf-muted);
}

/* Phone shortcut to the list, shown once it has something in it. */
.nrf-samples-fab {
	display: none;
}

@media (max-width: 849px) {
	.nrf-samples-fab {
		position: fixed;
		left: 50%;
		bottom: 16px;
		z-index: 9990;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 48px;
		padding: 0 18px;
		border-radius: 999px;
		background: var(--nrf-ink);
		color: var(--nrf-paper-2);
		font-weight: 600;
		font-size: 0.9rem;
		text-decoration: none;
		box-shadow: 0 12px 30px -10px rgba(31, 27, 23, 0.6);
		transform: translateX(-50%);
	}

	.nrf-samples-fab[hidden] {
		display: none;
	}

	.nrf-samples-fab:hover {
		color: #fff;
	}

	.nrf-samples-fab .nrf-icon {
		width: 18px;
		height: 18px;
	}
}

/* Order samples page: list on the left, the form on the right. */
.nrf-samples {
	display: grid;
	grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 48px);
	align-items: start;
	margin-top: 8px;
}

.nrf-samples__list {
	position: sticky;
	top: 110px;
	padding: 22px 24px 18px;
	border: 1px solid var(--nrf-line);
	border-radius: var(--nrf-r-xl);
	background: var(--nrf-surface);
	box-shadow: var(--nrf-shadow-sm);
	max-height: calc(100vh - 130px);
	overflow-y: auto;
}

.nrf-samples__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--nrf-line);
}

.nrf-samples__head .nrf-link {
	flex: none;
	white-space: nowrap;
}

.nrf-samples__title {
	margin: 0;
	font-family: var(--nrf-font-serif);
	font-size: 1.5rem;
	font-weight: 500;
}

.nrf-samples__hint {
	margin: 12px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--nrf-line);
	font-size: 0.85rem;
	line-height: 1.55;
	color: var(--nrf-muted);
}

.nrf-samples__stale {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	padding: 10px 10px 10px 18px;
	border-radius: var(--nrf-r-lg);
	background: var(--nrf-accent-soft);
	color: var(--nrf-accent-deep);
	font-weight: 600;
}

.nrf-samples__stale[hidden] {
	display: none;
}

.nrf-samples__frame {
	position: relative;
	min-height: 600px;
	border-radius: var(--nrf-r-xl);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--nrf-shadow-sm);
}

/* Tall enough to show the whole form, Submit included, so nobody has to
   scroll inside it (the form is about 1,050px tall on desktop and 1,250px
   on phones). The page scrolls instead; the list stays beside it. */
.nrf-samples-form__frame {
	display: block;
	width: 100%;
	height: 1200px;
	border: 0;
}

.nrf-samples__loading {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border: 2px solid var(--nrf-line);
	border-top-color: var(--nrf-accent);
	border-radius: 50%;
	animation: nrf-spin 0.8s linear infinite;
	pointer-events: none;
}

.nrf-samples__frame.is-loaded .nrf-samples__loading {
	display: none;
}

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

.nrf-samples__done {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	color: var(--nrf-muted);
	font-size: 0.9rem;
}

.nrf-samples__done.is-sent {
	padding: 12px 12px 12px 18px;
	border-radius: var(--nrf-r-lg);
	background: var(--nrf-accent-soft);
	color: var(--nrf-accent-deep);
	font-weight: 600;
}

@media (max-width: 849px) {
	.nrf-samples {
		grid-template-columns: 1fr;
	}

	.nrf-samples__list {
		position: static;
		max-height: none;
		padding: 18px;
	}

	.nrf-samples-form__frame {
		height: 1350px;
	}
}

/* 8. Homepage
   ========================================================================== */

.nrf-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--nrf-wide);
	margin-inline: auto;
	padding-inline: var(--nrf-gutter);
}

.nrf-section {
	padding-block: var(--nrf-section);
}

.nrf-section + .nrf-section,
.nrf-hero + .nrf-section {
	padding-top: 0;
}

.nrf-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.nrf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nrf-accent);
}

.nrf-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.nrf-display,
.nrf-title {
	font-family: var(--nrf-font-serif);
	font-weight: 400;
	color: var(--nrf-ink);
	margin: 0;
	width: auto; /* Flatsome sets headings to 100%. */
}

.nrf-display {
	font-size: var(--nrf-fs-display);
	line-height: 0.98;
	letter-spacing: -0.032em;
}

.nrf-title {
	font-size: var(--nrf-fs-h2);
	line-height: 1.04;
	letter-spacing: -0.025em;
}

.nrf-title--sm {
	font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem);
}

.nrf-display em,
.nrf-title em {
	font-style: italic;
	font-weight: 400;
	color: var(--nrf-accent);
	letter-spacing: -0.02em;
}

.nrf-lede {
	font-size: var(--nrf-fs-lede);
	line-height: 1.6;
	color: var(--nrf-ink-2);
	max-width: 34em;
	margin: 0;
}

.nrf-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--nrf-ink);
	text-decoration: none;
	padding-bottom: 2px;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	transition: color 0.2s, background-size 0.3s var(--nrf-ease-out);
}

.nrf-link:hover {
	color: var(--nrf-accent);
}

.nrf-link .nrf-icon,
.nrf-btn .nrf-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.3s var(--nrf-ease-out);
}

.nrf-link:hover .nrf-icon,
.nrf-btn:hover .nrf-icon--arrow-right {
	transform: translateX(3px);
}

.nrf-icon {
	flex: none;
}

/* Buttons. */
.nrf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.nrf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--nrf-r);
	font-family: var(--nrf-font-sans);
	font-size: 0.975rem;
	font-weight: 600;
	letter-spacing: 0.003em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.22s var(--nrf-ease), border-color 0.22s var(--nrf-ease), color 0.22s var(--nrf-ease), transform 0.22s var(--nrf-ease);
}

.nrf-btn:active {
	transform: translateY(1px);
}

.nrf-btn--primary {
	background: var(--nrf-ink);
	color: var(--nrf-paper-2);
}

.nrf-btn--primary:hover {
	background: var(--nrf-accent);
	color: #fff;
}

.nrf-btn--ghost {
	border-color: var(--nrf-line-strong);
	color: var(--nrf-ink);
	background: transparent;
}

.nrf-btn--ghost:hover {
	border-color: var(--nrf-ink);
	color: var(--nrf-ink);
	background: rgba(31, 27, 23, 0.03);
}

.nrf-btn--light {
	background: var(--nrf-on-dark);
	color: var(--nrf-ink);
}

.nrf-btn--light:hover {
	background: #fff;
	color: var(--nrf-accent-deep);
}

.nrf-btn--ghost-light {
	border-color: rgba(244, 238, 229, 0.32);
	color: var(--nrf-on-dark);
}

.nrf-btn--ghost-light:hover {
	border-color: var(--nrf-on-dark);
	color: #fff;
}

/* Hero. */
.nrf-hero {
	padding-top: clamp(32px, 2rem + 4vw, 104px);
	padding-bottom: clamp(56px, 2.5rem + 4vw, 128px);
	overflow: hidden;
}

.nrf-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	align-items: center;
	gap: clamp(40px, 5vw, 88px);
}

.nrf-hero .nrf-lede {
	margin-top: 26px;
}

.nrf-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: clamp(40px, 4vw, 56px) 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--nrf-line);
	/* Undo Flatsome's dl defaults: uppercase, and 90% opacity, which pushed the
	   grey labels below the 4.5:1 contrast minimum. */
	text-transform: none;
	letter-spacing: normal;
	opacity: 1;
	font-size: inherit;
}

.nrf-stat dt,
.nrf-stat dd {
	display: block;
}

.nrf-stat dt {
	font-family: var(--nrf-font-serif);
	font-size: clamp(1.4rem, 1.15rem + 0.7vw, 1.8rem);
	font-weight: 450;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--nrf-ink);
}

.nrf-stat dd {
	margin: 6px 0 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--nrf-muted);
}

.nrf-hero__media {
	position: relative;
	padding: 0 0 28px 28px;
}

/* Plank-board backdrop: a nod to the product without a stock texture. */
.nrf-hero__media::before {
	content: "";
	position: absolute;
	inset: 28px -60px 0 0;
	border-radius: var(--nrf-r-xl);
	background:
		repeating-linear-gradient(90deg, transparent 0 58px, rgba(140, 90, 43, 0.1) 58px 59px),
		linear-gradient(180deg, var(--nrf-sand) 0%, var(--nrf-sand-2) 100%);
}

.nrf-hero__frame {
	position: relative;
	aspect-ratio: 5 / 4;
	border-radius: var(--nrf-r-xl);
	overflow: hidden;
	background: var(--nrf-sand);
	box-shadow: var(--nrf-shadow);
	transform: translate(-28px, -28px);
}

.nrf-hero__frame--shortcode {
	aspect-ratio: auto;
}

.nrf-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: nrf-settle 1.6s var(--nrf-ease-out) both;
}

.nrf-hero__frame--empty {
	background:
		repeating-linear-gradient(90deg, transparent 0 80px, rgba(31, 27, 23, 0.05) 80px 81px),
		linear-gradient(135deg, #d9c6aa, #b8936a);
}

.nrf-hero__card {
	position: absolute;
	left: 0;
	bottom: 52px;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 290px;
	padding: 14px 20px 14px 14px;
	border-radius: var(--nrf-r-lg);
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--nrf-shadow);
	animation: nrf-rise 0.9s 0.5s var(--nrf-ease-out) both;
}

.nrf-hero__card strong {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--nrf-ink);
	line-height: 1.3;
}

.nrf-hero__card small {
	display: block;
	font-size: 0.8125rem;
	color: var(--nrf-muted);
	line-height: 1.35;
	margin-top: 2px;
}

.nrf-hero__card-icon,
.nrf-panel__icon {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nrf-accent-soft);
	color: var(--nrf-accent);
}

.nrf-hero__copy > * {
	animation: nrf-rise 0.8s var(--nrf-ease-out) both;
}

.nrf-hero__copy > :nth-child(2) { animation-delay: 0.06s; }
.nrf-hero__copy > :nth-child(3) { animation-delay: 0.12s; }
.nrf-hero__copy > :nth-child(4) { animation-delay: 0.18s; }
.nrf-hero__copy > :nth-child(5) { animation-delay: 0.24s; }

/* Category tiles. */
.nrf-cats__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(200px, 19vw, 270px);
	gap: clamp(12px, 1.4vw, 20px);
}

.nrf-cats__grid > li {
	margin: 0;
	list-style: none;
}

.nrf-cat--feature {
	grid-column: span 2;
	grid-row: span 2;
}

.nrf-cats__grid--4 .nrf-cat:last-child { grid-column: span 2; }
.nrf-cats__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 30vw, 420px); }
.nrf-cats__grid--3 .nrf-cat--feature { grid-column: auto; grid-row: auto; }
.nrf-cats__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 32vw, 440px); }
.nrf-cats__grid--2 .nrf-cat--feature { grid-column: auto; grid-row: auto; }
.nrf-cats__grid--1 { grid-template-columns: 1fr; }
.nrf-cats__grid--1 .nrf-cat--feature { grid-column: auto; grid-row: auto; }

.nrf-cat__link {
	position: relative;
	display: block;
	height: 100%;
	border-radius: var(--nrf-r-lg);
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(135deg, #cdb594, #8f6b48);
	isolation: isolate;
}

.nrf-cat__media,
.nrf-cat__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.nrf-cat__img {
	object-fit: cover;
	transition: transform 1.1s var(--nrf-ease-out);
}

.nrf-cat__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(20, 16, 12, 0) 38%, rgba(20, 16, 12, 0.62) 100%);
	transition: opacity 0.4s var(--nrf-ease);
}

.nrf-cat__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding: clamp(16px, 1.8vw, 26px);
}

.nrf-cat__name {
	font-family: var(--nrf-font-serif);
	font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.7rem);
	font-weight: 450;
	line-height: 1.1;
	letter-spacing: -0.015em;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.nrf-cat--feature .nrf-cat__name {
	font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.9rem);
}

.nrf-cat__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.nrf-cat__count {
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.82);
}

.nrf-cat__arrow {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background-color 0.3s var(--nrf-ease), color 0.3s var(--nrf-ease);
}

.nrf-cat__arrow .nrf-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.4s var(--nrf-ease-out);
}

.nrf-cat__link:hover .nrf-cat__img,
.nrf-cat__link:focus-visible .nrf-cat__img {
	transform: scale(1.05);
}

.nrf-cat__link:hover .nrf-cat__arrow {
	background: #fff;
	color: var(--nrf-ink);
}

.nrf-cat__link:hover .nrf-cat__arrow .nrf-icon {
	transform: rotate(45deg);
}

/* Product rail. */
.nrf-rail__controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nrf-rail__controls .nrf-link {
	margin-right: 14px;
}

.nrf-rail__btn {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--nrf-line-strong);
	border-radius: 50%;
	background: transparent;
	color: var(--nrf-ink);
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.nrf-rail__btn:hover:not(:disabled) {
	background: var(--nrf-ink);
	border-color: var(--nrf-ink);
	color: var(--nrf-paper-2);
}

.nrf-rail__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.nrf-rail__btn[hidden] {
	display: none;
}

.nrf-rail {
	--nrf-rail-pad: max(var(--nrf-gutter), calc((100vw - var(--nrf-wide)) / 2 + var(--nrf-gutter)));
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--nrf-rail-pad);
	scrollbar-width: none;
	/* Room so card focus rings aren't clipped by the scroll container. */
	padding-top: 6px;
	margin-top: -6px;
	padding-bottom: 6px;
}

.nrf-rail::-webkit-scrollbar {
	display: none;
}

.nrf-rail:focus-visible {
	outline-offset: -2px;
}

.nrf-rail__track {
	list-style: none;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: clamp(208px, 21vw, 280px);
	column-gap: clamp(14px, 1.6vw, 24px);
	margin: 0;
	padding: 0 var(--nrf-rail-pad);
	width: max-content;
}

.nrf-card {
	margin: 0;
	scroll-snap-align: start;
	list-style: none;
}

.nrf-card__link {
	display: block;
	color: var(--nrf-ink);
	text-decoration: none;
}

/* Square, like the shop grid. */
.nrf-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--nrf-r-lg);
	overflow: hidden;
	background: var(--nrf-sand);
	margin-bottom: 14px;
}

.nrf-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nrf-card__kicker {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nrf-accent);
	margin-bottom: 4px;
}

.nrf-card__title {
	display: block;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	transition: color 0.2s;
}

.nrf-card__link:hover .nrf-card__title {
	color: var(--nrf-accent);
}

/* Programs. */
.nrf-section.nrf-programs {
	padding-block: var(--nrf-section);
	background:
		repeating-linear-gradient(90deg, transparent 0 119px, rgba(140, 90, 43, 0.055) 119px 120px),
		var(--nrf-sand);
}

.nrf-programs__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 6vw, 112px);
	align-items: start;
}

.nrf-programs__intro {
	position: sticky;
	top: 120px;
}

.nrf-programs__intro .nrf-lede {
	margin-top: 20px;
	color: var(--nrf-ink-2);
}

.nrf-programs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--nrf-line-strong);
}

.nrf-program {
	margin: 0;
	list-style: none;
	border-bottom: 1px solid var(--nrf-line-strong);
}

.nrf-program__link {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	padding: clamp(22px, 2.4vw, 32px) 4px;
	color: var(--nrf-ink);
	text-decoration: none;
}

.nrf-program__num {
	font-family: var(--nrf-font-serif);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--nrf-accent);
}

.nrf-program__title {
	display: block;
	font-family: var(--nrf-font-serif);
	font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.95rem);
	font-weight: 450;
	line-height: 1.12;
	letter-spacing: -0.015em;
	transition: color 0.2s var(--nrf-ease);
}

.nrf-program__text {
	display: block;
	margin-top: 6px;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--nrf-muted);
}

.nrf-program__arrow {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--nrf-line-strong);
	transition: background-color 0.25s var(--nrf-ease), border-color 0.25s var(--nrf-ease), color 0.25s var(--nrf-ease), transform 0.35s var(--nrf-ease-out);
}

.nrf-program__link:hover .nrf-program__title {
	color: var(--nrf-accent-deep);
}

.nrf-program__link:hover .nrf-program__arrow {
	background: var(--nrf-ink);
	border-color: var(--nrf-ink);
	color: var(--nrf-paper-2);
	transform: translateX(4px);
}

/* Audience panels. */
.nrf-section.nrf-audience {
	padding-top: var(--nrf-section);
}

.nrf-audience__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 24px);
}

.nrf-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(28px, 4vw, 56px);
	border-radius: var(--nrf-r-xl);
	overflow: hidden;
}

.nrf-panel .nrf-panel__icon {
	margin-bottom: 28px;
}

.nrf-panel .nrf-eyebrow {
	margin-bottom: 14px;
}

.nrf-panel p:not(.nrf-eyebrow) {
	max-width: 30em;
	margin: 16px 0 0;
	font-size: 1rem;
}

.nrf-panel .nrf-actions {
	margin-top: auto;
	padding-top: 32px;
}

.nrf-panel--light {
	background: var(--nrf-surface);
	border: 1px solid var(--nrf-line);
}

.nrf-panel--light p:not(.nrf-eyebrow) {
	color: var(--nrf-ink-2);
}

.nrf-panel--dark {
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(140, 90, 43, 0.38) 0%, rgba(140, 90, 43, 0) 60%),
		var(--nrf-ink);
	color: var(--nrf-on-dark);
}

.nrf-panel--dark .nrf-title {
	color: var(--nrf-on-dark);
}

.nrf-panel--dark .nrf-title em,
.nrf-panel--dark .nrf-eyebrow {
	color: #d9a876;
}

.nrf-panel--dark p:not(.nrf-eyebrow) {
	color: var(--nrf-on-dark-muted);
}

.nrf-panel--dark .nrf-panel__icon {
	background: rgba(244, 238, 229, 0.08);
	color: #d9a876;
}

.nrf-home__extra {
	padding-top: 0;
}

/* Dealer hub (signed-in users). */
/* The newsletter is a fixed-width email layout (about 780px with its
   scrollbar), so its column gets a fixed width rather than a fraction. */
.nrf-hub__grid {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(0, 820px);
	gap: clamp(32px, 4vw, 64px);
	align-items: start;
}

.nrf-hub__side {
	position: sticky;
	top: 110px;
}

.nrf-hub__links {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	border-top: 1px solid var(--nrf-line);
}

.nrf-hub__links li {
	margin: 0;
	list-style: none;
}

.nrf-hub__link {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 14px 4px;
	border-bottom: 1px solid var(--nrf-line);
	color: var(--nrf-ink);
	text-decoration: none;
}

.nrf-hub__icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nrf-accent-soft);
	color: var(--nrf-accent);
	transition: background-color 0.25s var(--nrf-ease), color 0.25s var(--nrf-ease);
}

.nrf-hub__label strong {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.nrf-hub__label small {
	display: block;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--nrf-muted);
}

.nrf-hub__link > .nrf-icon {
	width: 18px;
	height: 18px;
	color: var(--nrf-muted);
	transition: transform 0.3s var(--nrf-ease-out), color 0.2s;
}

.nrf-hub__link:hover .nrf-hub__icon {
	background: var(--nrf-ink);
	color: var(--nrf-paper-2);
}

.nrf-hub__link:hover > .nrf-icon {
	color: var(--nrf-ink);
	transform: translateX(3px);
}

.nrf-hub__news {
	border: 1px solid var(--nrf-line);
	border-radius: var(--nrf-r-xl);
	background: var(--nrf-surface);
	box-shadow: var(--nrf-shadow-sm);
	overflow: hidden;
}

.nrf-hub__news-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	padding: clamp(20px, 2.4vw, 28px);
	border-bottom: 1px solid var(--nrf-line);
}

.nrf-hub__kicker {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nrf-accent);
}

.nrf-hub__news-title {
	margin: 4px 0 6px;
	font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
	font-weight: 450;
	width: auto;
}

.nrf-hub__news-text {
	max-width: 34em;
	margin: 0;
	font-size: 0.9375rem;
	color: var(--nrf-muted);
}

/* The issue scrolls inside a fixed-height reader so the page stays navigable. */
.nrf-hub__frame {
	height: clamp(560px, 78vh, 920px);
	background: #fff;
}

.nrf-hub__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.nrf-hub--no-news .nrf-hub__grid {
	grid-template-columns: minmax(0, 1fr);
}

.nrf-hub--no-news .nrf-hub__side {
	position: static;
}

.nrf-hub--no-news .nrf-hub__links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	column-gap: 32px;
}

/* Reveal on scroll (only when JS is running). */
.nrf-js [data-nrf-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.8s var(--nrf-ease-out), transform 0.9s var(--nrf-ease-out);
	transition-delay: var(--nrf-delay, 0ms);
}

/* nrf-select.js adds .nrf-ready as soon as it runs. Without it, show
   everything after 2.5s so a failed script never hides content. */
.nrf-js:not(.nrf-ready) [data-nrf-reveal] {
	animation: nrf-reveal-fallback 0.6s 2.5s forwards;
}

.nrf-js [data-nrf-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* Movement only, no fade: the headline stays visible from the first paint. */
@keyframes nrf-rise {
	from { transform: translateY(14px); }
	to { transform: none; }
}

/* If the theme script never runs (blocked, or broken by a combined bundle),
   reveal hidden sections anyway after a short delay. */
@keyframes nrf-reveal-fallback {
	to { opacity: 1; transform: none; }
}

@keyframes nrf-settle {
	from { transform: scale(1.06); }
	to { transform: scale(1); }
}

/* Homepage responsive. */
@media (max-width: 1099px) {
	.nrf-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nrf-stats .nrf-stat:nth-child(3) {
		display: none;
	}
}

/* Below this the newsletter column can't keep its width beside the links. */
@media (max-width: 1199px) {
	.nrf-hub__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nrf-hub__side {
		position: static;
	}

	.nrf-hub__links {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
		column-gap: 32px;
	}

	.nrf-hub__news {
		max-width: 820px;
	}
}

@media (max-width: 849px) {
	.nrf-hero__grid,
	.nrf-programs__grid,
	.nrf-audience__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nrf-hub__frame {
		height: 75vh;
	}

	.nrf-hero__media {
		order: -1;
		padding: 0 0 20px 20px;
		margin-right: 0;
	}

	.nrf-hero__media::before {
		inset: 20px 0 0 0;
	}

	.nrf-hero__frame {
		transform: translate(-20px, -20px);
		aspect-ratio: 4 / 3;
	}

	.nrf-hero__card {
		left: auto;
		right: 12px;
		bottom: 8px;
		max-width: 250px;
		padding: 10px 14px 10px 10px;
	}

	.nrf-hero__card-icon {
		width: 36px;
		height: 36px;
	}

	.nrf-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nrf-stats .nrf-stat:nth-child(3) {
		display: block;
	}

	.nrf-cats__grid,
	.nrf-cats__grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: clamp(170px, 42vw, 280px);
	}

	.nrf-cat--feature,
	.nrf-cats__grid--3 .nrf-cat--feature {
		grid-column: span 2;
		grid-row: span 1;
	}

	.nrf-cats__grid--4 .nrf-cat:last-child {
		grid-column: auto;
	}

	.nrf-cats__grid--4 .nrf-cat:nth-child(2) {
		grid-column: span 2;
	}

	.nrf-programs__intro {
		position: static;
	}

	.nrf-rail__controls .nrf-rail__btn {
		display: none;
	}

	.nrf-rail__controls .nrf-link {
		margin-right: 0;
	}
}

@media (max-width: 549px) {
	.nrf-hero {
		padding-top: 20px;
	}

	.nrf-actions .nrf-btn {
		flex: 1 1 100%;
	}

	.nrf-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.nrf-stats .nrf-stat:nth-child(3) {
		display: none;
	}

	.nrf-cat__arrow {
		display: none;
	}

	.nrf-program__link {
		grid-template-columns: 36px minmax(0, 1fr);
	}

	.nrf-program__arrow {
		display: none;
	}

	.nrf-rail__track {
		grid-auto-columns: 62vw;
	}
}

/* 9. Footer
   ========================================================================== */

.footer-wrapper {
	background: var(--nrf-ink);
}

.nrf-footer {
	position: relative;
	background:
		radial-gradient(80% 120% at 0% 0%, rgba(140, 90, 43, 0.22) 0%, rgba(140, 90, 43, 0) 55%),
		var(--nrf-ink);
	color: var(--nrf-on-dark-muted);
	padding-top: clamp(56px, 6vw, 96px);
	font-size: 0.9375rem;
}

.nrf-footer--bar {
	padding-top: 0;
	background: var(--nrf-ink);
}

.nrf-footer a {
	color: var(--nrf-on-dark);
	text-decoration: none;
}

.nrf-footer a:hover {
	color: #d9a876;
}

.nrf-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 40px clamp(24px, 4vw, 64px);
	padding-bottom: clamp(48px, 5vw, 80px);
}

.nrf-footer__logo {
	display: inline-block;
	margin-bottom: 20px;
}

/* Turns the black-on-white logo into light-on-dark. */
.nrf-footer__logo img {
	display: block;
	width: 150px;
	height: auto;
	filter: invert(1) grayscale(1) brightness(1.05);
	mix-blend-mode: screen;
	opacity: 0.94;
}

.nrf-footer__wordmark {
	font-family: var(--nrf-font-serif);
	font-size: 1.9rem;
	color: var(--nrf-on-dark);
}

.nrf-footer__tagline {
	max-width: 26em;
	margin: 0 0 24px;
	font-family: var(--nrf-font-serif);
	font-size: 1.2rem;
	line-height: 1.45;
	color: var(--nrf-on-dark);
	opacity: 0.88;
}

.nrf-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nrf-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 10px;
	line-height: 1.5;
}

.nrf-footer__contact .nrf-icon {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: #d9a876;
}

.nrf-footer__heading {
	margin: 4px 0 18px;
	font-family: var(--nrf-font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nrf-on-dark-muted);
}

.nrf-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nrf-footer__links li {
	margin: 0 0 12px;
	list-style: none;
}

.nrf-footer__links a {
	position: relative;
	display: inline-block;
	line-height: 1.4;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
	transition: color 0.2s, background-size 0.35s var(--nrf-ease-out);
}

.nrf-footer__links a:hover {
	background-size: 100% 1px;
}

.nrf-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding: 24px 0 28px;
	border-top: 1px solid rgba(244, 238, 229, 0.12);
	font-size: 0.8125rem;
}

.nrf-footer__copy {
	margin: 0;
}

.nrf-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nrf-footer__legal li {
	margin: 0;
}

.nrf-footer__legal a {
	color: var(--nrf-on-dark-muted);
}

@media (max-width: 849px) {
	.nrf-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nrf-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 549px) {
	.nrf-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

/* Back to top. */
#top-link {
	width: 46px;
	height: 46px;
	border: 1px solid var(--nrf-line-strong);
	background: rgba(251, 248, 243, 0.9);
	color: var(--nrf-ink);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: var(--nrf-shadow-sm);
}

#top-link:hover {
	background: var(--nrf-ink);
	border-color: var(--nrf-ink);
	color: var(--nrf-paper-2);
}

/* 10. Utilities & third-party
   ========================================================================== */

/* Ultimate Member login / register forms. */
.um .um-form input[type="text"],
.um .um-form input[type="password"],
.um .um-form input[type="email"],
.um .um-form input[type="tel"],
.um .um-form select {
	height: 48px !important;
	border: 1px solid var(--nrf-line-strong) !important;
	border-radius: var(--nrf-r) !important;
	background: var(--nrf-surface) !important;
	font-family: var(--nrf-font-sans) !important;
	font-size: 0.95rem !important;
	color: var(--nrf-ink) !important;
	box-shadow: none !important;
}

.um .um-form input:focus,
.um .um-form textarea:focus {
	border-color: var(--nrf-ink) !important;
	box-shadow: 0 0 0 4px rgba(140, 90, 43, 0.16) !important;
}

.um .um-field-label label {
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	color: var(--nrf-ink) !important;
}

.um a.um-button,
.um input[type="submit"].um-button,
.um .um-button {
	min-height: 50px !important;
	border-radius: var(--nrf-r) !important;
	background: var(--nrf-ink) !important;
	font-family: var(--nrf-font-sans) !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	box-shadow: none !important;
	transition: background-color 0.2s !important;
}

.um a.um-button:hover,
.um input[type="submit"].um-button:hover,
.um .um-button:hover {
	background: var(--nrf-accent) !important;
}

.um a.um-button.um-alt,
.um input[type="submit"].um-button.um-alt {
	background: transparent !important;
	border: 1px solid var(--nrf-line-strong) !important;
	color: var(--nrf-ink) !important;
}

.um .um-form textarea {
	border: 1px solid var(--nrf-line-strong) !important;
	border-radius: var(--nrf-r) !important;
	background: var(--nrf-surface) !important;
	font-family: var(--nrf-font-sans) !important;
	font-size: 0.95rem !important;
	color: var(--nrf-ink) !important;
	box-shadow: none !important;
}

/* Card treatment for the login and register forms only, not profile/account pages. */
.um-login .um-form,
.um-register .um-form,
.um-password .um-form {
	padding: clamp(24px, 4vw, 40px) !important;
	border: 1px solid var(--nrf-line);
	border-radius: var(--nrf-r-xl);
	background: var(--nrf-surface);
	box-shadow: var(--nrf-shadow-sm);
}

/* Tooltips. */
.tooltipster-base {
	border-radius: var(--nrf-r-sm);
}

/* Flatsome lightboxes. */
.mfp-content .lightbox-content,
.mfp-content > .lightbox-inner {
	border-radius: var(--nrf-r-lg);
	overflow: hidden;
}

/* Respect reduced motion everywhere. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.nrf-js [data-nrf-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* Print: drop chrome. */
@media print {
	.header-wrapper,
	.footer-wrapper,
	.nrf-pdp-cta,
	.nrf-drawer,
	.nrf-samples-fab,
	.nrf-sample-add,
	#top-link {
		display: none !important;
	}
}

/* Contact form and sample request form (inc/contact.php, inc/samples.php) ---------------- */

.nrf-contact *, .nrf-contact *::before, .nrf-contact *::after, .nrf-request *, .nrf-request *::before, .nrf-request *::after { box-sizing: border-box; }
.nrf-contact {
	box-sizing: border-box;
	container-type: inline-size;
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	max-width: var(--nrf-wide);
	margin: clamp(28px, 4vw, 56px) auto;
	padding: 0 var(--nrf-gutter);
}
@media (min-width: 900px) {
	.nrf-contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
}
.nrf-contact__title {
	margin: 6px 0 14px;
	font-family: var(--nrf-font-serif);
	font-size: var(--nrf-fs-h2);
	font-weight: 400;
	line-height: 1.05;
	color: var(--nrf-ink);
}
.nrf-contact__lede { max-width: 44ch; font-size: var(--nrf-fs-lede); color: var(--nrf-ink-2); }
.nrf-contact__details { display: grid; gap: 16px; margin: 28px 0 0; padding: 22px 24px; border-radius: var(--nrf-r-lg); background: var(--nrf-paper-2); box-shadow: inset 0 0 0 1px var(--nrf-line); }
.nrf-contact__details dt { margin: 0 0 2px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nrf-muted); }
.nrf-contact__details dd { margin: 0; color: var(--nrf-ink); }
.nrf-contact__details a { color: var(--nrf-accent-deep); }
.nrf-contact__card,
.nrf-request {
	padding: clamp(22px, 3vw, 36px);
	border-radius: var(--nrf-r-xl);
	background: var(--nrf-surface);
	box-shadow: var(--nrf-shadow-sm), inset 0 0 0 1px var(--nrf-line);
}
.nrf-request__title { margin: 0 0 18px; font-family: var(--nrf-font-serif); font-size: var(--nrf-fs-h3); font-weight: 400; color: var(--nrf-ink); }
.nrf-request--guest { max-width: 640px; margin: 24px auto; text-align: center; }
.nrf-contact__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.nrf-contact__field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
@container (min-width: 520px) { .nrf-contact__field--half { grid-column: span 1; } }
.nrf-request .nrf-contact__field--half { grid-column: span 1; }
@media (max-width: 560px) { .nrf-request .nrf-contact__field--half { grid-column: 1 / -1; } }
.nrf-contact__field > label { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--nrf-ink-2); }
.nrf-contact__req { color: var(--nrf-accent); }
.nrf-contact__opt { font-weight: 400; color: var(--nrf-muted); }
.nrf-contact__field input:not([type="checkbox"]),
.nrf-contact__field select,
.nrf-contact__field textarea {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--nrf-line);
	border-radius: var(--nrf-r);
	background: var(--nrf-paper-2);
	box-shadow: none;
	color: var(--nrf-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.2s var(--nrf-ease), box-shadow 0.2s var(--nrf-ease), background 0.2s var(--nrf-ease);
}
.nrf-contact__field textarea { min-height: 140px; resize: vertical; }
.nrf-contact__field input:focus,
.nrf-contact__field select:focus,
.nrf-contact__field textarea:focus { outline: none; border-color: var(--nrf-accent); background: var(--nrf-surface); box-shadow: 0 0 0 3px var(--nrf-accent-soft); }
.nrf-contact__field--check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.nrf-contact__field--check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--nrf-accent); }
.nrf-contact__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.nrf-contact__submit .nrf-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.nrf-contact__note { font-size: 0.85rem; color: var(--nrf-muted); }
.nrf-contact__errors { margin: 0 0 18px; padding: 14px 18px; border-radius: var(--nrf-r); background: #fbeceb; color: #7a2a1f; }
.nrf-contact__errors ul { margin: 6px 0 0 18px; padding: 0; list-style: disc; }
.nrf-contact__thanks h2 { margin: 0 0 8px; font-family: var(--nrf-font-serif); font-size: var(--nrf-fs-h3); font-weight: 400; color: var(--nrf-ink); }
.nrf-contact__thanks p { margin: 0 0 18px; color: var(--nrf-ink-2); }
.nrf-contact__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Documents: The WalkThrough (inc/walkthrough.php) ---------------------------------------- */

.nrf-docs, .nrf-docs * { box-sizing: border-box; }
.nrf-docs { max-width: var(--nrf-wide); margin: clamp(28px, 4vw, 56px) auto; padding: 0 var(--nrf-gutter); }
.nrf-docs__head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.nrf-docs__title { margin: 6px 0 12px; font-family: var(--nrf-font-serif); font-size: var(--nrf-fs-h2); font-weight: 400; line-height: 1.05; color: var(--nrf-ink); }
.nrf-docs__lede { font-size: var(--nrf-fs-lede); color: var(--nrf-ink-2); }
.nrf-docs__issue { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 14px 0 0; font-size: 0.9rem; color: var(--nrf-muted); }
.nrf-docs__bar { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 28px; padding: 12px; border-radius: var(--nrf-r-lg); background: rgba(251, 248, 243, 0.92); backdrop-filter: blur(10px); box-shadow: var(--nrf-shadow-sm), inset 0 0 0 1px var(--nrf-line); }
.nrf-docs__search { flex: 1 1 260px; margin: 0; }
.nrf-docs__search input { width: 100%; min-height: 44px; margin: 0; padding: 10px 14px; border: 1px solid var(--nrf-line); border-radius: 999px; background: var(--nrf-surface); box-shadow: none; font: inherit; }
.nrf-docs__search input:focus { outline: none; border-color: var(--nrf-accent); box-shadow: 0 0 0 3px var(--nrf-accent-soft); }
.nrf-docs__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nrf-docs__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; margin: 0; padding: 0 14px; border: 1px solid var(--nrf-line); border-radius: 999px; background: var(--nrf-surface); color: var(--nrf-ink-2); font: inherit; font-size: 0.85rem; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }
.nrf-docs__chip span { font-weight: 500; color: var(--nrf-muted); }
.nrf-docs__chip[aria-pressed="true"] { border-color: var(--nrf-ink); background: var(--nrf-ink); color: var(--nrf-paper-2); }
.nrf-docs__chip[aria-pressed="true"] span { color: var(--nrf-on-dark-muted); }
.nrf-docs__section { margin: 0 0 clamp(36px, 5vw, 64px); }
.nrf-docs__section[hidden], .nrf-docs__item[hidden] { display: none !important; }
.nrf-docs__h2 { margin: 0 0 16px; font-family: var(--nrf-font-serif); font-size: var(--nrf-fs-h3); font-weight: 400; color: var(--nrf-ink); }
.nrf-docs__grid { display: grid; gap: 14px; margin: 0 !important; padding: 0 !important; list-style: none !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.nrf-docs__grid--promo, .nrf-docs__grid--commercial { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.nrf-docs__item { margin: 0 !important; }
.nrf-docs__link, .nrf-docs__item > .nrf-docs__body { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--nrf-r-lg); background: var(--nrf-surface); box-shadow: var(--nrf-shadow-sm), inset 0 0 0 1px var(--nrf-line); color: inherit; text-decoration: none !important; transition: transform 0.25s var(--nrf-ease), box-shadow 0.25s var(--nrf-ease); }
.nrf-docs__link:hover { transform: translateY(-2px); box-shadow: var(--nrf-shadow); }
.nrf-docs__link:focus-visible { outline: 2px solid var(--nrf-accent); outline-offset: 3px; }
.nrf-docs__media { display: block; background: var(--nrf-sand); }
.nrf-docs__media img { display: block; width: 100%; height: auto !important; }
.nrf-docs__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.nrf-docs__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nrf-muted); }
.nrf-docs__meta:empty { display: none; }
.nrf-docs__ends { padding: 2px 8px; border-radius: 999px; background: var(--nrf-accent-soft); color: var(--nrf-accent-deep); letter-spacing: 0.02em; }
.nrf-docs__item-title { font-size: 1rem; font-weight: 650; color: var(--nrf-ink); }
.nrf-docs__text { font-size: 0.92rem; color: var(--nrf-ink-2); }
.nrf-docs__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 0.85rem; font-weight: 600; color: var(--nrf-accent-deep); }
.nrf-docs__cta svg { width: 14px; height: 14px; }
.nrf-docs__item.has-img .nrf-docs__body { padding-top: 10px; }
.nrf-docs__empty, .nrf-docs__none { color: var(--nrf-muted); }
@media (max-width: 849px) { .nrf-docs__bar { top: 8px; } }
.nrf-hub__promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0 !important; padding: 0 !important; list-style: none !important; }
.nrf-hub__promos li { margin: 0 !important; }
.nrf-hub__promos a { display: block; overflow: hidden; border-radius: var(--nrf-r); background: var(--nrf-sand); box-shadow: var(--nrf-shadow-sm); transition: transform 0.25s var(--nrf-ease), box-shadow 0.25s var(--nrf-ease); }
.nrf-hub__promos a:hover { transform: translateY(-2px); box-shadow: var(--nrf-shadow); }
.nrf-hub__promos img { display: block; width: 100%; height: auto !important; }
.nrf-hub__all { margin-top: 16px; }

/* Documents: readable pictures, compact text items (1.3.6). */
.nrf-docs__grid { align-items: start; }
.nrf-docs__grid + .nrf-docs__grid { margin-top: 14px !important; }
.nrf-docs__grid--pics { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)) !important; gap: 18px; }
.nrf-docs__grid--text { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)) !important; }
.nrf-docs__link, .nrf-docs__item > .nrf-docs__body { height: auto; }
.nrf-docs__item.has-img .nrf-docs__body { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; padding: 12px 16px; }
.nrf-docs__item.has-img .nrf-docs__cta { margin: 0 0 0 auto; padding: 0; }
.nrf-docs__item.has-img .nrf-docs__item-title { font-size: 0.95rem; }
.nrf-docs__item.is-compact .nrf-docs__body { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; }
.nrf-docs__item.is-compact .nrf-docs__body::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--nrf-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f4520' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E") center / 18px no-repeat; }
.nrf-docs__item.is-compact .nrf-docs__item-title { flex: 1; font-size: 0.95rem; }
.nrf-docs__item.is-compact .nrf-docs__cta { margin: 0; padding: 0; white-space: nowrap; }

/* Form fields: choice groups (multiple choice, checkbox lists) ------------------------------ */
.nrf-contact__field fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.nrf-contact__field legend { margin: 0 0 8px; padding: 0; font-size: 0.85rem; font-weight: 600; color: var(--nrf-ink-2); }
.nrf-contact__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.nrf-contact__choices label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border: 1px solid var(--nrf-line); border-radius: 999px; background: var(--nrf-paper-2); font-size: 0.9rem; font-weight: 500; cursor: pointer; }
.nrf-contact__choices input { width: 16px; height: 16px; margin: 0; accent-color: var(--nrf-accent); }
.nrf-contact__choices label:has(input:checked) { border-color: var(--nrf-ink); box-shadow: inset 0 0 0 1px var(--nrf-ink); background: var(--nrf-surface); }

/* Displays (inc/displays.php) ------------------------------------------------------------- */
.nrf-disp, .nrf-disp * { box-sizing: border-box; }
.nrf-disp { max-width: var(--nrf-wide); margin: clamp(24px, 4vw, 56px) auto; padding: 0 var(--nrf-gutter); }
.nrf-disp__preview { margin: 0 0 20px; padding: 10px 16px; border-radius: var(--nrf-r); background: #fff4d6; color: #6b4e00; font-size: 0.9rem; font-weight: 600; }
.nrf-disp__head { max-width: 760px; margin-bottom: clamp(22px, 3vw, 36px); }
.nrf-disp__title { margin: 6px 0 12px; font-family: var(--nrf-font-serif); font-size: var(--nrf-fs-h2); font-weight: 400; line-height: 1.05; color: var(--nrf-ink); }
.nrf-disp__title--one { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.nrf-disp__lede { font-size: var(--nrf-fs-lede); color: var(--nrf-ink-2); }
.nrf-disp__grid { display: grid; gap: 18px; margin: 0 !important; padding: 0 !important; list-style: none !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); align-items: start; }
.nrf-disp__card { margin: 0 !important; }
.nrf-disp__card[hidden] { display: none !important; }
.nrf-disp__link { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--nrf-r-lg); background: var(--nrf-surface); box-shadow: var(--nrf-shadow-sm), inset 0 0 0 1px var(--nrf-line); color: inherit; text-decoration: none !important; transition: transform 0.25s var(--nrf-ease), box-shadow 0.25s var(--nrf-ease); }
.nrf-disp__link:hover { transform: translateY(-3px); box-shadow: var(--nrf-shadow); }
.nrf-disp__link:focus-visible { outline: 2px solid var(--nrf-accent); outline-offset: 3px; }
.nrf-disp__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--nrf-paper-2); }
.nrf-disp__media img { width: 100%; height: 100% !important; object-fit: contain; padding: 10px; }
.nrf-disp__noimg { display: block; width: 100%; height: 100%; min-height: 160px; background: repeating-linear-gradient(45deg, var(--nrf-sand), var(--nrf-sand) 8px, var(--nrf-sand-2) 8px, var(--nrf-sand-2) 16px); }
.nrf-disp__badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--nrf-shadow-sm); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.04em; color: var(--nrf-ink); }
.nrf-disp__badge--checklist { background: var(--nrf-ink); color: var(--nrf-paper-2); }
.nrf-disp__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.nrf-disp__div { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nrf-accent); }
.nrf-disp__name { font-size: 1.02rem; font-weight: 650; line-height: 1.3; color: var(--nrf-ink); }
.nrf-disp__facts { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.85rem; color: var(--nrf-muted); }
.nrf-disp__price { font-weight: 650; color: var(--nrf-ink); }
.nrf-disp__crumbs { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 0.9rem; }
.nrf-disp__crumbs a { color: var(--nrf-ink-2); text-decoration: none; font-weight: 600; }
.nrf-disp__print { margin: 0; padding: 8px 14px; border: 1px solid var(--nrf-line); border-radius: 999px; background: var(--nrf-surface); color: var(--nrf-ink-2); font: inherit; font-size: 0.85rem; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }
.nrf-disp__one { display: grid; gap: clamp(22px, 4vw, 48px); align-items: start; margin-bottom: clamp(26px, 4vw, 44px); }
@media (min-width: 900px) { .nrf-disp__one { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.nrf-disp__gallery { overflow: hidden; border-radius: var(--nrf-r-xl); background: var(--nrf-surface); box-shadow: var(--nrf-shadow-sm), inset 0 0 0 1px var(--nrf-line); }
.nrf-disp__zoom { position: relative; display: block; cursor: zoom-in; }
.nrf-disp__zoom img { display: block; width: 100%; height: auto !important; max-height: 640px; object-fit: contain; padding: clamp(10px, 2vw, 24px); }
.nrf-disp__zoom-hint { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(31, 27, 23, 0.78); color: #fff; font-size: 0.8rem; font-weight: 600; }
/* Flatsome styles every dl as small, faded, uppercase inline text; reset it. */
.nrf-disp__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0; font-size: inherit; opacity: 1; text-transform: none; }
.nrf-disp__specs div { display: flex; flex-direction: column; justify-content: center; padding: 14px 16px; border-radius: var(--nrf-r); background: var(--nrf-paper-2); box-shadow: inset 0 0 0 1px var(--nrf-line); }
.nrf-disp__specs dt, .nrf-disp__specs dd { display: block; }
.nrf-disp__specs dt { margin: 0 0 4px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nrf-muted); }
.nrf-disp__specs dd { margin: 0; color: var(--nrf-ink); font-weight: 600; text-transform: none; letter-spacing: 0; }

/* Highlights: the display's selling points. */
.nrf-disp__highlights { margin: 22px 0 0; padding: 18px 20px; border-radius: var(--nrf-r-lg); background: var(--nrf-surface); box-shadow: inset 0 0 0 1px var(--nrf-line); }
.nrf-disp__hl-title { margin: 0 0 10px; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nrf-accent); }
.nrf-disp__highlights ul { display: grid; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.nrf-disp__highlights li { display: flex; align-items: flex-start; gap: 10px; margin: 0 !important; color: var(--nrf-ink); font-size: 0.98rem; line-height: 1.45; }
.nrf-disp__hl-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; background: var(--nrf-accent-soft); color: var(--nrf-accent-deep); }
.nrf-disp__hl-icon .nrf-icon { width: 15px; height: 15px; stroke-width: 2.2; }

/* Send this form to a customer (reps only; not printed). */
.nrf-share { margin: 22px 0 0; padding: 18px 20px; border-radius: var(--nrf-r-lg); background: var(--nrf-paper-2); box-shadow: inset 0 0 0 1px var(--nrf-line); }
.nrf-share__title { margin: 0 0 4px; font-family: inherit; font-size: 1rem; font-weight: 650; letter-spacing: 0; color: var(--nrf-ink); }
.nrf-share__text { margin: 0 0 12px; color: var(--nrf-ink-2); font-size: 0.9rem; line-height: 1.5; }
.nrf-share__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; align-items: end; margin: 0; }
.nrf-share__form label { display: grid; gap: 4px; margin: 0; font-size: 0.8rem; font-weight: 600; color: var(--nrf-ink-2); }
.nrf-share__form label em { font-style: normal; font-weight: 500; color: var(--nrf-muted); }
.nrf-share__form input { width: 100%; min-height: 40px; margin: 0; padding: 8px 12px; border: 1px solid var(--nrf-line); border-radius: var(--nrf-r); background: var(--nrf-surface); font: inherit; font-size: 0.9rem; box-shadow: none; }
.nrf-share__form .nrf-btn { grid-column: 1 / -1; justify-self: start; margin: 2px 0 0; }
@media (max-width: 520px) { .nrf-share__form { grid-template-columns: 1fr; } }
.nrf-share__new { margin: 0 0 14px; padding: 14px; border-radius: var(--nrf-r); background: var(--nrf-accent-soft); }
.nrf-share__new label { display: block; margin: 0 0 6px; font-size: 0.85rem; font-weight: 650; color: var(--nrf-accent-deep); }
.nrf-share__copy { display: flex; gap: 8px; }
.nrf-share__copy input { flex: 1; min-width: 0; min-height: 42px; margin: 0; padding: 8px 12px; border: 1px solid var(--nrf-line); border-radius: var(--nrf-r); background: #fff; font: inherit; font-size: 0.85rem; box-shadow: none; }
.nrf-share__copy .nrf-btn { margin: 0; flex: none; }
.nrf-share__small { margin: 8px 0 0; font-size: 0.8rem; line-height: 1.45; color: var(--nrf-ink-2); }
.nrf-share__notice { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--nrf-r); background: var(--nrf-accent-soft); color: var(--nrf-accent-deep); font-size: 0.88rem; font-weight: 600; }
.nrf-share__notice--warn { background: #fbeaea; color: #8a1f1f; }
.nrf-share__mine { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--nrf-line); }
.nrf-share__mine summary { cursor: pointer; font-size: 0.85rem; font-weight: 650; color: var(--nrf-ink-2); }
.nrf-share__mine ul { margin: 10px 0 0 !important; padding: 0 !important; list-style: none !important; display: grid; gap: 8px; }
.nrf-share__link { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 !important; padding: 8px 10px; border-radius: var(--nrf-r); background: var(--nrf-surface); font-size: 0.85rem; }
.nrf-share__link span { display: grid; gap: 2px; }
.nrf-share__link small { color: var(--nrf-muted); font-size: 0.78rem; }
.nrf-share__link--active small { color: #1d6b3a; }
.nrf-share__link form { margin: 0; }
.nrf-share__cancel { margin: 0; padding: 5px 10px; border: 1px solid var(--nrf-line); border-radius: 999px; background: transparent; color: #8a1f1f; font: inherit; font-size: 0.78rem; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }

/* The customer's page (shared link). */
.nrf-dlink { padding: clamp(18px, 3vw, 36px) 0 clamp(40px, 6vw, 72px); }
.nrf-dlink__banner { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 22px; padding: 16px 18px; border-radius: var(--nrf-r-lg); background: var(--nrf-accent-soft); }
.nrf-dlink__banner p { margin: 0; display: grid; gap: 2px; color: var(--nrf-ink); }
.nrf-dlink__banner span:not(.nrf-dlink__banner-icon) { color: var(--nrf-ink-2); font-size: 0.92rem; }
.nrf-dlink__banner-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--nrf-surface); color: var(--nrf-accent-deep); }
.nrf-dlink__msg { max-width: 620px; margin: clamp(20px, 6vw, 80px) auto; padding: clamp(24px, 4vw, 40px); border-radius: var(--nrf-r-xl); background: var(--nrf-surface); box-shadow: var(--nrf-shadow-sm), inset 0 0 0 1px var(--nrf-line); text-align: center; }
.nrf-dlink__msg-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: #f3e6d6; color: var(--nrf-accent-deep); }
.nrf-dlink__msg--good .nrf-dlink__msg-icon { background: #e3f1e6; color: #1d6b3a; }
.nrf-dlink__msg-title { margin: 0 0 8px; font-family: var(--nrf-font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 450; }
.nrf-dlink__msg p { color: var(--nrf-ink-2); }
.nrf-dlink__msg .nrf-actions { justify-content: center; margin-top: 18px; }
.nrf-disp__fields-head { grid-column: 1 / -1; margin: 6px 0 -4px; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nrf-accent); }
.nrf-disp__price--big { font-family: var(--nrf-font-serif); font-size: 1.6rem; font-weight: 400 !important; line-height: 1.1; }
.nrf-disp__summary { color: var(--nrf-ink-2); font-size: 1rem; line-height: 1.6; }
.nrf-disp__form { max-width: 980px; }
.nrf-check { margin-bottom: 22px; }
.nrf-check__how { margin: 0 0 12px; color: var(--nrf-ink-2); }
.nrf-check__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.nrf-check__count { padding: 6px 12px; border-radius: 999px; background: var(--nrf-accent-soft); color: var(--nrf-accent-deep); font-size: 0.85rem; font-weight: 650; }
.nrf-check__tools { display: flex; gap: 8px; }
.nrf-check__tools button { margin: 0; padding: 7px 12px; border: 1px solid var(--nrf-line); border-radius: 999px; background: var(--nrf-surface); color: var(--nrf-ink-2); font: inherit; font-size: 0.82rem; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }
.nrf-check__find { width: 100%; min-height: 42px; margin: 0 0 10px; padding: 8px 14px; border: 1px solid var(--nrf-line); border-radius: 999px; background: var(--nrf-paper-2); font: inherit; }
.nrf-check__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 6px 14px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.nrf-check__list li { margin: 0 !important; }
.nrf-check__list li[hidden] { display: none; }
.nrf-check__list label { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 12px; border-radius: var(--nrf-r); background: var(--nrf-paper-2); font-size: 0.92rem; font-weight: 500; color: var(--nrf-ink); cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.nrf-check__list input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--nrf-accent); }
.nrf-check__list li.is-off label { background: transparent; color: var(--nrf-muted); text-decoration: line-through; opacity: 0.75; }
.nrf-disp__lightbox { max-width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--nrf-r-lg); background: #fff; }
.nrf-disp__lightbox::backdrop { background: rgba(20, 17, 14, 0.82); }
.nrf-disp__lightbox img { display: block; max-width: 100%; max-height: 92vh; width: auto; height: auto; margin: auto; }
.nrf-disp__lb-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(31, 27, 23, 0.8); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media print {
	body * { visibility: hidden; }
	.nrf-disp__one, .nrf-disp__one * { visibility: visible; }
	.nrf-disp__one { position: absolute; inset: 0 auto auto 0; width: 100%; display: block; }
	.nrf-disp__gallery { box-shadow: none; }
	.nrf-disp__zoom-hint { display: none; }
	.nrf-disp__zoom img { max-height: 520px; }
	.nrf-share { display: none !important; }
	.nrf-disp__highlights { box-shadow: none; padding-left: 0; }
}
