/* =========================================================
   Nice Family — arkusz główny
   1. Zmienne / design tokens
   2. Reset i podstawy
   3. Kontener (1600 px)
   4. Header — linia 1 (logo, język, szukajka, akcje)
   5. Header — linia 2 (nawigacja / pasek menu)
   6. Menu mobilne
   7. Stopka i placeholder
   ========================================================= */

/* 1. ZMIENNE -------------------------------------------------- */
:root {
	--nf-green:       #8dbb52;   /* główny kolor — akcenty, tła */
	--nf-green-soft:  #f7faf0;   /* bardzo jasne tło sekcji */
	--nf-green-light: #eef5de;   /* jasne tło nawigacji / pigułek / paneli */
	--nf-green-dark:  #6d9837;   /* ciemniejszy akcent — tekst, nagłówki, przyciski */
	--nf-green-darker:#5a7d2e;   /* hover ciemniejszej zieleni */
	--nf-green-dark-rgb: 109, 152, 55; /* ciemna zieleń w RGB — do rgba() */
	--nf-accent:      #f28c28;   /* pomarańcz — CTA / przyciski akcji */
	--nf-accent-dark: #d9781c;   /* hover pomarańczu */
	--nf-accent-rgb:  242, 140, 40; /* pomarańcz w RGB — do tła z kryciem (rgba) */
	--nf-border:      #cfe3a8;   /* subtelna zielona obwódka (pola, ramki) */
	--nf-ink:         #1f2a26;   /* podstawowy tekst */
	--nf-white:       #ffffff;
	--nf-muted:       #6d7d76;

	--nf-max:         1600px;    /* maksymalna szerokość strony */
	--nf-gap:         28px;      /* odstęp między blokami headera */
	--nf-pad-x:       24px;      /* margines wewnętrzny kontenera */

	--nf-radius:      999px;     /* pełne zaokrąglenie (pigułki) */
	--nf-radius-md:   16px;
	--nf-shadow:      0 6px 24px rgba(var(--nf-green-dark-rgb), 0.10);

	--nf-font:        "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 2. RESET / PODSTAWY ---------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--nf-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--nf-ink);
	background: var(--nf-white);
	-webkit-font-smoothing: antialiased;
}

body.nf-no-scroll {
	overflow: hidden;
}

a {
	color: var(--nf-green-dark);
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

button {
	font-family: inherit;
	cursor: pointer;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
}
.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	left: 12px;
	top: 12px;
	padding: 10px 18px;
	background: var(--nf-white);
	border-radius: var(--nf-radius);
	box-shadow: var(--nf-shadow);
	z-index: 1000;
}

/* 3. KONTENER ------------------------------------------------- */
.nf-container {
	width: 100%;
	max-width: var(--nf-max);
	margin-inline: auto;
	padding-inline: var(--nf-pad-x);
}

/* 4. HEADER — LINIA 1 ---------------------------------------- */
.nf-header {
	background: var(--nf-white);
	padding-block: 18px;
	position: relative;
	z-index: 100;
}

.nf-header__top {
	display: flex;
	align-items: center;
	gap: var(--nf-gap);
}

/* Logo */
.nf-header__logo {
	flex: 0 0 auto;
}
.nf-header__logo img,
.nf-header__logo .custom-logo {
	max-height: 64px;
	width: auto;
}
.nf-logo--text {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--nf-green-dark);
	white-space: nowrap;
}

/* Przełącznik języka (placeholder) */
.nf-header__lang {
	flex: 0 0 auto;
}
.nf-lang {
	display: inline-flex;
	background: var(--nf-white);
	border: 2px solid var(--nf-green-dark);
	border-radius: var(--nf-radius);
	padding: 3px;
}
.nf-lang__btn {
	border: 0;
	background: transparent;
	color: var(--nf-green-dark);
	font-weight: 700;
	font-size: 0.95rem;
	padding: 6px 16px;
	border-radius: var(--nf-radius);
	transition: background 0.18s, color 0.18s;
}
.nf-lang__btn.is-active {
	background: var(--nf-green-dark);
	color: var(--nf-white);
}

/* Szukajka */
.nf-header__search {
	flex: 1 1 auto;
	min-width: 0;
}
.nf-search {
	position: relative;
	display: flex;
	align-items: center;
	width: clamp(320px, 45%, 600px); /* krótsza, ale nigdy ciasna */
	margin-left: auto;               /* wyrównanie do prawej (przy ikonach) */
}
.nf-search__input {
	width: 100%;
	border: 2px solid var(--nf-border);
	background: var(--nf-white);
	border-radius: var(--nf-radius);
	padding: 14px 58px 14px 26px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--nf-ink);
	font-style: italic;
	transition: border-color 0.18s, background 0.18s;
}
.nf-search__input::placeholder {
	color: var(--nf-muted);
	font-style: italic;
}
.nf-search__input:focus {
	outline: none;
	border-color: var(--nf-green-dark);
	background: var(--nf-white);
}
.nf-search__submit {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--nf-green-dark);
	color: var(--nf-white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s;
}
.nf-search__submit:hover {
	background: var(--nf-green-darker);
}

/* Akcje: profil + koszyk + hamburger */
.nf-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 4px;
}
.nf-action {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 44px;
	height: 48px;
	border: 0;
	background: transparent;
	color: var(--nf-green-dark);
	border-radius: var(--nf-radius-md);
	transition: background 0.18s, color 0.18s;
}
.nf-action:hover {
	background: transparent;
	color: var(--nf-green-darker);
}
.nf-action__label {
	display: none; /* etykieta tekstowa tylko dla czytników; pokażemy na życzenie */
}

/* Licznik koszyka */
.nf-cart__count {
	position: absolute;
	top: 0;
	right: 2px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: var(--nf-radius);
	background: var(--nf-green-dark);
	color: var(--nf-white);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 22px;
	text-align: center;
	border: 2px solid var(--nf-white);
}
.nf-cart:hover .nf-cart__count {
	background: var(--nf-green-darker);
}
.nf-cart__count:not(.has-items) {
	display: none; /* ukryj zero */
}

/* Hamburger — widoczny tylko na mobile */
.nf-burger {
	display: none;
}
.nf-burger__close {
	display: none;
}

/* 5. HEADER — LINIA 2: NAWIGACJA ----------------------------- */
.nf-nav {
	margin-top: 16px;
}
.nf-menu {
	list-style: none;
	margin: 0;
	padding: 10px 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	background: var(--nf-green-dark);
	border-radius: var(--nf-radius);
}
.nf-menu li {
	margin: 0;
}
.nf-menu a {
	display: inline-block;
	padding: 10px 20px;
	border-radius: var(--nf-radius);
	color: var(--nf-white);
	font-weight: 600;
	font-size: 1.02rem;
	transition: background 0.18s, color 0.18s;
}
.nf-menu a:hover {
	background: rgba(255, 255, 255, 0.16);
}
/* bez wyróżnienia aktywnej podstrony — wszystkie pozycje wyglądają tak samo */

/* Podmenu (rozwijane) */
.nf-menu .sub-menu {
	display: none;
	position: absolute;
	margin-top: 8px;
	padding: 8px;
	list-style: none;
	background: var(--nf-white);
	border-radius: var(--nf-radius-md);
	box-shadow: var(--nf-shadow);
	min-width: 220px;
	z-index: 50;
}
.nf-menu .menu-item-has-children {
	position: relative;
}
.nf-menu .menu-item-has-children:hover > .sub-menu {
	display: block;
}
.nf-menu .sub-menu a {
	display: block;
	border-radius: 10px;
}

/* 7. STOPKA + PLACEHOLDER ------------------------------------ */
.nf-main {
	min-height: 40vh;
}

/* Strony treści / wpisy */
.nf-page {
	padding-block: 48px;
}
.nf-page__header {
	margin-bottom: 28px;
}
.nf-page__title {
	margin: 0;
	color: var(--nf-green-dark);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 800;
	line-height: 1.15;
}
.nf-page__content {
	font-size: 1.05rem;
	line-height: 1.7;
}
.nf-page__content h2 {
	color: var(--nf-green-dark);
}
.nf-page__thumb {
	margin-bottom: 28px;
}
.nf-page__thumb img {
	border-radius: var(--nf-radius-md);
}
.nf-postlist {
	display: grid;
	gap: 28px;
}
.nf-postlist__item {
	padding-bottom: 24px;
	border-bottom: 1px solid var(--nf-border);
}
.nf-postlist__title {
	margin: 0 0 10px;
	font-size: 1.4rem;
}
.nf-postlist__title a {
	color: var(--nf-ink);
}
.nf-postlist__title a:hover {
	color: var(--nf-green-dark);
}
.nf-postlist__excerpt {
	margin-bottom: 14px;
}

/* Strony prawne (regulamin, polityki) */
.nf-legal-hero {
	background: var(--nf-green-dark);
	padding-block: 44px;
}
.nf-legal-hero__title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 800;
	line-height: 1.15;
}
.nf-legal {
	max-width: 900px;
	padding-block: 48px;
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--nf-ink);
}
.nf-legal h2 {
	color: var(--nf-green-dark);
	font-size: 1.4rem;
	margin: 2em 0 0.6em;
}
.nf-legal h3 {
	color: var(--nf-green-dark);
	font-size: 1.12rem;
	margin: 1.4em 0 0.5em;
}
.nf-legal p {
	margin: 0 0 1em;
}
.nf-legal ul,
.nf-legal ol {
	margin: 0 0 1em;
	padding-left: 1.4em;
}
.nf-legal li {
	margin-bottom: 0.4em;
}
.nf-legal a {
	text-decoration: underline;
}
.nf-legal table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1em;
}
.nf-legal table th,
.nf-legal table td {
	border: 1px solid var(--nf-border);
	padding: 10px 12px;
	text-align: left;
}
.nf-legal__note {
	background: var(--nf-green-light);
	border-radius: var(--nf-radius-md);
	padding: 16px 20px;
	font-size: 0.95rem;
}

/* Strona kontaktu */
.nf-contact {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	align-items: start;
	padding-block: 48px;
}
.nf-contact__intro {
	font-size: 1.1rem;
	margin: 0 0 24px;
}
.nf-contact__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nf-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 18px;
	line-height: 1.6;
	background: #fff;
	border: 2px solid var(--nf-border);
	border-radius: var(--nf-radius-md);
	padding: 18px 20px;
	transition: border-color 0.16s, transform 0.16s;
}
.nf-contact__item:hover {
	border-color: var(--nf-green-dark);
	transform: translateY(-2px);
}
.nf-contact__ico {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--nf-green-light);
	color: var(--nf-green-dark);
	display: grid;
	place-items: center;
}
.nf-contact__data {
	min-width: 0;
}
.nf-contact__label {
	display: block;
	font-weight: 800;
	color: var(--nf-green-dark);
	margin-bottom: 2px;
}
.nf-contact__form-wrap {
	background: var(--nf-green-light);
	border-radius: var(--nf-radius-md);
	padding: 32px;
}
.nf-contact__form-title {
	margin: 0 0 20px;
	color: var(--nf-green-dark);
	font-size: 1.4rem;
	font-weight: 800;
}
.nf-contact-form .form-row {
	margin-bottom: 16px;
}
.nf-contact-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
}
.nf-contact-form input[type="text"],
.nf-contact-form input[type="email"],
.nf-contact-form textarea {
	width: 100%;
	border: 2px solid var(--nf-border);
	border-radius: 12px;
	padding: 12px 16px;
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
}
.nf-contact-form input:focus,
.nf-contact-form textarea:focus {
	outline: none;
	border-color: var(--nf-green-dark);
}
.nf-contact-form .required {
	color: #d64550;
}
.nf-contact-form__privacy label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 500;
	font-size: 0.92rem;
	line-height: 1.45;
}
.nf-contact-form__privacy input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 3px;
}
.nf-contact-form .nf-btn {
	border: 0;
	cursor: pointer;
	margin-top: 4px;
}
.nf-formmsg {
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 20px;
	font-weight: 600;
	border-left: 5px solid var(--nf-green-dark);
}
.nf-formmsg--success {
	background: var(--nf-green-light);
	color: var(--nf-green-dark);
}
.nf-formmsg--error {
	background: #fdecee;
	border-left-color: #d64550;
	color: #8a2a32;
}

/* Strona O serii */
.nf-about {
	padding-block: 48px;
}
.nf-about__intro {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 44px;
	align-items: center;
	margin-bottom: 48px;
}
.nf-about__img {
	width: 100%;
	height: auto;
	border-radius: var(--nf-radius-md);
}
.nf-about__heading {
	margin: 0 0 16px;
	color: var(--nf-green-dark);
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	font-weight: 800;
	line-height: 1.15;
}
.nf-about__intro-text {
	line-height: 1.75;
	font-size: 1.05rem;
}
.nf-about__intro-text p {
	margin: 0 0 1em;
}
/* Poziomy EASY / HARD */
.nf-levels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 48px;
}
.nf-level {
	border-radius: var(--nf-radius-md);
	padding: 26px 28px;
	line-height: 1.6;
}
.nf-level--easy {
	background: var(--nf-green-light);
	border: 2px solid #b7dcc9;
	color: var(--nf-ink);
}
.nf-level--hard {
	background: var(--nf-green-dark);
	color: #fff;
}
.nf-level__badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 16px;
	border-radius: var(--nf-radius);
	font-weight: 800;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
}
.nf-level--easy .nf-level__badge {
	background: var(--nf-green-dark);
	color: #fff;
}
.nf-level--hard .nf-level__badge {
	background: #fff;
	color: var(--nf-green-dark);
}
.nf-level__text p {
	margin: 0;
}
/* Dwie zielone kolumny */
.nf-about__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}
.nf-about__col {
	background: var(--nf-green-light);
	border-radius: var(--nf-radius-md);
	padding: 28px 30px;
	line-height: 1.7;
}
.nf-about__col p {
	margin: 0 0 1em;
}
.nf-about__col p:last-child {
	margin-bottom: 0;
}

/* Strona Zapowiedzi */
.nf-ann {
	padding-block: 40px;
}
.nf-ann__top {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 44px;
	align-items: start;
}
.nf-ann__cover-img {
	width: 100%;
	height: auto;
	border-radius: var(--nf-radius-md);
}
.nf-ann__heading {
	margin: 0 0 18px;
	color: var(--nf-green-dark);
	font-weight: 800;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.15;
}
.nf-ann__desc {
	line-height: 1.75;
}
.nf-ann__desc p {
	margin: 0 0 1em;
}
.nf-ann__spec {
	margin-top: 24px;
	background: var(--nf-green-light);
	border-radius: var(--nf-radius-md);
	padding: 22px 26px;
}
.nf-ann__spec-title {
	margin: 0 0 10px;
	color: var(--nf-green-dark);
	font-weight: 800;
	font-size: 1.15rem;
}
.nf-ann__spec-info {
	line-height: 1.75;
	color: var(--nf-ink);
}
.nf-ann2 {
	padding-block: 40px;
}
.nf-ann2__intro {
	max-width: 880px;
	margin: 0 auto 30px;
	text-align: center;
	line-height: 1.7;
	font-size: 1.05rem;
}
.nf-ann-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nf-ann-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 11px;
	line-height: 1.45;
}
.nf-ann-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 11px;
	height: 11px;
	border: 2px solid var(--nf-green-dark);
	border-radius: 3px;
}
.nf-ann-list--cols {
	column-count: 2;
	column-gap: 48px;
}
.nf-ann-list--cols li {
	break-inside: avoid;
}
.nf-placeholder {
	padding-block: 64px;
	text-align: center;
}
.nf-placeholder h1 {
	color: var(--nf-green-dark);
	font-size: 2.4rem;
	margin-bottom: 8px;
}
.nf-footer {
	margin-top: 64px;
	background: var(--nf-green-dark);
	color: #ffffff;
}
.nf-footer a {
	color: #ffffff;
}
.nf-footer__top {
	display: grid;
	grid-template-columns: 1.2fr 1.2fr 1fr;
	gap: 40px;
	padding-block: 52px;
}
.nf-footer__title {
	margin: 0 0 18px;
	font-size: 1.1rem;
	font-weight: 800;
	color: #ffffff;
}
.nf-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}
.nf-footer__menu a {
	color: rgba(255, 255, 255, 0.88);
	font-weight: 500;
	transition: color 0.16s;
}
.nf-footer__menu a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* Social */
.nf-socials {
	display: flex;
	gap: 12px;
}
.nf-social {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
	transition: transform 0.16s, filter 0.16s, background 0.16s;
}
.nf-social:hover {
	transform: translateY(-3px);
	filter: brightness(1.05);
}
.nf-social--facebook {
	background: #1877f2;
}
.nf-social--instagram {
	background: radial-gradient(circle at 30% 110%, #fdf497 5%, #fd5949 45%, #d6249f 70%, #285aeb 100%);
}
.nf-social--pinterest {
	background: #e60023;
}

/* Dolny pasek */
.nf-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	padding-block: 18px;
}
.nf-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 0.9rem;
}
.nf-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
}
.nf-footer__credit a {
	text-decoration: underline;
}
.nf-footer__credit a:hover {
	color: var(--nf-green-light);
}

/* 8. PRZYCISKI ------------------------------------------------ */
.nf-btn {
	display: inline-block;
	padding: 12px 32px;
	border-radius: var(--nf-radius);
	font-weight: 800;
	font-size: 1.02rem;
	border: 2px solid transparent;
	transition: background 0.18s, color 0.18s, transform 0.12s;
}
.nf-btn:active {
	transform: translateY(1px);
}
.nf-btn--primary {
	background: var(--nf-green-dark);
	color: var(--nf-white);
}
.nf-btn--primary:hover {
	background: var(--nf-green-darker);
}
.nf-btn--ghost {
	background: transparent;
	color: var(--nf-green-dark);
	border-color: var(--nf-green-dark);
}
.nf-btn--ghost:hover {
	background: var(--nf-green-dark);
	color: var(--nf-white);
}
.nf-btn--accent {
	background: var(--nf-accent);
	color: var(--nf-white);
}
.nf-btn--accent:hover {
	background: var(--nf-accent-dark);
}
.nf-btn__arrow {
	font-weight: 800;
	margin-left: 4px;
}

/* 9. TYTUŁY SEKCJI ------------------------------------------- */
.nf-section-title {
	font-size: 2.1rem;
	font-weight: 800;
	color: var(--nf-green-dark);
	margin: 0 0 28px;
}
.nf-section-title--center {
	text-align: center;
}

/* 10a. ZIELONA BELKA ----------------------------------------- */
.nf-belka {
	background: var(--nf-green-light);
	padding-block: 26px;
}
.nf-belka__title {
	margin: 0;
	text-align: center;
	color: var(--nf-green-dark);
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	font-weight: 800;
	line-height: 1.2;
}
/* Jasna belka — tylko trochę mniejszy napis (reszta jak w bazie) */
.nf-belka:not(.nf-belka--dark) .nf-belka__title {
	font-size: clamp(1.3rem, 2.6vw, 2rem);
}

/* Wariant ciemnozielony (biały napis) */
.nf-belka--dark {
	background: var(--nf-green-dark);
}
.nf-belka--dark .nf-belka__title {
	color: var(--nf-white);
}

/* 10c. SEKCJA CECH (panel 4 kafelków) ----------------------- */
.nf-features {
	padding-block: 36px;
}
.nf-features__panel {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
/* Każda cecha to osobny kafelek — tło zawsze, obwódka na hover */
.nf-feature {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: rgba(var(--nf-accent-rgb), 0.08);
	border: 2px solid transparent;
	border-radius: var(--nf-radius-md);
	padding: 22px 24px;
	transition: background 0.18s, transform 0.16s;
}
.nf-feature:hover {
	background: var(--nf-green-light);
	transform: translateY(-2px);
}
.nf-feature__icon {
	flex: 0 0 auto;
}
.nf-feature__icon img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}
.nf-feature__title {
	margin: 0 0 4px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #111111;          /* czarne nagłówki */
	line-height: 1.25;
}
.nf-feature__text {
	margin: 0;
	font-size: 0.95rem;
	color: var(--nf-ink);
	line-height: 1.4;
}

/* 10d. OZDOBNY NAGŁÓWEK SEKCJI ------------------------------ */
.nf-deco-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin: 0 0 36px;
}
.nf-deco-title__text {
	margin: 0;
	color: #111111;                 /* czarny napis */
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	font-weight: 800;
	text-align: center;             /* dłuższe nagłówki zawijają się ładnie na środku */
}
.nf-deco-title__line {
	position: relative;
	flex: 0 0 110px;                /* ozdobnik stałej długości */
	height: 3px;
	background: var(--nf-green-dark);
	border-radius: 2px;
}
/* wypełnione zielone kółko na końcu ozdobnika */
.nf-deco-title__line::before {
	content: "";
	position: absolute;
	top: 50%;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--nf-green-dark);
	transform: translateY(-50%);
}
.nf-deco-title__line--left::before {
	left: 0;
}
.nf-deco-title__line--right::before {
	right: 0;
}

/* 10e. KAFLE KSIĄŻECZEK (kolor z kraju przez --card) -------- */
.nf-latest {
	padding-block: 48px;
}
.nf-books {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.nf-book {
	display: flex;
	flex-direction: column;
	background: var(--nf-white);
	border: 3px solid var(--card, var(--nf-green-dark));
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.16s, box-shadow 0.16s;
}
.nf-book:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}
.nf-book__media {
	position: relative;
	display: block;
}
.nf-book__media img {
	width: 100%;
	height: auto;
	display: block;
}
/* Etykieta z nazwą kraju — straddluje granicę zdjęcia i opisu */
.nf-book__label {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 50%);
	z-index: 2;
	background: var(--card, var(--nf-green-dark));
	color: var(--nf-white);
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 8px 30px;
	border-radius: 12px;
	white-space: nowrap;
}
.nf-book__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px 22px 26px;
	background: #f6faf8;
	background: color-mix(in srgb, var(--card, #6d9837) 10%, #fff);
}
.nf-book__desc {
	font-style: italic;
	font-weight: 600;
	color: var(--nf-ink);
	line-height: 1.5;
}
.nf-book__desc p {
	margin: 0 0 0.6em;
}
.nf-book__desc p:last-child {
	margin-bottom: 0;
}
.nf-book__btn {
	align-self: center;
	margin-top: auto;
	background: var(--card, var(--nf-green-dark));
	color: var(--nf-white);
	font-weight: 800;
	font-size: 1.02rem;
	padding: 13px 34px;
	border-radius: var(--nf-radius);
	transition: filter 0.18s;
}
.nf-book__btn:hover {
	filter: brightness(0.92);
}
/* Gwiazdka „Nowość" */
.nf-book__new {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 3;
	width: 74px;
	height: 74px;
	display: grid;
	place-items: center;
	text-align: center;
	background: #f4c430;
	color: #1f2a26;
	font-weight: 800;
	font-size: 0.72rem;
	text-transform: uppercase;
	transform: rotate(10deg);
	clip-path: polygon(50% 0%, 63% 12%, 79% 8%, 81% 25%, 97% 30%, 87% 44%, 100% 57%, 84% 64%, 88% 81%, 71% 79%, 63% 95%, 50% 84%, 37% 95%, 29% 79%, 12% 81%, 16% 64%, 0% 57%, 13% 44%, 3% 30%, 19% 25%, 21% 8%, 37% 12%);
}
.nf-latest__more {
	text-align: center;
	margin-top: 34px;
}

/* 10f. ZAPOWIEDŹ + PROMOCJA (dwie kolumny) ----------------- */
.nf-twocol {
	padding-block: 48px;
}
.nf-twocol__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: stretch;
}

/* Lewa karta */
.nf-soon {
	display: grid;
	grid-template-columns: 1fr 1fr;   /* zdjęcie nieco większe */
	gap: 24px;
	align-items: stretch;             /* zdjęcie wypełnia wysokość karty */
	background: var(--nf-green-light);
	border: 2px solid var(--nf-border);
	border-radius: 22px;
	padding: 30px;
}
.nf-soon__text {
	align-self: center;               /* tekst pionowo wyśrodkowany */
}
.nf-soon__heading {
	margin: 0 0 16px;
	color: #111111;                   /* czarny tytuł */
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}
.nf-soon__desc {
	font-weight: 600;
	color: var(--nf-ink);
	line-height: 1.5;
	margin-bottom: 22px;
}
.nf-soon__desc p {
	margin: 0;
}
.nf-soon__media {
	position: relative;
	min-height: 240px;                /* zapas wysokości dla zdjęcia */
}
.nf-soon__img {
	position: absolute;               /* wypełnia całą wysokość karty */
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}
/* Etykieta — pomarańczowa, nachodzi na dół grafiki */
.nf-soon__label {
	position: absolute;
	left: -10px;
	bottom: 16px;
	background: var(--nf-accent);
	color: var(--nf-white);
	font-weight: 800;
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 8px 22px;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* Prawa grafika */
.nf-promo {
	display: flex;
	align-items: center;              /* wyśrodkuj grafikę, gdy niższa od karty */
}
.nf-promo__img {
	width: 100%;
	height: auto;                     /* infografiki NIE przycinamy */
	border-radius: 18px;
	display: block;
}

/* 10g. „DLACZEGO DZIECI…" — 4 kafle naprzemienne ----------- */
.nf-why {
	padding-block: 48px;
}
.nf-why__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.nf-why-card {
	border-radius: 18px;
	padding: 32px 26px;
	text-align: center;
	transition: transform 0.16s, box-shadow 0.16s;
}
/* naprzemiennie: 1,3 jasnopomarańczowy — 2,4 jasnozielony */
.nf-why-card:nth-child(odd) {
	background: rgba(var(--nf-accent-rgb), 0.08);
}
.nf-why-card:nth-child(even) {
	background: var(--nf-green-light);
}
.nf-why-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--nf-shadow);
}
.nf-why-card__icon {
	width: 104px;
	height: 104px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.65);
	display: grid;
	place-items: center;
	overflow: hidden;
}
.nf-why-card__icon img {
	width: 72%;
	height: 72%;
	object-fit: contain;
}
.nf-why-card__title {
	margin: 0 0 12px;
	color: var(--nf-green-dark);
	font-weight: 800;
	font-size: 1.15rem;
	line-height: 1.25;
}
.nf-why-card__text {
	margin: 0;
	color: var(--nf-ink);
	font-size: 0.95rem;
	line-height: 1.55;
}

/* 10b. HERO -------------------------------------------------- */
.nf-hero {
	padding-block: 48px;
}
.nf-hero--has-bg {
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
	padding-block: 40px;
}
.nf-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: 48px;
}
.nf-hero__title {
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
	line-height: 1.15;
	color: var(--nf-green-dark);
	font-weight: 800;
	margin: 0 0 18px;
}
.nf-hero__text {
	font-size: 1.12rem;
	color: var(--nf-ink);
	margin: 0 0 28px;
	max-width: 54ch;
}
.nf-hero__text p {
	margin: 0 0 1em;
}
.nf-hero__text p:last-child {
	margin-bottom: 0;
}
.nf-hero__media .nf-hero__img {
	width: 100%;
	max-width: 90%;       /* rodzinka minimalnie mniejsza */
	height: auto;
	margin-inline: auto;  /* wyśrodkowanie w kolumnie */
}

/* 11. INTRO / O SERII --------------------------------------- */
.nf-intro {
	padding-block: 56px;
}
.nf-intro__inner {
	max-width: 880px;
	margin-inline: auto;
	text-align: center;
}
.nf-intro__text {
	font-size: 1.12rem;
	color: var(--nf-ink);
}

/* 12. SIATKA PRODUKTÓW + KARTA ------------------------------- */
.nf-featured {
	padding-block: 56px;
	background: linear-gradient(180deg, #fff 0%, var(--nf-green-light) 100%);
}
.nf-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}
.nf-card {
	background: var(--nf-white);
	border-radius: var(--nf-radius-md);
	overflow: hidden;
	box-shadow: var(--nf-shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.16s, box-shadow 0.16s;
}
.nf-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 36px rgba(var(--nf-green-dark-rgb), 0.18);
}
.nf-card__media {
	position: relative;
	display: block;
	background: var(--nf-green-light);
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.nf-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nf-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: var(--nf-green-dark);
	color: var(--nf-white);
	font-size: 0.8rem;
	font-weight: 800;
	padding: 6px 14px;
	border-radius: var(--nf-radius);
}
.nf-card__body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.nf-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}
.nf-card__title a {
	color: var(--nf-ink);
}
.nf-card__title a:hover {
	color: var(--nf-green-dark);
}
.nf-card__price {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--nf-green-dark);
	margin-top: auto;
}
.nf-card__price del {
	color: var(--nf-muted);
	font-weight: 600;
	font-size: 0.95rem;
	margin-right: 6px;
}
.nf-card__price ins {
	text-decoration: none;
}
.nf-card .nf-card__add,
.nf-card .button {
	display: inline-block;
	text-align: center;
	background: var(--nf-green-light);
	color: var(--nf-green-dark);
	font-weight: 800;
	padding: 12px 18px;
	border-radius: var(--nf-radius);
	border: 0;
	transition: background 0.18s, color 0.18s;
}
.nf-card .nf-card__add:hover,
.nf-card .button:hover {
	background: var(--nf-green-dark);
	color: var(--nf-white);
}
.nf-card .added_to_cart {
	margin-top: 4px;
	font-size: 0.9rem;
}

/* 6. RESPONSYWNOŚĆ ------------------------------------------- */

/* Mobile / tablet — header jednorzędowy, menu off-canvas (od 1024px, zanim menu się zawinie) */
@media (max-width: 1024px) {
	.nf-header__top {
		flex-wrap: wrap;
		gap: 14px;
	}
	.nf-header__logo {
		flex: 1 1 auto;
	}
	.nf-header__lang {
		display: none; /* w menu mobilnym pokażemy go niżej */
	}
	.nf-header__search {
		order: 5;
		flex: 1 1 100%;
	}
	.nf-search {
		width: 100%;       /* na telefonie pełna szerokość */
		margin-left: 0;
	}
	.nf-burger {
		display: inline-flex;
	}

	/* Menu jako panel zsuwany */
	.nf-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(360px, 86vw);
		margin: 0;
		background: var(--nf-white);
		box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
		padding: 88px 20px 32px;
		transform: translateX(100%);
		transition: transform 0.28s ease;
		overflow-y: auto;
		z-index: 200;
	}
	.nf-nav-open .nf-nav {
		transform: translateX(0);
	}
	.nf-menu {
		flex-direction: column;
		align-items: stretch;
		background: transparent;
		padding: 0;
		gap: 4px;
	}
	.nf-menu a {
		display: block;
		padding: 14px 18px;
		font-size: 1.1rem;
		color: var(--nf-ink);        /* panel mobilny jest biały — ciemny tekst */
	}
	.nf-menu a:hover {
		background: var(--nf-green-light);
	}
	.nf-menu .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		padding: 0 0 0 14px;
		margin-top: 0;
	}

	/* Hamburger: krzyżyk gdy otwarte */
	.nf-nav-open .nf-burger__open {
		display: none;
	}
	.nf-nav-open .nf-burger__close {
		display: inline-flex;
	}
	.nf-burger {
		position: relative;
		z-index: 210;
	}

	/* Przyciemnienie tła pod panelem */
	.nf-nav-open::before {
		content: "";
		position: fixed;
		inset: 0;
		background: rgba(31, 42, 38, 0.45);
		z-index: 150;
	}

	/* Hero — układ pionowy, obrazek nad treścią */
	.nf-hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.nf-hero__media {
		order: -1;
	}
	.nf-hero__text {
		margin-inline: auto;
	}

	/* Siatka produktów — 2 kolumny */
	.nf-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}

	/* Panel cech — 2 kolumny */
	.nf-features__panel {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}

	/* Kafle książeczek — 2 kolumny */
	.nf-books {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
	}
	/* Ozdobniki nagłówka — krótsze na mniejszych ekranach */
	.nf-deco-title__line {
		flex-basis: 60px;
	}

	/* Zapowiedź + promocja — kolumny jedna pod drugą */
	.nf-twocol__inner {
		grid-template-columns: 1fr;
	}

	/* Kontakt — kolumny jedna pod drugą */
	.nf-contact {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	/* Zapowiedzi — okładka nad opisem */
	.nf-ann__top {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	/* O serii — wszystko jedną kolumną */
	.nf-about__intro,
	.nf-levels,
	.nf-about__cols {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	/* Stopka — 2 kolumny */
	.nf-footer__top {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	/* „Dlaczego dzieci…" — 2 kolumny */
	.nf-why__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	body {
		font-size: 16px;
	}
	.nf-action {
		width: 46px;
		height: 46px;
	}
	.nf-grid {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
	.nf-card__body {
		padding: 14px;
	}
	.nf-section-title {
		font-size: 1.7rem;
	}

	/* Lista zapowiedzi — jedna kolumna na telefonie */
	.nf-ann-list--cols {
		column-count: 1;
	}

	/* Panel cech — 1 kolumna */
	.nf-features__panel {
		grid-template-columns: 1fr;
	}

	/* Kafle książeczek — 1 kolumna */
	.nf-books {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-inline: auto;
	}

	/* Karta zapowiedzi — tekst nad zdjęciem */
	.nf-soon {
		grid-template-columns: 1fr;
	}
	.nf-soon__label {
		left: 50%;
		transform: translateX(-50%);
	}

	/* Stopka — 1 kolumna, dolny pasek wyśrodkowany */
	.nf-footer__top {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.nf-footer__bottom-inner {
		justify-content: center;
		text-align: center;
	}

	/* „Dlaczego dzieci…" — 1 kolumna */
	.nf-why__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-inline: auto;
	}
}
