/* Storefront refinement: readable shopping surfaces and useful product detail. */

/* One height budget for the campaign, including its inner padding. */
.nf-hero {
	display: grid;
	min-height: clamp(620px, 74svh, 720px);
	align-items: center;
	padding-block: clamp(2.5rem, 4.2vw, 3.75rem);
}
.nf-hero__inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
	min-height: 0;
	gap: clamp(2rem, 4.5vw, 4.5rem);
	padding-block: 0;
}
.nf-hero__copy h1 {
	margin: .75rem 0 1.25rem;
	font-size: clamp(3.15rem, 5.15vw, 5.5rem);
	letter-spacing: -.045em;
	line-height: 1.02;
}
html[dir="rtl"] .nf-hero__copy h1 { letter-spacing: 0; line-height: 1.18; }
.nf-hero__intro { margin: 0 0 1.5rem; color: #c7d0dc; font-size: 1rem; line-height: 1.65; }
.nf-hero__search { margin-top: 1.4rem; }
.nf-hero-product { align-self: center; }
.nf-hero-product__stage { width: 100%; min-width: 0; min-height: 0; height: clamp(280px, 31vw, 440px); aspect-ratio: auto; }
.nf-hero-product__stage img { width: 100%; min-width: 0; min-height: 0; height: 100%; max-height: 440px; object-fit: contain; }
.nf-hero-product__meta { padding-top: .9rem; }
.nf-hero-product__meta span { color: #b5c1d0; font-size: .875rem; letter-spacing: .025em; }
.nf-hero-product__meta strong { font-size: 1.125rem; }
.nf-hero .nf-search-form input::placeholder { color: #b8c4d3; }

.nf-about-hero__inner { padding-block: 4rem; gap: 3rem; }
.nf-about-hero h1 { font-size: clamp(3rem, 5.2vw, 5rem); letter-spacing: -.045em; line-height: 1.05; }
.nf-about-hero__image { width: min(100%, 32rem); justify-self: end; }
.nf-about-hero__image img { object-fit: contain; }
.nf-about-hero__image figcaption { font-size: .875rem; }

/* Readable labels and comfortable controls without oversized chrome. */
.nf-button,
.nf-shop-tools .nf-button,
.nf-text-link,
.nf-product-card__details,
.nf-shop-tools__clear,
.nf-shop-tools > summary,
.nf-shop-tools label,
.nf-category-rail__name,
.nf-category-rail__count,
.nf-product-glance dt,
.nf-product-glance dd small { font-size: .875rem; }
.nf-shop-tools__controls input,
.nf-shop-tools__controls select { font-size: 1rem; }
.nf-shop-tools__active b,
.nf-commerce .woocommerce-result-count,
.woocommerce .woocommerce-result-count,
.nf-stock-quantity { font-size: .875rem; }
.nf-button,
.nf-text-link { letter-spacing: .025em; }
.nf-button { min-height: 3rem; }
.nf-product-glance dd { font-size: 1rem; line-height: 1.55; }
.nf-product-glance dt { letter-spacing: .025em; line-height: 1.5; }
.nf-product-glance dd small { line-height: 1.5; }
.woocommerce div.product .stock { font-size: .875rem; letter-spacing: .015em; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: .875rem; }
.nf-product-card,
.nf-product-card__body,
.nf-product-card__body :is(h2, p, a, .price),
.nf-product-intro,
.nf-product-lead,
.nf-product-highlights,
.nf-product-information,
.nf-related-comparison { -webkit-user-select: text; user-select: text; }

/* A quiet photo control row leaves attention on the product and price. */
.nf-card-gallery__controls,
.woocommerce div.product .related ul.products li.product .nf-card-gallery__controls {
	min-height: 2.75rem;
	grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
	border-top-color: #edf0f4;
	background: #fff;
}
.nf-card-gallery__button {
	width: 2.75rem;
	height: 2.75rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	color: #5f6c7c;
}
.nf-card-gallery__button:first-child,
.nf-card-gallery__button:last-child { border-inline: 0; }
.nf-card-gallery__button:hover { background: #f1f4f9; color: var(--nf-cobalt); }
.nf-card-gallery__position { color: #637083; font-size: .875rem; letter-spacing: 0; }
.nf-card-gallery__button span { font-size: 1.35rem; }
.nf-product-card__body { display: flex; flex-direction: column; gap: 0; padding: 1.1rem; }
/* AJAX adds a second action row. Keep intrinsic content heights in flex/grid
 * layouts, including WebKit: no text or media may shrink to make room for it. */
.nf-product-card__body > *,
.nf-product-card > .nf-product-card__media,
.nf-product-card > .nf-card-gallery__controls { flex-shrink: 0; }
.woocommerce div.product .related ul.products li.product .nf-product-card__body { display: flex; }
.nf-product-card__category { margin-bottom: .45rem; color: #5b6778; font-size: .875rem; line-height: 1.45; letter-spacing: .01em; }
.woocommerce ul.products li.product .nf-product-card__body .woocommerce-loop-product__title {
	min-height: 0;
	font-size: 1.125rem;
	line-height: 1.4;
	letter-spacing: -.015em;
}
html[dir="rtl"] .woocommerce ul.products li.product .nf-product-card__body .woocommerce-loop-product__title { letter-spacing: 0; }
.nf-product-card__descriptor { margin: .55rem 0 .85rem; color: #596577; font-size: .875rem; line-height: 1.55; }
.nf-product-card__meta,
.woocommerce div.product .related .nf-product-card__meta { margin-top: auto; padding-top: .9rem; }
.woocommerce ul.products li.product .nf-product-card__body .price { font-size: 1.1875rem; line-height: 1.35; }
.woocommerce ul.products li.product .nf-product-card__cart .button { min-height: 3rem; font-size: .875rem; line-height: 1.4; }
.nf-product-card__cart { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-self: stretch; align-items: stretch; gap: .5rem; min-width: 0; padding-top: .1rem; }
.woocommerce ul.products li.product .nf-product-card__cart > .button,
.woocommerce div.product .related .nf-product-card__cart > .button { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; padding: .65rem .6rem; white-space: normal; }
.woocommerce ul.products li.product .nf-product-card__cart > .nf-product-card__details { grid-column: 2; grid-row: 1; width: auto; min-width: 0; min-height: 3rem; max-width: none; justify-content: center; gap: .35rem; padding: .65rem .25rem; font-size: .875rem; letter-spacing: 0; line-height: 1.4; text-align: center; text-transform: none; }
.nf-product-card__cart > .nf-product-card__details i { flex-shrink: 0; font-style: normal; }
.nf-product-card__cart > .added_to_cart { display: inline-flex; grid-column: 1 / -1; grid-row: 2; min-height: 2.75rem; align-items: center; justify-content: center; padding: .4rem .5rem; color: var(--nf-cobalt); font-size: .875rem; }

/* The mobile introduction comes before media; desktop retains the main summary. */
.nf-product-intro { display: none; }
.nf-product-intro :is(.nf-kicker, .woocommerce-breadcrumb, .nf-product-intro__category) { margin: 0 0 .65rem; color: #5f6c7c; font-size: .875rem; line-height: 1.5; }
.nf-product-intro a { color: inherit; }
.nf-product-intro .price { margin: .75rem 0 0; color: var(--nf-cobalt); font-size: 1.5rem; font-weight: 750; }
body.nf-product-upgrade div.product > :is(.nf-product-information, .nf-product-help, .nf-related-comparison) { grid-column: 1 / -1; width: 100%; }
body.nf-product-upgrade div.product > .summary { min-width: 0; }
.nf-product-lead { margin: 1rem 0 1.25rem; color: #465263; font-size: 1rem; line-height: 1.7; }
.nf-product-lead > p { margin: 0 0 .75rem; }
.nf-product-lead > p:last-child { margin-bottom: 0; }
.nf-product-highlights { display: grid; gap: .65rem; margin: 1rem 0 1.5rem; padding-inline-start: 1.15rem; color: #334154; font-size: 1rem; line-height: 1.6; }
.nf-product-highlights li { padding-inline-start: .15rem; }
.nf-product-highlights li::marker { color: var(--nf-cobalt); }
body.nf-product-upgrade .nf-product-assurance { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 1.4rem 0 0; padding: .4rem 0; border-inline: 0; border-block: 1px solid var(--nf-premium-line); list-style: none; }
.nf-product-assurance li { min-width: 0; margin: 0; }
.nf-product-assurance a { display: flex; min-height: 2.75rem; align-items: center; gap: .65rem; padding-block: .5rem; color: #4b596c; font-size: .875rem; line-height: 1.5; }
.nf-product-assurance a:hover { color: var(--nf-cobalt); text-decoration: underline; text-underline-offset: .2em; }
.nf-product-assurance :is(svg, i) { width: 1.15rem; height: 1.15rem; flex: 0 0 1.15rem; color: var(--nf-cobalt); }
.nf-product-assurance a > span[aria-hidden="true"] { display: inline-block; flex: 0 0 1.15rem; color: var(--nf-cobalt); font-size: 1.125rem; font-weight: 500; line-height: 1; }

/* Product information uses native disclosure controls and real document flow. */
.nf-product-information { clear: both; min-width: 0; margin-block: 2rem 3rem; }
.nf-product-information > h2,
.nf-related-comparison > h2 { margin: 0 0 1.25rem; font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.025em; line-height: 1.3; }
html[dir="rtl"] :is(.nf-product-information, .nf-related-comparison) > h2 { letter-spacing: 0; }
.nf-product-info-row { margin: 0; border: 0; border-bottom: 1px solid #dce2ea; background: #fff; }
.nf-product-info-row:first-of-type { border-top: 1px solid #dce2ea; }
.nf-product-info-row > summary {
	display: flex;
	min-height: 3.75rem;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1rem .15rem;
	color: var(--nf-graphite);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.5;
	list-style: none;
	cursor: pointer;
}
.nf-product-info-row > summary::-webkit-details-marker { display: none; }
.nf-product-info-row > summary::after {
	width: .55rem;
	height: .55rem;
	flex: 0 0 .55rem;
	margin-inline-end: .3rem;
	border-inline-end: 2px solid currentcolor;
	border-bottom: 2px solid currentcolor;
	content: "";
	transform: rotate(45deg) translateY(-.15rem);
}
html[dir="rtl"] .nf-product-info-row > summary::after { transform: rotate(-45deg) translateY(-.15rem); }
.nf-product-info-row[open] > summary::after { transform: rotate(225deg); }
html[dir="rtl"] .nf-product-info-row[open] > summary::after { transform: rotate(135deg); }
.nf-product-info-row > summary:hover { color: var(--nf-cobalt); }
.nf-product-info-row > summary:focus-visible { outline: 3px solid #88a8ff; outline-offset: 3px; }
.nf-product-info-row > :is(div, .nf-product-info-row__body) { padding: .15rem .15rem 1.5rem; color: #465263; font-size: 1rem; line-height: 1.7; }
.nf-product-info-row__body > :first-child { margin-top: 0; }
.nf-product-info-row__body > :last-child { margin-bottom: 0; }
.nf-product-info-row__body :is(p, ul, ol) { max-width: 70ch; }
.nf-product-info-row__body a { color: var(--nf-cobalt); text-decoration: underline; text-underline-offset: .18em; }
.nf-product-info-row__body table { width: 100%; margin: .5rem 0; border-collapse: collapse; font-size: 1rem; }
.nf-product-info-row__body :is(th, td) { padding: .8rem 1rem; border-bottom: 1px solid #e1e6ed; text-align: start; vertical-align: top; }
.nf-product-info-row__body th { width: 38%; background: #f7f8fa; color: #344154; font-size: .875rem; font-weight: 650; }
.nf-product-help {
	display: flex;
	clear: both;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-block: 0 3rem;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	border: 1px solid #dce4f3;
	border-radius: .9rem;
	background: #f3f6fc;
}
.nf-product-help h2 { margin: 0 0 .5rem; font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.4; }
.nf-product-help p { max-width: 62ch; margin: 0; color: #4b596c; font-size: 1rem; line-height: 1.6; }
.nf-product-help > a { flex-shrink: 0; }

/* Comparing products stays readable without forcing page-wide overflow. */
.nf-related-comparison { clear: both; min-width: 0; margin-block: 0 3rem; }
.nf-related-comparison__scroll { max-width: 100%; overflow-x: auto; border: 1px solid #dce2ea; border-radius: .85rem; }
.nf-related-comparison__scroll:focus-visible { outline: 3px solid #88a8ff; outline-offset: 3px; }
.nf-related-comparison table { width: 100%; min-width: 620px; margin: 0; border: 0; border-collapse: collapse; font-size: 1rem; line-height: 1.6; }
.nf-related-comparison :is(th, td) { padding: 1rem 1.1rem; border: 0; border-bottom: 1px solid #e1e6ed; text-align: start; vertical-align: top; }
.nf-related-comparison thead th { background: #f3f6fa; color: #344154; font-size: .875rem; font-weight: 750; }
.nf-related-comparison tbody tr:last-child > * { border-bottom: 0; }
.nf-related-comparison tbody th { font-weight: 650; }
.nf-related-comparison a { color: var(--nf-cobalt); text-decoration: underline; text-underline-offset: .18em; }
.nf-related-comparison :is(a, button).nf-button { color: #fff; text-decoration: none; }
.nf-related-comparison img { width: 5rem; height: 5rem; margin-bottom: .65rem; object-fit: contain; }

@media (max-width: 1080px) and (min-width: 821px) {
	.nf-hero { min-height: 600px; padding-block: 2.5rem; }
	.nf-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; gap: 2rem; }
	.nf-hero__copy h1 { font-size: clamp(2.8rem, 5.4vw, 3.65rem); }
}

@media (max-width: 820px) {
	.nf-about-hero__inner { padding-block: 2.5rem; gap: 2rem; }
	.nf-about-hero__image { order: 0; justify-self: center; }
	.nf-hero { min-height: 0; padding-block: 2.25rem 2rem; }
	.nf-hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 1.75rem; padding-block: 0; }
	.nf-hero__copy h1 { max-width: 15ch; margin-block: .6rem 1rem; font-size: clamp(2.6rem, 8.3vw, 4rem); line-height: 1.06; }
	html[dir="rtl"] .nf-hero__copy h1 { max-width: 18ch; line-height: 1.22; }
	.nf-hero__intro { margin-bottom: 1.15rem; }
	.nf-hero__search { margin-top: 1rem; }
	.nf-hero-product { width: 100%; max-width: 30rem; margin-inline: auto; }
	.nf-hero-product__stage { height: clamp(180px, 45vw, 260px); aspect-ratio: auto; }
	.nf-hero-product__stage img { max-height: 260px; }
	.nf-hero-product__meta { padding-top: .65rem; }
	body.nf-product-upgrade .nf-product-intro { display: block; grid-column: 1 / -1; min-width: 0; margin-bottom: 1.15rem; }
	body.nf-product-upgrade .nf-product-intro h1 { margin: 0; font-size: clamp(1.8rem, 6.5vw, 2.5rem); letter-spacing: -.03em; line-height: 1.2; }
	html[dir="rtl"] body.nf-product-upgrade .nf-product-intro h1 { letter-spacing: 0; line-height: 1.35; }
	body.nf-product-upgrade:has(.nf-product-intro) .summary > .product_title,
	body.nf-product-upgrade:has(.nf-product-intro) .summary > p.price { display: none; }
	body.nf-product-upgrade div.product > .images,
	body.nf-product-upgrade div.product > .summary { margin-bottom: 1.5rem; }
	/* Keep the slide square like its image and link, including after FlexSlider changes slides. */
	body.nf-product-upgrade div.product div.images .woocommerce-product-gallery__image { aspect-ratio: 1; }
	body.nf-product-upgrade div.product div.images .flex-control-thumbs { gap: .5rem; }
	.nf-product-lead { margin-top: 0; }
	.nf-product-information { margin-block: 1rem 2rem; }
	.nf-product-help { align-items: flex-start; flex-direction: column; margin-bottom: 2rem; }
	.nf-related-comparison { margin-bottom: 2rem; }
}

@media (max-width: 600px) {
	.nf-hero .nf-button-row { gap: .65rem; }
	.nf-hero .nf-button-row .nf-button { width: auto; flex: 1 1 9rem; padding-inline: .75rem; font-size: .875rem; letter-spacing: 0; }
	.nf-hero-product__meta span { font-size: .875rem; }
	.nf-hero-product__meta strong { font-size: 1rem; }
	.nf-product-card__media { padding: .65rem; }
	.nf-product-card__body { min-height: 0; padding: 1rem; }
	.nf-product-card__descriptor { margin-bottom: .6rem; }
	.nf-product-card__meta,
	.woocommerce div.product .related .nf-product-card__meta { padding-top: .65rem; }
	.nf-product-info-row > summary { min-height: 3.5rem; font-size: 1rem; }
	.nf-product-info-row__body :is(th, td) { padding: .7rem .55rem; }
	.nf-product-help > a { width: 100%; }
	.nf-related-comparison :is(th, td) { padding: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
	.nf-product-info-row > summary::after { transition: none; }
}

@media (max-width: 420px) {
	.nf-hero .nf-button-row .nf-button { flex-basis: 100%; width: 100%; }
}
