/* Needlic product page - loaded only on product pages using the new layout.
   Everything is scoped to .nl-product so the rest of the site is untouched. */

.nl-product {
	--nl-ink: var(--nd-ink);
	--nl-text: var(--nd-text);
	--nl-muted: var(--nd-muted);
	--nl-line: var(--nd-line);
	--nl-soft: var(--nd-soft);
	--nl-accent: var(--primary-color, var(--nd-primary-600));
	--nl-ok: #15803d;
	--nl-radius: 16px;
	--nl-radius-sm: 10px;
	--nl-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--nl-sticky: 110px;
	color: var(--nl-text);
}

body.nl-pt {
	--nl-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--nl-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.1a2 2 0 0 1-2 1.9H8.2a2 2 0 0 1-2-1.9Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E");
}

.nl-product .nl-container { max-width: 1240px; }
.nl-product .nl-icon { width: 22px; height: 22px; flex: none; }

/* ---------- Hero ---------- */

.nl-product .nl-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	padding: 28px 0 56px;
}

.nl-product .nl-gallery { position: relative; min-width: 0; }
.nl-product .nl-gallery__inner { position: sticky; top: var(--nl-sticky); }

.nl-product .nl-gallery .woocommerce-product-gallery__wrapper,
.nl-product .nl-gallery .product-gallery-slider {
	background: var(--nl-soft);
	border: 1px solid var(--nl-line);
	border-radius: var(--nl-radius);
	overflow: hidden;
}
.nl-product .nl-gallery .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
.nl-product .nl-gallery .product-thumbnails { margin-top: 12px; }
.nl-product .nl-gallery .product-thumbnails a {
	border: 1px solid var(--nl-line);
	border-radius: var(--nl-radius-sm);
	overflow: hidden;
	background: #fff;
}
.nl-product .nl-gallery .product-thumbnails .is-nav-selected a { border-color: var(--nl-ink); }

/* Buy box */
.nl-product .nl-summary { min-width: 0; padding: 0; }
.nl-product .nl-summary .next-prev-thumbs,
.nl-product .nl-summary .is-divider { display: none; }

.nl-product .nl-summary .woocommerce-breadcrumb,
.nl-product .nl-summary .breadcrumbs {
	font-size: 12px;
	letter-spacing: .04em;
	color: var(--nl-muted);
	margin-bottom: 14px;
}
.nl-product .nl-summary .woocommerce-breadcrumb a { color: var(--nl-muted); }

.nl-product .nl-summary .product-title {
	font-size: clamp(24px, 2.5vw, 34px);
	line-height: 1.18;
	font-weight: 700;
	letter-spacing: -.015em;
	color: var(--nl-ink);
	margin: 0 0 14px;
}

.nl-product .nl-summary .woocommerce-product-rating { margin: 0 0 12px; }

.nl-product .nl-summary .price-wrapper { margin: 4px 0 14px; }
.nl-product .nl-summary .price {
	font-size: 30px;
	font-weight: 700;
	color: var(--nl-ink);
	margin: 0;
}
.nl-product .nl-summary .price del { font-size: .6em; color: var(--nl-muted); font-weight: 500; }
.nl-product .nl-summary .price ins { text-decoration: none; }

.nl-product .nl-summary .woocommerce-product-details__short-description,
.nl-product .nl-summary .product-short-description {
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--nl-text);
	margin-bottom: 18px;
}
.nl-product .nl-summary .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.nl-product .nl-summary .product-short-description ul,
.nl-product .nl-summary .woocommerce-product-details__short-description ul {
	list-style: none;
	margin: 10px 0 12px !important;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 16px;
}
.nl-product .nl-summary .product-short-description li,
.nl-product .nl-summary .woocommerce-product-details__short-description li { margin: 0 !important; padding: 0; font-size: 14.5px; list-style: none; }
@media (max-width: 549px) {
	.nl-product .nl-summary .product-short-description ul,
	.nl-product .nl-summary .woocommerce-product-details__short-description ul { grid-template-columns: minmax(0, 1fr); }
}

.nl-product .nl-availability {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--nl-ok);
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 999px;
	padding: 5px 12px;
	margin: 0 0 18px;
}
.nl-product .nl-availability__sep { color: #86efac; }
.nl-product .nl-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--nl-ok);
	box-shadow: 0 0 0 4px rgba(21, 128, 61, .15);
}
.nl-product .nl-summary .stock { font-weight: 600; margin-bottom: 14px; }

/* Purchase form (simple + variable) */
.nl-product .nl-summary form.cart { margin: 0 0 18px; }
.nl-product .nl-summary form.cart:not(.variations_form):not(.grouped_form),
.nl-product .nl-summary .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
}
.nl-product .nl-summary .variations { margin-bottom: 14px; }
.nl-product .nl-summary .variations select { border-radius: var(--nl-radius-sm); min-height: 46px; }

.nl-product .nl-summary .quantity {
	margin: 0 !important;
	display: inline-flex;
	border: 1px solid var(--nl-line);
	border-radius: var(--nl-radius-sm);
	overflow: hidden;
	background: #fff;
	height: 54px;
}
.nl-product .nl-summary .quantity .button,
.nl-product .nl-summary .quantity input.qty {
	height: 100%;
	min-height: 0;
	margin: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
}
.nl-product .nl-summary .quantity .button { width: 40px; font-size: 18px; color: var(--nl-ink); }
.nl-product .nl-summary .quantity input.qty { width: 46px; font-weight: 600; }

/* ---------- Purchase buttons ----------
   Buy Now = primary (brand-blue gradient), Add to Cart = secondary
   (soft indigo tint). Same shape, size and motion. Visual order:
   [qty][Buy Now] then [Add to Cart] full width. */

.nl-product .nl-summary form.cart:not(.variations_form):not(.grouped_form) .quantity,
.nl-product .nl-summary .woocommerce-variation-add-to-cart .quantity { order: 1; }

.nl-product .nl-summary .ux-buy-now-button,
.nl-product .nl-summary .single_add_to_cart_button,
body.nl-pt .sticky-add-to-cart .ux-buy-now-button,
body.nl-pt .sticky-add-to-cart .single_add_to_cart_button {
	position: relative;
	overflow: hidden;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 !important;
	border-radius: 12px !important;
	font-family: inherit;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: none !important;
	line-height: 1 !important;
	cursor: pointer;
	transition: transform .18s cubic-bezier(.2, .7, .2, 1), box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, filter .18s ease;
	-webkit-tap-highlight-color: transparent;
}

.nl-product .nl-summary .ux-buy-now-button,
.nl-product .nl-summary .single_add_to_cart_button {
	height: 56px;
	padding: 0 22px !important;
	font-size: 16px;
}

/* Buy Now - primary */
.nl-product .nl-summary .ux-buy-now-button,
body.nl-pt .sticky-add-to-cart .ux-buy-now-button {
	order: 2;
	flex: 1 1 220px;
	color: #fff !important;
	border: 1px solid var(--nd-primary-700) !important;
	background: var(--nd-primary-600) linear-gradient(180deg, var(--nd-primary-400) 0%, var(--nd-primary) 45%, var(--nd-primary-600) 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(15, 23, 42, .12), 0 10px 22px -8px rgba(var(--nd-primary-rgb), .65);
}
.nl-product .nl-summary .ux-buy-now-button::before,
body.nl-pt .sticky-add-to-cart .ux-buy-now-button::before {
	/* soft sheen that sweeps across on hover */
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 45%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
	transform: skewX(-18deg);
	transition: left .6s ease;
	pointer-events: none;
}
.nl-product .nl-summary .ux-buy-now-button::after,
body.nl-pt .sticky-add-to-cart .ux-buy-now-button::after {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--nl-arrow) center / contain no-repeat;
	mask: var(--nl-arrow) center / contain no-repeat;
	transition: transform .18s ease;
}
.nl-product .nl-summary .ux-buy-now-button:hover,
body.nl-pt .sticky-add-to-cart .ux-buy-now-button:hover {
	transform: translateY(-1px);
	filter: brightness(1.05) saturate(1.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 4px rgba(15, 23, 42, .12), 0 16px 30px -10px rgba(var(--nd-primary-rgb), .75);
}
.nl-product .nl-summary .ux-buy-now-button:hover::before,
body.nl-pt .sticky-add-to-cart .ux-buy-now-button:hover::before { left: 120%; }
.nl-product .nl-summary .ux-buy-now-button:hover::after,
body.nl-pt .sticky-add-to-cart .ux-buy-now-button:hover::after { transform: translateX(3px); }

/* Add to Cart - secondary */
.nl-product .nl-summary .single_add_to_cart_button,
body.nl-pt .sticky-add-to-cart .single_add_to_cart_button {
	order: 3;
	color: var(--nd-primary-800) !important;
	background: var(--nd-primary-50) !important;
	border: 1px solid var(--nd-primary-200) !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
.nl-product .nl-summary .single_add_to_cart_button { flex: 1 1 100%; }
.nl-product .nl-summary .single_add_to_cart_button::before,
body.nl-pt .sticky-add-to-cart .single_add_to_cart_button::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--nl-bag) center / contain no-repeat;
	mask: var(--nl-bag) center / contain no-repeat;
}
.nl-product .nl-summary .single_add_to_cart_button:hover,
body.nl-pt .sticky-add-to-cart .single_add_to_cart_button:hover {
	transform: translateY(-1px);
	color: var(--nd-primary-800) !important;
	background: var(--nd-primary-100) !important;
	border-color: var(--nd-primary-300) !important;
	box-shadow: 0 8px 18px -10px rgba(23, 42, 124, .45);
}

.nl-product .nl-summary .ux-buy-now-button:active,
.nl-product .nl-summary .single_add_to_cart_button:active,
body.nl-pt .sticky-add-to-cart .button:active { transform: translateY(0) scale(.99); }

.nl-product .nl-summary .ux-buy-now-button:focus-visible,
.nl-product .nl-summary .single_add_to_cart_button:focus-visible,
body.nl-pt .sticky-add-to-cart .button:focus-visible {
	outline: 3px solid rgba(var(--nd-primary-rgb), .35);
	outline-offset: 2px;
}

/* WooCommerce AJAX states */
.nl-product .nl-summary .single_add_to_cart_button.loading { opacity: .75; }
.nl-product .nl-summary .single_add_to_cart_button.disabled,
.nl-product .nl-summary .single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Quantity matches the button height */
.nl-product .nl-summary .quantity { height: 56px; border-radius: 12px; }

.nl-product .nl-summary .ppcp-messages { margin-bottom: 14px; }

/* Flatsome sticky add-to-cart bar (attached to <body>) */
body.nl-pt .sticky-add-to-cart .ux-buy-now-button,
body.nl-pt .sticky-add-to-cart .single_add_to_cart_button {
	height: 44px;
	min-height: 44px;
	padding: 0 18px !important;
	font-size: 14px;
	flex: 0 0 auto;
}
body.nl-pt .sticky-add-to-cart form.cart { display: flex; align-items: center; gap: 8px; }
body.nl-pt .sticky-add-to-cart .quantity { margin: 0 !important; }
body.nl-pt .sticky-add-to-cart .ux-buy-now-button::before { display: none; }

/* ---------- Trustpilot badge ---------- */

.nl-product .nl-tp {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
	padding: 10px 14px 10px 12px;
	border: 1px solid var(--nl-line);
	border-radius: 12px;
	background: #fff;
	color: var(--nl-text);
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.nl-product .nl-tp:hover {
	border-color: #b7e6d3;
	box-shadow: 0 8px 20px -12px rgba(0, 182, 122, .55);
	transform: translateY(-1px);
	color: var(--nl-text);
}
.nl-product .nl-tp:focus-visible { outline: 3px solid rgba(0, 182, 122, .35); outline-offset: 2px; }
.nl-product .nl-tp__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nl-product .nl-tp__brand {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -.01em;
	color: #191919;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
.nl-product .nl-tp__logo { width: 20px; height: 20px; flex: none; }
.nl-product .nl-tp__stars { display: inline-flex; gap: 2px; }
.nl-product .nl-tp__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	background: #dcdce6;
}
.nl-product .nl-tp__star.is-full { background: var(--nd-tp); }
.nl-product .nl-tp__star.is-half { background: linear-gradient(90deg, var(--nd-tp) 50%, #dcdce6 50%); }
.nl-product .nl-tp__star svg { width: 16px; height: 16px; }
.nl-product .nl-tp__text { font-size: 13px; line-height: 1.3; color: var(--nl-muted); }
.nl-product .nl-tp__text strong { color: var(--nl-ink); font-weight: 700; }
.nl-product .nl-tp__sep { margin: 0 4px; color: #cbd5e1; }
.nl-product .nl-tp__count { text-decoration: underline; text-decoration-color: #cbd5e1; text-underline-offset: 2px; }

/* Trust badges */
.nl-product .nl-badges {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.nl-product .nl-badge {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--nl-line);
	border-radius: var(--nl-radius-sm);
	background: #fff;
}
.nl-product .nl-badges--3 .nl-badge:last-child { grid-column: 1 / -1; }
.nl-product .nl-badge .nl-icon { color: var(--nl-accent); }
.nl-product .nl-badge__text { display: flex; flex-direction: column; line-height: 1.3; }
.nl-product .nl-badge__text strong { font-size: 14px; color: var(--nl-ink); }
.nl-product .nl-badge__text span { font-size: 12.5px; color: var(--nl-muted); }

/* ---------- Shared headings ---------- */

.nl-product .nl-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--nl-accent);
	margin: 0 0 8px;
}
.nl-product .nl-h2 {
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--nl-ink);
	margin: 0;
}

/* ---------- Delivery & Activation ---------- */

.nl-product .nl-delivery {
	background: var(--nl-soft);
	border-top: 1px solid var(--nl-line);
	border-bottom: 1px solid var(--nl-line);
	padding: 56px 0;
}
.nl-product .nl-delivery__head { margin-bottom: 28px; }
.nl-product .nl-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	counter-reset: none;
}
.nl-product .nl-step {
	position: relative;
	margin: 0;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--nl-line);
	border-radius: var(--nl-radius);
	box-shadow: var(--nl-shadow);
}
.nl-product .nl-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--nl-soft);
	color: var(--nl-accent);
	margin-bottom: 16px;
}
.nl-product .nl-step__num {
	position: absolute;
	top: 20px;
	right: 22px;
	font-size: 13px;
	font-weight: 700;
	color: #cbd5e1;
}
.nl-product .nl-step__title { font-size: 16px; color: var(--nl-ink); margin: 0 0 6px; }
.nl-product .nl-step__text { font-size: 14px; line-height: 1.6; color: var(--nl-muted); margin: 0; }

/* ---------- Details area ---------- */

.nl-product .nl-details { padding-top: 40px; padding-bottom: 24px; }

.nl-product .nl-nav { margin: 0 0 28px; }
.nl-product .nl-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.nl-product .nl-nav li { margin: 0; }
.nl-product .nl-nav a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--nl-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--nl-ink);
	background: #fff;
	white-space: nowrap;
	transition: border-color .15s ease, background-color .15s ease;
}
.nl-product .nl-nav a:hover { border-color: var(--nl-ink); background: var(--nl-soft); }

.nl-product .nl-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	align-items: start;
}
.nl-product .nl-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nl-product .nl-aside__inner {
	position: sticky;
	top: var(--nl-sticky);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.nl-product .nl-card {
	background: #fff;
	border: 1px solid var(--nl-line);
	border-radius: var(--nl-radius);
	padding: 28px;
	box-shadow: var(--nl-shadow);
}
.nl-product .nl-card__title { font-size: 18px; color: var(--nl-ink); margin: 0 0 14px; }

.nl-product .nl-section,
.nl-product .nl-specs,
.nl-product .nl-faq,
.nl-product .nl-reviews { scroll-margin-top: calc(var(--nl-sticky) + 10px); }

.nl-product .nl-section__title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 21px;
	line-height: 1.3;
	color: var(--nl-ink);
	margin: 0 0 16px;
}
.nl-product .nl-section__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--nl-soft);
	color: var(--nl-accent);
	flex: none;
}
.nl-product .nl-section__body { font-size: 15.5px; line-height: 1.75; }
.nl-product .nl-section__body > :last-child { margin-bottom: 0; }
.nl-product .nl-section__body h3 { font-size: 17px; color: var(--nl-ink); margin: 22px 0 8px; }
.nl-product .nl-section__body h4 { font-size: 15px; color: var(--nl-ink); margin: 18px 0 6px; }
.nl-product .nl-section__body img { border-radius: var(--nl-radius-sm); }
.nl-product .nl-section__body table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.nl-product .nl-section__body th,
.nl-product .nl-section__body td { border-bottom: 1px solid var(--nl-line); padding: 10px 8px; text-align: left; }

/* Check-mark lists */
.nl-product .nl-section__body ul {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.nl-product .nl-section__body ul li {
	position: relative;
	padding-left: 30px;
	margin: 0 0 10px;
}
.nl-product .nl-section__body ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--nl-accent);
	-webkit-mask: var(--nl-check) center / contain no-repeat;
	mask: var(--nl-check) center / contain no-repeat;
}
.nl-product {
	--nl-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 0a12 12 0 1 1 0 24 12 12 0 0 1 0-24Zm5.7 8.3a1.2 1.2 0 0 0-1.7 0l-6 6-2-2a1.2 1.2 0 1 0-1.7 1.7l2.8 2.9a1.2 1.2 0 0 0 1.7 0l6.9-6.9a1.2 1.2 0 0 0 0-1.7Z'/%3E%3C/svg%3E");
}
.nl-product .nl-section--features .nl-section__body > ul,
.nl-product .nl-section--benefits .nl-section__body > ul,
.nl-product .nl-section--version .nl-section__body > ul,
.nl-product .nl-section--receive .nl-section__body > ul,
.nl-product .nl-section--compat .nl-section__body > ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 24px;
}
.nl-product .nl-section--features .nl-section__body > ul li,
.nl-product .nl-section--benefits .nl-section__body > ul li,
.nl-product .nl-section--version .nl-section__body > ul li,
.nl-product .nl-section--receive .nl-section__body > ul li,
.nl-product .nl-section--compat .nl-section__body > ul li { margin: 0; }

/* Requirements as a clean list of rows */
.nl-product .nl-section--requirements .nl-section__body ul li {
	padding: 10px 0 10px 30px;
	margin: 0;
	border-bottom: 1px solid var(--nl-line);
}
.nl-product .nl-section--requirements .nl-section__body ul li::before { top: calc(10px + .3em); }
.nl-product .nl-section--requirements .nl-section__body ul li:last-child { border-bottom: 0; }
.nl-product .nl-section--requirements .nl-section__body strong { color: var(--nl-ink); }

/* Ordered lists (installation steps) */
.nl-product .nl-section__body ol { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: nl-ol; }
.nl-product .nl-section__body ol li {
	position: relative;
	counter-increment: nl-ol;
	padding-left: 40px;
	margin: 0 0 12px;
	min-height: 28px;
}
.nl-product .nl-section__body ol li::before {
	content: counter(nl-ol);
	position: absolute;
	left: 0;
	top: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--nl-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 28px;
	text-align: center;
}

/* Sub-section tiles */
.nl-product .nl-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 14px;
	margin-top: 8px;
}
.nl-product .nl-tile {
	background: var(--nl-soft);
	border: 1px solid var(--nl-line);
	border-radius: 12px;
	padding: 18px;
	font-size: 14.5px;
	line-height: 1.6;
}
.nl-product .nl-tile h3 { margin: 0 0 6px; font-size: 15.5px; }
.nl-product .nl-tile > :last-child { margin-bottom: 0; }

/* Specs */
.nl-product .nl-specs { padding: 24px; }
.nl-product .nl-specs__table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.nl-product .nl-specs__table th,
.nl-product .nl-specs__table td {
	padding: 11px 0;
	border-bottom: 1px solid var(--nl-line);
	vertical-align: top;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
}
.nl-product .nl-specs__table tr:last-child th,
.nl-product .nl-specs__table tr:last-child td { border-bottom: 0; }
.nl-product .nl-specs__table th { width: 42%; color: var(--nl-muted); font-weight: 500; padding-right: 12px; }
.nl-product .nl-specs__table td { color: var(--nl-ink); font-weight: 600; }

/* Help card */
.nl-product .nl-help { padding: 24px; background: var(--nl-ink); border-color: var(--nl-ink); color: #cbd5e1; }
.nl-product .nl-help .nl-card__title { color: #fff; margin-bottom: 8px; }
.nl-product .nl-help p { font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.nl-product .nl-help__icon { display: inline-flex; color: #fff; margin-bottom: 12px; }
.nl-product .nl-help .nl-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.nl-product .nl-help .nl-btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }

/* Buttons */
.nl-product .nl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: var(--nl-radius-sm);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.nl-product .nl-btn .nl-icon { width: 18px; height: 18px; }
.nl-product .nl-btn--ghost { border: 1px solid var(--nl-line); color: var(--nl-ink); background: transparent; }
.nl-product .nl-btn--ghost:hover { border-color: var(--nl-ink); }

/* ---------- FAQ ---------- */

.nl-product .nl-faq { max-width: 880px; margin: 64px auto 0; }
.nl-product .nl-faq__head { text-align: center; margin-bottom: 24px; }
.nl-product .nl-faq__intro { margin-top: 10px; color: var(--nl-muted); }
.nl-product .nl-faq__list { display: flex; flex-direction: column; gap: 10px; }
.nl-product .nl-faq__item {
	background: #fff;
	border: 1px solid var(--nl-line);
	border-radius: 12px;
	transition: box-shadow .15s ease, border-color .15s ease;
}
.nl-product .nl-faq__item[open] { border-color: #cbd5e1; box-shadow: var(--nl-shadow); }
.nl-product .nl-faq summary,
.nl-product .nl-reviews__write summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
	font-size: 16px;
	font-weight: 600;
	color: var(--nl-ink);
}
.nl-product .nl-faq summary::-webkit-details-marker,
.nl-product .nl-reviews__write summary::-webkit-details-marker { display: none; }
.nl-product .nl-faq summary:focus-visible,
.nl-product .nl-reviews__write summary:focus-visible { outline: 2px solid var(--nl-accent); outline-offset: 2px; border-radius: 12px; }
.nl-product .nl-faq__plus { position: relative; width: 14px; height: 14px; flex: none; }
.nl-product .nl-faq__plus::before,
.nl-product .nl-faq__plus::after {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: var(--nl-ink);
	transition: transform .2s ease;
}
.nl-product .nl-faq__plus::after { transform: rotate(90deg); }
.nl-product details[open] > summary .nl-faq__plus::after { transform: rotate(0deg); }
.nl-product .nl-faq__answer { padding: 0 22px 20px; font-size: 15px; line-height: 1.7; }
.nl-product .nl-faq__answer > :last-child { margin-bottom: 0; }

/* ---------- Reviews ---------- */

.nl-product .nl-reviews { max-width: 880px; margin: 48px auto 0; }
.nl-product .nl-reviews__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.nl-product .nl-reviews__write { padding: 0; }
.nl-product .nl-reviews__write > :not(summary) { padding: 0 22px 22px; }
.nl-product .nl-reviews #reviews .woocommerce-Reviews-title { font-size: 16px; }

.nl-product .nl-after-summary { margin-top: 48px; }

/* ---------- Related ---------- */

.nl-product .nl-related { margin: 72px 0 24px; }
.nl-product .nl-related__head { margin-bottom: 22px; }
.nl-product .nl-related__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}
.nl-product .nl-pcard {
	margin: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--nl-line);
	border-radius: var(--nl-radius);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.nl-product .nl-pcard:hover { box-shadow: var(--nl-shadow); transform: translateY(-2px); }
.nl-product .nl-pcard__media { display: block; background: var(--nl-soft); aspect-ratio: 1 / 1; }
.nl-product .nl-pcard__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nl-product .nl-pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.nl-product .nl-pcard__title { font-size: 15px; line-height: 1.4; margin: 0; }
.nl-product .nl-pcard__title a { color: var(--nl-ink); }
.nl-product .nl-pcard__price { font-weight: 700; color: var(--nl-ink); }
.nl-product .nl-pcard__btn { margin-top: auto; width: 100%; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.nl-product .nl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nl-product .nl-body { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 849px) {
	.nl-product .nl-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 12px 0 36px; }
	.nl-product .nl-gallery__inner,
	.nl-product .nl-aside__inner { position: static; }

	.nl-product .nl-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	/* Specs first on mobile; without specs the help card stays after the description. */
	.nl-product .nl-aside:has(.nl-specs) { order: -1; }

	.nl-product .nl-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

	.nl-product .nl-nav { margin: 0 -15px 20px; }
	.nl-product .nl-nav ul { flex-wrap: nowrap; overflow-x: auto; padding: 0 15px 4px; scrollbar-width: none; }
	.nl-product .nl-nav ul::-webkit-scrollbar { display: none; }
}

@media (max-width: 549px) {
	.nl-product .nl-summary .price { font-size: 26px; }
	.nl-product .nl-summary .ux-buy-now-button,
	.nl-product .nl-summary .single_add_to_cart_button { height: 52px; font-size: 15.5px; padding: 0 16px !important; }
	.nl-product .nl-summary .quantity { height: 52px; }
	.nl-product .nl-summary .ux-buy-now-button { flex-basis: 0; }
	.nl-product .nl-tp { display: flex; }
	body.nl-pt .sticky-add-to-cart .ux-buy-now-button,
	body.nl-pt .sticky-add-to-cart .single_add_to_cart_button { height: 42px; min-height: 42px; padding: 0 12px !important; font-size: 13.5px; gap: 6px; }
	body.nl-pt .sticky-add-to-cart .single_add_to_cart_button::before,
	body.nl-pt .sticky-add-to-cart .ux-buy-now-button::after { width: 15px; height: 15px; }
	.nl-product .nl-badges { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
	.nl-product .nl-badge { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }

	.nl-product .nl-delivery { padding: 40px 0; }
	.nl-product .nl-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.nl-product .nl-step { padding: 18px 18px 18px 78px; }
	.nl-product .nl-step__icon { position: absolute; left: 18px; top: 18px; margin: 0; }

	.nl-product .nl-card { padding: 20px; }
	.nl-product .nl-section__title { font-size: 19px; }
	.nl-product .nl-section--features .nl-section__body > ul,
	.nl-product .nl-section--benefits .nl-section__body > ul,
	.nl-product .nl-section--version .nl-section__body > ul,
	.nl-product .nl-section--receive .nl-section__body > ul,
	.nl-product .nl-section--compat .nl-section__body > ul { grid-template-columns: minmax(0, 1fr); }
	.nl-product .nl-tiles { grid-template-columns: minmax(0, 1fr); }

	.nl-product .nl-faq { margin-top: 44px; }
	.nl-product .nl-faq summary { padding: 16px 18px; font-size: 15px; }
	.nl-product .nl-faq__answer { padding: 0 18px 18px; }

	.nl-product .nl-pcard__body { padding: 12px; }
	.nl-product .nl-pcard__title { font-size: 14px; }
	.nl-product .nl-pcard__btn { padding: 9px 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	.nl-product * { transition: none !important; }
}
