/* Niefejki – strona główna */
.nf-home { background: var(--nf-paper); overflow-x: clip; }
.nf-home * { box-sizing: border-box; }
.nf-home img { max-width: 100%; height: auto; display: block; }
.nf-sec { padding: 3.5rem 0; }
.nf-head { margin-bottom: 1.8rem; max-width: 760px; }
.nf-head h2 { display: inline; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.35; margin: 0; background: linear-gradient(transparent 62%, var(--nf-mark) 62%); padding: 0 .15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.nf-head p { margin: .7rem 0 0; color: var(--nf-muted); }
.nf-head--light h2 { color: #fff; background: linear-gradient(transparent 66%, rgba(250,204,21,.45) 66%); }
.nf-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--nf-green); margin: 0 0 .7rem; }
.nf-eyebrow span { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--nf-green); color: #fff; font-size: .85rem; }
.nf-note { font-size: .9rem; color: var(--nf-muted); }
.nf-meta { font-size: .8rem; color: var(--nf-muted); margin: 0 0 .3rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.nf-meta span { color: var(--nf-green); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.nf-noimg { display: grid; place-items: center; width: 100%; aspect-ratio: 16/10; background: var(--nf-green-soft); color: var(--nf-green); font-size: 2rem; }

/* 1. Hero */
.nf-hero { background: linear-gradient(180deg, #fff 0%, var(--nf-paper) 100%); padding: 3.2rem 0 3.5rem; border-bottom: 1px solid var(--nf-line); }
.nf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.nf-hero__h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.12; margin: 0 0 1rem; }
.nf-hero__h1 mark { background: linear-gradient(transparent 58%, var(--nf-mark) 58%); color: inherit; padding: 0 .1em; }
.nf-hero__lead { font-size: 1.1rem; color: var(--nf-muted); max-width: 560px; margin: 0 0 1.5rem; }
.nf-find { display: flex; max-width: 560px; border: 2px solid var(--nf-green); border-radius: 12px; overflow: hidden; background: #fff; }
.nf-find input { flex: 1; min-width: 0; border: 0; padding: .9rem 1rem; font: inherit; }
.nf-find input:focus { outline: none; }
.nf-find button { border: 0; background: var(--nf-green); color: #fff; font-family: var(--font-head); font-weight: 600; padding: 0 1.4rem; cursor: pointer; }
.nf-find button:hover { background: var(--nf-green-dk); }
.nf-hero__tags { margin: 1rem 0 0; font-size: .9rem; color: var(--nf-muted); display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; }
.nf-hero__tags a { color: var(--nf-ink); text-decoration: none; border-bottom: 2px solid var(--nf-mark); }
.nf-hero__tags a:hover { background: var(--nf-mark-soft); }

.nf-verify { background: #fff; border: 1px solid var(--nf-line); border-radius: 16px; box-shadow: 0 14px 34px rgba(11,59,36,.12); overflow: hidden; position: relative; }
.nf-verify::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: repeating-linear-gradient(90deg, var(--nf-green) 0 30px, var(--nf-mark) 30px 44px); }
.nf-verify__top { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem .4rem; font-family: var(--font-head); font-weight: 700; }
.nf-verify__count { font-weight: 500; font-size: .85rem; color: var(--nf-muted); }
.nf-verify__item { padding: .3rem 1.3rem 1rem; min-height: 200px; }
.nf-verify__claim { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.4; margin: .4rem 0 1rem; }
.nf-verify__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.nf-verify__btns button { padding: .7rem; border-radius: 10px; border: 2px solid var(--nf-line); background: var(--nf-paper); font-family: var(--font-head); font-weight: 600; cursor: pointer; }
.nf-verify__btns button[data-nf-answer="0"]:hover:not(:disabled) { border-color: var(--nf-red); color: var(--nf-red); }
.nf-verify__btns button[data-nf-answer="1"]:hover:not(:disabled) { border-color: var(--nf-green); color: var(--nf-green); }
.nf-verify__btns button:disabled { cursor: default; opacity: .55; }
.nf-verify__btns button.is-picked { opacity: 1; border-color: var(--nf-ink); }
.nf-verify__res { margin-top: 1rem; font-size: .95rem; }
.nf-verify__res p { margin: .5rem 0; }
.nf-verify__res [data-nf-verdict] { font-weight: 700; display: inline; margin-left: .6rem; }
.nf-verify__why { color: var(--nf-muted); }
.nf-verify__res a { color: var(--nf-green); font-weight: 600; }
.nf-verify__foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.3rem; background: var(--nf-green-soft); font-size: .9rem; }

/* 2. Segregator */
.nf-binder__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.2rem 1rem; }
.nf-tab { background: #fff; border: 1px solid var(--nf-line); border-radius: 0 12px 12px 12px; padding: 1rem; position: relative; margin-top: 1.4rem; }
.nf-tab__ear { position: absolute; left: -1px; top: -2.05rem; display: inline-flex; gap: .45rem; align-items: center; background: #fff; border: 1px solid var(--nf-line); border-bottom: 0; border-radius: 10px 10px 0 0; padding: .4rem .8rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--nf-ink); text-decoration: none; max-width: calc(100% + 2px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-tab:nth-child(odd) .nf-tab__ear { background: var(--nf-green-soft); }
.nf-tab__ear:hover { color: var(--nf-green); }
.nf-tab__sign { display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 4px; background: var(--nf-green); color: #fff; font-size: .8rem; flex: none; }
.nf-tab__desc { margin: 0 0 .6rem; font-size: .85rem; color: var(--nf-muted); }
.nf-tab ul { margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.nf-tab li { padding: .35rem 0; border-top: 1px dashed var(--nf-line); }
.nf-tab li a { color: var(--nf-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nf-tab li a:hover { color: var(--nf-green); }

/* 3. Sprawdzarka sklepu */
.nf-shop { background: #fff; border-block: 1px solid var(--nf-line); }
.nf-shop__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: start; }
.nf-shop__intro h2 { margin-top: 0; }
.nf-shop__form { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.nf-shop__form label { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .8rem; border: 1px solid var(--nf-line); border-radius: 10px; font-size: .92rem; cursor: pointer; background: var(--nf-paper); }
.nf-shop__form label:has(input:checked) { border-color: var(--nf-red); background: var(--nf-red-soft); }
.nf-shop__form input { margin-top: .2rem; accent-color: var(--nf-red); flex: none; }
.nf-shop__out { grid-column: 1 / -1; display: flex; gap: .8rem; align-items: center; padding: 1rem 1.2rem; border-radius: 12px; font-size: .98rem; background: var(--nf-green-soft); border: 2px solid var(--nf-green); }
.nf-shop__out strong { font-family: var(--font-head); font-size: 1.4rem; flex: none; }
.nf-shop__out[data-level="1"] { background: var(--nf-mark-soft); border-color: #CA8A04; }
.nf-shop__out[data-level="2"] { background: #FFEDD5; border-color: #C2410C; }
.nf-shop__out[data-level="3"] { background: var(--nf-red-soft); border-color: var(--nf-red); }

/* 4. Świeżo sprawdzone */
.nf-fresh__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; }
.nf-fresh__lead h3 { font-size: 1.45rem; margin: .3rem 0 .5rem; }
.nf-fresh__lead h3 a, .nf-fresh__list h3 a { color: var(--nf-ink); text-decoration: none; }
.nf-fresh__lead h3 a:hover, .nf-fresh__list h3 a:hover { color: var(--nf-green); }
.nf-fresh__img { display: block; border-radius: 12px; overflow: hidden; margin-bottom: .8rem; aspect-ratio: 16/9; }
.nf-fresh__img img { width: 100%; height: 100%; object-fit: cover; }
.nf-fresh__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.nf-fresh__list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .9rem; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--nf-line); }
.nf-fresh__thumb { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.nf-fresh__thumb img, .nf-fresh__thumb .nf-noimg { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; font-size: 1.2rem; }
.nf-fresh__list h3 { font-size: 1rem; margin: 0; line-height: 1.35; }

/* 5. Domowy sposób czy lekarz */
.nf-care__table { border: 1px solid var(--nf-line); border-radius: 12px; overflow: hidden; background: #fff; }
.nf-care__row { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.2fr) minmax(0, 1.2fr); }
.nf-care__row > span { padding: .85rem 1rem; border-top: 1px solid var(--nf-line); font-size: .93rem; }
.nf-care__row--head > span { border-top: 0; background: var(--nf-green-dk); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.nf-care__name { font-family: var(--font-head); font-weight: 600; }
.nf-care__name a { color: var(--nf-green); }
.nf-care__alarm { background: var(--nf-red-soft); color: #7F1D1D; }
.nf-care__row--head .nf-care__alarm { background: var(--nf-red); color: #fff; }

/* 6. Woda */
.nf-water { background: var(--nf-green-soft); }
.nf-water__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.nf-water__grid h2 { margin-top: 0; }
.nf-water__calc { background: #fff; border-radius: 16px; padding: 1.4rem; display: grid; gap: 1rem; border: 1px solid var(--nf-line); }
.nf-water__calc fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.nf-water__calc legend { font-weight: 600; margin-bottom: .4rem; width: 100%; }
.nf-water__calc > label { display: grid; gap: .3rem; font-weight: 500; }
.nf-water__calc input[type=number] { width: 100%; padding: .6rem .7rem; border: 1px solid var(--nf-line); border-radius: 10px; font: inherit; }
.nf-water__chk { display: flex !important; gap: .5rem; align-items: center; }
.nf-water__calc output { font-size: 1.05rem; padding: .8rem 1rem; background: var(--nf-paper); border-radius: 10px; }
.nf-water__calc output strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--nf-green); }
.nf-water__glasses { display: flex; flex-wrap: wrap; gap: 4px; }
.nf-water__glasses i { width: 16px; height: 22px; border: 2px solid var(--nf-green); border-top: 0; border-radius: 0 0 4px 4px; background: linear-gradient(transparent 30%, #93C5FD 30%); }
.nf-water__glasses::after { content: attr(data-n); font-size: .8rem; color: var(--nf-muted); width: 100%; }

/* 7. Przepisy */
.nf-recipes__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; }
.nf-recipe { display: grid; gap: .3rem; padding: 1rem; background: #fff; border: 1px solid var(--nf-line); border-radius: 12px; text-decoration: none; color: var(--nf-ink); border-bottom: 4px solid var(--nf-mark); transition: transform .2s; }
.nf-recipe:hover { transform: translateY(-3px); }
.nf-recipe strong { font-family: var(--font-head); font-size: 1.05rem; }
.nf-recipe span { font-size: .85rem; color: var(--nf-muted); }

/* 8. Kroki */
.nf-steps { background: var(--nf-green-dk); color: #E2EFE6; }
.nf-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.nf-steps__list li { position: relative; padding: 1.2rem 1rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.nf-steps__list li:not(:last-child)::after { content: "→"; position: absolute; right: -.95rem; top: 1.4rem; color: var(--nf-mark); font-weight: 700; }
.nf-steps__no { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--nf-mark); color: var(--nf-ink); font-family: var(--font-head); font-weight: 700; }
.nf-steps__list h3 { color: #fff; font-size: 1.05rem; margin: .7rem 0 .4rem; }
.nf-steps__list p { margin: 0; font-size: .9rem; }
.nf-steps__more { margin: 1.6rem 0 0; }

/* 9. Apteczka */
.nf-kit__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: start; }
.nf-kit__grid h2 { margin-top: 0; }
.nf-kit__state { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--nf-green); margin: .5rem 0; }
.nf-kit__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.2rem; }
.nf-kit__list li { break-inside: avoid; margin-bottom: .5rem; }
.nf-kit__list label { display: flex; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; background: #fff; border: 1px solid var(--nf-line); cursor: pointer; font-size: .92rem; }
.nf-kit__list input { accent-color: var(--nf-green); flex: none; margin-top: .15rem; }
.nf-kit__list input:checked + span { text-decoration: line-through; color: var(--nf-muted); }

/* 10. Fiszki */
.nf-cards { background: #fff; border-block: 1px solid var(--nf-line); }
.nf-cards__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem; }
.nf-card { position: relative; min-height: 150px; border: 1px solid var(--nf-line); border-radius: 12px; background: var(--nf-paper); cursor: pointer; padding: 0; font: inherit; color: inherit; perspective: 900px; text-align: left; }
.nf-card__front, .nf-card__back { position: absolute; inset: 0; padding: 1rem; border-radius: 12px; display: flex; backface-visibility: hidden; transition: transform .45s ease; }
.nf-card__front { align-items: flex-end; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; background: linear-gradient(135deg, var(--nf-paper), var(--nf-green-soft)); }
.nf-card__front::before { content: "?"; position: absolute; top: .7rem; right: .9rem; color: var(--nf-green); font-weight: 700; }
.nf-card__back { transform: rotateY(180deg); background: var(--nf-green); color: #fff; font-size: .85rem; line-height: 1.4; align-items: center; overflow: auto; }
.nf-card.is-flipped .nf-card__front { transform: rotateY(180deg); }
.nf-card.is-flipped .nf-card__back { transform: rotateY(360deg); }
.nf-card:focus-visible { outline: 3px solid var(--nf-mark); outline-offset: 2px; }

/* 11. Pytania */
.nf-qa__wrap { max-width: 860px; }
.nf-qa__item { border-bottom: 1px solid var(--nf-line); }
.nf-qa__item summary { cursor: pointer; padding: 1rem 0; font-family: var(--font-head); font-weight: 600; display: flex; gap: .8rem; align-items: center; list-style: none; }
.nf-qa__item summary::-webkit-details-marker { display: none; }
.nf-qa__item summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--nf-green); }
.nf-qa__item[open] summary::after { content: "–"; }
.nf-qa__q, .nf-qa__a { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 6px; font-family: var(--font-head); font-weight: 700; flex: none; font-size: .85rem; }
.nf-qa__q { background: var(--nf-mark); color: var(--nf-ink); }
.nf-qa__a { background: var(--nf-green); color: #fff; margin-right: .8rem; float: left; }
.nf-qa__item p { margin: 0 0 1.1rem; color: var(--nf-muted); overflow: hidden; }

/* 12. Notka redakcji */
.nf-memo__box { position: relative; max-width: 860px; margin: 0 auto; padding: 2rem 2.2rem; background: #FFFDF2; border: 1px solid #EADFA6; border-radius: 4px 4px 16px 4px; box-shadow: 4px 4px 0 var(--nf-mark-soft); }
.nf-memo__box h2 { margin-top: 0; }
.nf-memo__stamp { position: absolute; top: 1.2rem; right: 1.4rem; transform: rotate(8deg); }
.nf-memo__box a { color: var(--nf-green); font-weight: 600; }

/* Responsywność */
@media (max-width: 1100px) {
	.nf-binder__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nf-cards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nf-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nf-steps__list li::after { display: none; }
}
@media (max-width: 860px) {
	.nf-hero__grid, .nf-shop__grid, .nf-fresh__grid, .nf-water__grid, .nf-kit__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.nf-binder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nf-shop__form { grid-template-columns: minmax(0, 1fr); }
	.nf-care__row { grid-template-columns: minmax(0, 1fr); }
	.nf-care__row--head { display: none; }
	.nf-care__row > span { border-top: 0; }
	.nf-care__row { border-top: 1px solid var(--nf-line); }
	.nf-care__row:first-child + .nf-care__row { border-top: 0; }
}
@media (max-width: 560px) {
	.nf-sec { padding: 2.5rem 0; }
	.nf-binder__grid, .nf-steps__list { grid-template-columns: minmax(0, 1fr); }
	.nf-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nf-card { min-height: 130px; }
	.nf-card__front { font-size: .92rem; }
	.nf-card__back { font-size: .78rem; padding: .7rem; }
	.nf-kit__list { columns: 1; }
	.nf-find button { padding: 0 .9rem; }
	.nf-memo__box { padding: 1.5rem 1.2rem; }
	.nf-memo__stamp { position: static; display: inline-block; margin-bottom: .6rem; }
	.nf-verify__item { min-height: 0; }
}
