/* Стили посадочных страниц каталога (категории, бренды, комбо): адаптив 320px–1440px */

.nfs-ld-intro {
	margin: 0 0 22px;
	max-width: 880px;
}

.nfs-ld-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
}

.nfs-ld-stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--nfs-bg-soft, #f6f7f9);
	border: 1px solid var(--nfs-border, #e5e7eb);
	color: var(--nfs-heading, #111827);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.nfs-ld-stat--accent {
	background: rgba(42, 77, 208, 0.08);
	border-color: rgba(42, 77, 208, 0.22);
	color: var(--nfs-accent, #2a4dd0);
}

.nfs-ld-lead {
	margin: 0;
	color: var(--nfs-text, #4b5563);
	font-size: 15px;
	line-height: 1.62;
}

.nfs-ld-lead a {
	color: var(--nfs-accent, #2a4dd0);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nfs-ld-cats-inline {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.6;
}

.nfs-ld-cats-inline a {
	color: var(--nfs-heading, #111827);
	text-decoration: underline;
	text-decoration-color: rgba(17, 24, 39, 0.25);
	text-underline-offset: 3px;
}

.nfs-ld-cats-inline a:hover {
	color: var(--nfs-accent, #2a4dd0);
	text-decoration-color: currentColor;
}

/* Нижний блок посадочной под каталогом */
.nfs-ld {
	margin: 52px 0 0;
	padding: 36px 0 0;
	border-top: 1px solid var(--nfs-border, #e5e7eb);
	max-width: 100%;
}

.nfs-ld__block {
	margin: 0 0 36px;
}

.nfs-ld__block:last-of-type {
	margin-bottom: 0;
}

.nfs-ld__heading {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--nfs-heading, #111827);
	margin: 0 0 14px;
}

/* Чипы перелинковки (бренды, параметры, смежные категории) */
.nfs-ld__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nfs-ld__links li {
	margin: 0;
}

.nfs-ld__links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 6px 14px;
	border: 1px solid var(--nfs-border, #e2e5ea);
	border-radius: 999px;
	background: #fff;
	color: var(--nfs-heading, #1f2937);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.nfs-ld__links a:hover,
.nfs-ld__links a:focus-visible {
	border-color: var(--nfs-accent, #2a4dd0);
	color: var(--nfs-accent, #2a4dd0);
	background: rgba(42, 77, 208, 0.04);
	outline: none;
}

.nfs-ld__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	padding: 1px 6px;
	border-radius: 999px;
	background: var(--nfs-bg-soft, #f3f4f6);
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.nfs-ld__links a:hover .nfs-ld__count {
	background: rgba(42, 77, 208, 0.12);
	color: var(--nfs-accent, #2a4dd0);
}

/* Плашка подборщика масел */
.nfs-ld__pickers {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.nfs-ld__picker {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex: 1 1 260px;
	padding: 16px 20px;
	border: 1px solid rgba(42, 77, 208, 0.2);
	border-radius: var(--nfs-radius, 12px);
	background: linear-gradient(135deg, rgba(42, 77, 208, 0.05) 0%, rgba(42, 77, 208, 0.015) 100%);
	color: var(--nfs-heading, #111827);
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nfs-ld__picker:hover,
.nfs-ld__picker:focus-visible {
	border-color: var(--nfs-accent, #2a4dd0);
	box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
	transform: translateY(-1px);
	outline: none;
}

.nfs-ld__picker-title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--nfs-heading, #111827);
}

.nfs-ld__picker-sub {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.35;
}

.nfs-ld__picker-arrow {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(42, 77, 208, 0.18);
	color: var(--nfs-accent, #2a4dd0);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Сетка условий покупки и доставки */
.nfs-ld__terms {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.nfs-ld__term-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border: 1px solid var(--nfs-border, #e5e7eb);
	border-radius: var(--nfs-radius, 12px);
	background: var(--nfs-bg-soft, #f9fafb);
}

.nfs-ld__term-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--nfs-heading, #111827);
}

.nfs-ld__term-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--nfs-text, #4b5563);
}

.nfs-ld__term-link {
	margin-top: auto;
	padding-top: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--nfs-accent, #2a4dd0);
	text-decoration: none;
	align-self: flex-start;
}

.nfs-ld__term-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Аккордеон FAQ */
.nfs-ld__faq {
	border: 1px solid var(--nfs-border, #e5e7eb);
	border-radius: var(--nfs-radius, 12px);
	background: #fff;
	overflow: hidden;
	max-width: 920px;
}

.nfs-ld__q {
	border-bottom: 1px solid var(--nfs-border, #e5e7eb);
}

.nfs-ld__q:last-child {
	border-bottom: 0;
}

.nfs-ld__q summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
	padding: 14px 20px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--nfs-heading, #111827);
	list-style: none;
	transition: background-color 0.15s ease;
}

.nfs-ld__q summary::-webkit-details-marker {
	display: none;
}

.nfs-ld__q summary:hover {
	background: var(--nfs-bg-soft, #f9fafb);
}

.nfs-ld__q summary::after {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background: currentColor;
	opacity: 0.55;
	transition: transform 0.2s ease, opacity 0.2s ease;
	-webkit-mask: 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nfs-ld__q[open] summary::after {
	transform: rotate(180deg);
	opacity: 1;
	color: var(--nfs-accent, #2a4dd0);
}

.nfs-ld__q-body {
	padding: 0 20px 18px;
	font-size: 14px;
	line-height: 1.62;
	color: var(--nfs-text, #4b5563);
}

.nfs-ld__q-body p {
	margin: 0;
}

.nfs-ld__more {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 20px 0 0;
	font-size: 14px;
}

.nfs-ld__more a {
	color: var(--nfs-accent, #2a4dd0);
	font-weight: 500;
	text-decoration: none;
}

.nfs-ld__more a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Адаптив: планшеты и смартфоны */
@media (max-width: 767px) {
	.nfs-ld {
		margin-top: 36px;
		padding-top: 26px;
	}

	.nfs-ld__block {
		margin-bottom: 28px;
	}

	.nfs-ld__heading {
		font-size: 18px;
		margin-bottom: 12px;
	}

	.nfs-ld__terms {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.nfs-ld__term-card {
		padding: 14px 16px;
	}

	.nfs-ld__links a {
		min-height: 40px;
		padding: 7px 13px;
		font-size: 13.5px;
	}

	.nfs-ld__picker {
		padding: 14px 16px;
	}

	.nfs-ld__q summary {
		padding: 13px 16px;
		font-size: 14.5px;
	}

	.nfs-ld__q-body {
		padding: 0 16px 16px;
	}
}
