/* Nigdy nie wiadomo · tokeny i komponenty. Kontrakt: nigdyniewiadomo/DESIGN.md */
:root {
	--nw-paper: #F5F1EA;
	--nw-paper-2: #ECE6DC;
	--nw-ink: #141A22;
	--nw-ink-2: #4B5360;
	--nw-line: #D8D0C3;
	--nw-night: #0E141C;
	--nw-night-2: #18212C;
	--nw-night-line: #2A3542;
	--nw-on-night: #EEE9E1;
	--nw-on-night-2: #A9B0BA;
	--nw-signal: #F26A1B;
	--nw-signal-hover: #FF8240;
	--nw-signal-ink: #A9460B;
	--nw-ok: #1E6B3B;

	--nw-r-s: 3px;
	--nw-r-m: 8px;

	--nw-s1: 8px; --nw-s2: 16px; --nw-s3: 24px; --nw-s4: 32px; --nw-s6: 48px; --nw-s8: 64px; --nw-s12: 96px;

	--nw-display: Archivo, 'Arial Narrow', Arial, sans-serif;
	--nw-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--nw-fast: 150ms;
	--nw-ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ---------- Podstawy ---------- */
body { font-family: var(--nw-body); color: var(--nw-ink); background: var(--nw-paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, .wp-block-post-title { font-family: var(--nw-display); font-stretch: 108%; text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--nw-signal); color: var(--nw-ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--nw-ink); outline-offset: 3px; border-radius: 2px; }
.nw-on-night :where(a, button, summary):focus-visible, .nw-footer :where(a):focus-visible { outline-color: var(--nw-on-night); }
img { height: auto; }
/* Sekcje stykają się krawędziami: bez odstępu blockGap między częściami szablonu i sekcjami */
.wp-site-blocks > *, main > .alignfull, main > .wp-block-post-content, .wp-block-post-content > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.wp-block-woocommerce-customer-account { display: none !important; }

/* Etykieta (Swiss: indeks, mała grotesk, wersaliki) */
.nw-label { font-family: var(--nw-display); font-weight: 650; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nw-ink-2); margin: 0 0 var(--nw-s2); }
.nw-label b, .nw-label strong { color: var(--nw-signal-ink); font-weight: 700; }
.nw-on-night .nw-label, .nw-footer .nw-label { color: var(--nw-on-night-2); }
.nw-on-night .nw-label b, .nw-on-night .nw-label strong { color: var(--nw-signal); }
.nw-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.5; color: var(--nw-ink-2); max-width: 36em; }
.nw-on-night .nw-lead { color: var(--nw-on-night-2); }
.nw-note { font-size: 0.9375rem; color: var(--nw-ink-2); }
.nw-on-night .nw-note { color: var(--nw-on-night-2); }
.nw-on-night, .nw-on-night :where(h1, h2, h3, h4) { color: var(--nw-on-night); }

/* Przyciski: główny sygnałowy, drugi obrysowy */
.wp-element-button, .wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color var(--nw-fast) var(--nw-ease), color var(--nw-fast) var(--nw-ease), border-color var(--nw-fast) var(--nw-ease); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--nw-ink); border: 1.5px solid var(--nw-ink); padding: 14px 24px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--nw-ink); color: var(--nw-paper); }
.nw-on-night .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--nw-on-night); border-color: var(--nw-on-night-2); }
.nw-on-night .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--nw-on-night); color: var(--nw-night); border-color: var(--nw-on-night); }

/* ---------- Pasek i nagłówek ---------- */
.nw-bar p { margin: 0; font-size: 0.875rem; letter-spacing: 0.01em; }
.nw-bar strong { color: var(--nw-signal); font-weight: 700; }
.nw-header-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .nw-header-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .nw-header-part { top: 46px; } }
.nw-header { border-bottom: 1px solid var(--nw-line); }
.nw-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--nw-ink); text-decoration: none; min-height: 44px; }
.nw-logo__txt { font-family: var(--nw-display); font-weight: 800; font-stretch: 112%; font-size: 1.1875rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.nw-logo--night { color: var(--nw-on-night); }
.nw-nav a { color: var(--nw-ink); text-decoration: none; font-weight: 600; padding: 10px 2px; }
.nw-nav a:hover { color: var(--nw-signal-ink); }
.nw-header .wc-block-mini-cart__button { min-height: 44px; min-width: 44px; color: var(--nw-ink); }
.nw-header .wc-block-mini-cart__badge { background: var(--nw-signal); color: var(--nw-ink); font-weight: 700; }
@media (max-width: 781px) {
	.nw-nav { display: none; }
	.nw-logo__txt { font-size: 1rem; font-stretch: 104%; }
}

/* ---------- Hero: pełnoekranowe zdjęcie nocy ---------- */
.nw-hero { position: relative; display: grid; isolation: isolate; overflow: hidden; background: var(--nw-night); }
.nw-hero > * { grid-area: 1 / 1; }
.nw-hero__img { margin: 0 !important; position: relative; min-height: 100%; }
.nw-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-hero__img--wide { display: block; }
.nw-hero__img--tall { display: none; }
.nw-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 20, 28, 0.92) 0%, rgba(14, 20, 28, 0.72) 38%, rgba(14, 20, 28, 0.08) 70%); pointer-events: none; }
.nw-hero__body { position: relative; z-index: 1; align-self: center; padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--30); max-width: 1240px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.nw-hero__body > * { max-width: 600px; }
.nw-hero h1 { color: var(--nw-on-night); margin: 0 0 var(--nw-s3); }
.nw-hero .nw-lead { color: var(--nw-on-night-2); margin: 0 0 var(--nw-s4); }
.nw-hero .wp-block-buttons { gap: 12px; }
.nw-hero .nw-note { margin-top: var(--nw-s3); }
@media (min-width: 1000px) { .nw-hero { min-height: min(86vh, 760px); } }
@media (max-width: 781px) {
	/* Telefon: tekst na nocnym tle, pod nim kadr z radiem (bez nakładania) */
	.nw-hero { display: flex; flex-direction: column; }
	.nw-hero__body { order: 0; padding-top: var(--nw-s6); padding-bottom: var(--nw-s3); }
	.nw-hero__img--wide { display: none; }
	.nw-hero__img--tall { display: block; order: 1; min-height: 0; }
	.nw-hero__img--tall img { aspect-ratio: 1 / 1; height: auto; object-position: 50% 72%; }
	.nw-hero__img::after { background: linear-gradient(180deg, rgba(14, 20, 28, 1) 0%, rgba(14, 20, 28, 0) 35%); }
	.nw-hero .wp-block-button, .nw-hero .wp-block-button__link { width: 100%; }
}
/* Tablet: szerszy kadr, przyciski w rzędzie */
@media (min-width: 600px) and (max-width: 781px) {
	.nw-hero__img--tall img { aspect-ratio: 16 / 10; }
	.nw-hero .wp-block-button, .nw-hero .wp-block-button__link, .nw-prod .wp-block-button, .nw-prod .wp-block-button__link, .nw-bundle .wp-block-button, .nw-bundle .wp-block-button__link { width: auto; }
	.nw-prod img, .nw-bundle img, .nw-parents img { aspect-ratio: 4 / 3; }
}

/* ---------- Pas z poradnikiem ---------- */
.nw-why h2 { margin: 0 0 var(--nw-s3); }
.nw-why .nw-lead { margin: 0 0 var(--nw-s3); color: var(--nw-ink); }
.nw-why p { color: var(--nw-ink-2); }
.nw-cite { background: var(--nw-paper); border-left: 3px solid var(--nw-signal); border-radius: 0 var(--nw-r-m) var(--nw-r-m) 0; padding: var(--nw-s4); }
.nw-cite p { margin: 0; }
.nw-cite .nw-label { margin-bottom: var(--nw-s2); }
.nw-cite__quote { font-family: var(--nw-display); font-weight: 650; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.32; letter-spacing: -0.01em; color: var(--nw-ink); margin-bottom: var(--nw-s2) !important; }
.nw-cite__quote mark { background: none; color: var(--nw-signal-ink); }
@media (max-width: 781px) { .nw-cite { padding: var(--nw-s3); } }

/* ---------- Oś czasu: pierwsze godziny bez prądu ---------- */
.nw-timeline { list-style: none; margin: var(--nw-s6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--nw-ink); }
.nw-timeline li { position: relative; padding: var(--nw-s3) var(--nw-s3) 0 0; }
.nw-timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--nw-signal); border-radius: 50%; }
.nw-timeline__h { display: block; font-family: var(--nw-display); font-weight: 800; font-stretch: 112%; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--nw-s2); font-variant-numeric: tabular-nums; }
.nw-timeline__t { display: block; font-family: var(--nw-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; margin-bottom: var(--nw-s1); }
.nw-timeline__d { display: block; color: var(--nw-ink-2); font-size: 1rem; line-height: 1.55; }
@media (max-width: 900px) {
	.nw-timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--nw-ink); margin-left: 6px; }
	.nw-timeline li { padding: 0 0 var(--nw-s4) var(--nw-s3); }
	.nw-timeline li:last-child { padding-bottom: 0; }
	.nw-timeline li::before { top: 4px; left: -7px; }
	.nw-timeline__h { font-size: 2.25rem; }
}

/* ---------- Sytuacje: mozaika zdjęć (komputer) / pasek przewijany (telefon) ---------- */
.nw-scenes-section h2 { max-width: 18em; }
.nw-scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: var(--nw-s6); }
.nw-scene { position: relative; margin: 0; border-radius: var(--nw-r-m); overflow: hidden; aspect-ratio: 4 / 5; background: var(--nw-night-2); }
.nw-scene--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.nw-scene--wide { grid-column: span 2; aspect-ratio: auto; }
.nw-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nw-scene figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 16px 16px; background: linear-gradient(180deg, rgba(14, 20, 28, 0) 0%, rgba(14, 20, 28, 0.94) 62%); color: var(--nw-on-night); }
.nw-scene figcaption b { display: block; font-family: var(--nw-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; margin-bottom: 4px; }
.nw-scene figcaption span { display: block; font-size: 0.9375rem; line-height: 1.45; color: var(--nw-on-night-2); }
.nw-scene--big figcaption { padding: 80px 24px 24px; }
.nw-scene--big figcaption b { font-size: 1.5rem; }
.nw-scenes:focus-visible { outline: 2px solid var(--nw-on-night); outline-offset: 4px; }
@media (max-width: 781px) {
	.nw-scenes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: calc(-1 * var(--wp--preset--spacing--30)); padding-right: var(--wp--preset--spacing--30); padding-bottom: 8px; scrollbar-width: thin; }
	.nw-scene, .nw-scene--big, .nw-scene--wide { flex: 0 0 80%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
	.nw-scene--big figcaption { padding: 56px 16px 16px; }
	.nw-scene--big figcaption b { font-size: 1.0625rem; }
}
@media (min-width: 600px) and (max-width: 781px) { .nw-scene, .nw-scene--big, .nw-scene--wide { flex-basis: 46%; } }

/* ---------- Produkty naprzemiennie ---------- */
.nw-prod { border-top: 1px solid var(--nw-line); padding-top: var(--wp--preset--spacing--60); margin-top: var(--wp--preset--spacing--60) !important; }
.nw-prod:first-of-type { border-top: 0; padding-top: 0; }
.nw-prod.is-flip > .wp-block-column:first-child { order: 2; }
.nw-prod figure { margin: 0; }
.nw-prod img { border-radius: var(--nw-r-m); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.nw-prod h3 { margin: 0 0 var(--nw-s2); }
.nw-yes { list-style: none; padding: 0; margin: var(--nw-s3) 0; }
.nw-yes li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--nw-line); }
.nw-yes li:first-child { border-top: 1px solid var(--nw-line); }
.nw-yes li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2.5px solid var(--nw-ink); border-bottom: 2.5px solid var(--nw-ink); transform: rotate(-45deg); }
.nw-price { font-family: var(--nw-display); font-weight: 800; font-stretch: 108%; font-size: 2rem; line-height: 1; letter-spacing: -0.02em; margin: var(--nw-s3) 0 var(--nw-s2); }
.nw-price small { font-family: var(--nw-body); font-weight: 400; font-size: 0.9375rem; color: var(--nw-ink-2); letter-spacing: 0; margin-left: 8px; }
@media (max-width: 781px) {
	.nw-prod.is-flip > .wp-block-column:first-child { order: 0; }
	.nw-prod img { aspect-ratio: 1 / 1; }
	.nw-prod .wp-block-button, .nw-prod .wp-block-button__link { width: 100%; }
}

/* ---------- Zestaw (ciemny split) ---------- */
.nw-bundle img { border-radius: var(--nw-r-m); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.nw-bundle figure { margin: 0; }
.nw-bundle .nw-price { color: var(--nw-on-night); font-size: 2.75rem; }
.nw-bundle .nw-price small { color: var(--nw-on-night-2); }
.nw-bundle .nw-price s { font-family: var(--nw-body); font-weight: 400; font-size: 1rem; color: var(--nw-on-night-2); }
.nw-bundle .nw-yes li { border-color: var(--nw-night-line); color: var(--nw-on-night); }
.nw-bundle .nw-yes li::before { border-color: var(--nw-signal); }
@media (max-width: 781px) { .nw-bundle .wp-block-button, .nw-bundle .wp-block-button__link { width: 100%; } }

/* ---------- Dla rodziców ---------- */
.nw-parents img { border-radius: var(--nw-r-m); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.nw-parents figure { margin: 0; }

/* ---------- FAQ (details) ---------- */
.nw-faq .wp-block-details { border-top: 1px solid var(--nw-line); padding: 0; margin: 0; }
.nw-faq .wp-block-details:last-of-type { border-bottom: 1px solid var(--nw-line); }
.nw-faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 44px 20px 0; font-family: var(--nw-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; min-height: 44px; }
.nw-faq summary::-webkit-details-marker { display: none; }
.nw-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--nw-ink); border-bottom: 2px solid var(--nw-ink); transform: translateY(-70%) rotate(45deg); transition: transform var(--nw-fast) var(--nw-ease); }
.nw-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.nw-faq details > :not(summary) { margin: 0 0 20px; color: var(--nw-ink-2); max-width: 44em; }

/* ---------- Karta produktu ---------- */
.nw-buybox .wp-block-post-title { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; margin: 0 0 var(--nw-s2); }
.nw-buybox .wc-block-components-product-price, .nw-buybox .wp-block-woocommerce-product-price { font-family: var(--nw-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; }
.nw-buybox .wc-block-components-product-price del { font-family: var(--nw-body); font-weight: 400; font-size: 1rem; color: var(--nw-ink-2); }
.nw-atuty { list-style: none; padding: 0; margin: var(--nw-s3) 0; }
.nw-atuty li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--nw-line); }
.nw-atuty li:first-child { border-top: 1px solid var(--nw-line); }
.nw-atuty li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2.5px solid var(--nw-ink); border-bottom: 2.5px solid var(--nw-ink); transform: rotate(-45deg); }
.nw-buybox form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: var(--nw-s3); }
.nw-buybox form.cart .quantity input { height: 52px; width: 72px; border: 1.5px solid var(--nw-ink); border-radius: var(--nw-r-s); text-align: center; font-size: 1.0625rem; background: #fff; }
.nw-buybox form.cart .single_add_to_cart_button { flex: 1 1 200px; min-height: 52px; background: var(--nw-signal); color: var(--nw-ink); border: 0; border-radius: var(--nw-r-s); font-family: var(--nw-display); font-weight: 700; font-size: 1.125rem; cursor: pointer; transition: background-color var(--nw-fast) var(--nw-ease); }
.nw-buybox form.cart .single_add_to_cart_button:hover { background: var(--nw-signal-hover); }
.nw-zestaw { flex: 0 0 100%; min-width: 0; display: grid; gap: var(--nw-s1); border: 0; margin: 0; padding: 0; }
.nw-zestaw[hidden] { display: none; }
.nw-zestaw label { display: grid; grid-template-columns: 22px 1fr auto; gap: 2px 12px; align-items: center; min-height: 56px; padding: 12px 16px; background: #fff; border: 1.5px solid var(--nw-line); border-radius: var(--nw-r-s); cursor: pointer; transition: border-color var(--nw-fast) var(--nw-ease); }
.nw-zestaw label:has(input:checked) { border-color: var(--nw-ink); box-shadow: inset 0 0 0 1px var(--nw-ink); }
.nw-zestaw input { width: 22px; height: 22px; margin: 0; accent-color: var(--nw-ink); }
.nw-zestaw__nazwa, .nw-zestaw__cena { font-family: var(--nw-display); font-weight: 700; font-size: 1.125rem; }
.nw-zestaw__info { grid-column: 2 / -1; font-size: 0.9375rem; line-height: 1.4; color: var(--nw-ink-2); }
.nw-buybox form.cart.nw-z-wyborem .quantity { display: none !important; }
.nw-zaufanie { flex-basis: 100%; list-style: none; padding: var(--nw-s2) 0 0; margin: 0; font-size: 0.9375rem; color: var(--nw-ink-2); }
.nw-zaufanie li { padding: 4px 0 4px 22px; position: relative; }
.nw-zaufanie li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 7px; height: 7px; background: var(--nw-ok); border-radius: 50%; }
.nw-buybox .stock { font-size: 0.9375rem; color: var(--nw-ok); font-weight: 600; }
.nw-product-top .wc-block-components-product-image-gallery img, .nw-product-top .woocommerce-product-gallery img { border-radius: var(--nw-r-m); }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: var(--nw-r-s); }
@media (max-width: 781px) {
	.nw-product-cols { gap: var(--nw-s3) !important; }
	.nw-buybox form.cart .single_add_to_cart_button { flex-basis: 100%; }
}

/* Kroki „jak działa” (01 · 02 · 03) */
.nw-steps { list-style: none; margin: var(--nw-s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--nw-s4); counter-reset: nw; }
.nw-steps li { counter-increment: nw; border-top: 2px solid var(--nw-ink); padding-top: var(--nw-s2); }
.nw-steps li::before { content: "0" counter(nw); display: block; font-family: var(--nw-display); font-weight: 800; font-size: 0.875rem; letter-spacing: 0.08em; color: var(--nw-signal-ink); margin-bottom: var(--nw-s1); }
.nw-steps b { display: block; font-family: var(--nw-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; margin-bottom: 6px; }
.nw-steps span { display: block; color: var(--nw-ink-2); font-size: 1rem; line-height: 1.55; }
@media (max-width: 781px) { .nw-steps { grid-template-columns: 1fr; gap: var(--nw-s3); } }

/* Sekcje opisu produktu */
.nw-desc img { border-radius: var(--nw-r-m); width: 100%; object-fit: cover; }
.nw-desc figure { margin: 0; }
.nw-specs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.nw-specs td { padding: 12px 0; border-bottom: 1px solid var(--nw-line); vertical-align: top; }
.nw-specs td:first-child { color: var(--nw-ink-2); width: 44%; padding-right: 16px; }
.nw-specs tr:first-child td { border-top: 1px solid var(--nw-line); }
.nw-specs.wp-block-table table { border-collapse: collapse; }
.nw-specs.wp-block-table td, .nw-specs.wp-block-table th { border: 0; border-bottom: 1px solid var(--nw-line); padding: 12px 0; }
.nw-specs.wp-block-table td:first-child { color: var(--nw-ink-2); width: 44%; padding-right: 16px; }

/* Pasek „Do koszyka” na telefonie */
.nw-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--nw-paper); border-top: 1px solid var(--nw-line); box-shadow: 0 -6px 18px rgba(20, 26, 34, 0.08); }
.nw-sticky.is-visible { display: flex; }
.nw-sticky__txt { font-family: var(--nw-display); font-weight: 700; line-height: 1.2; font-size: 0.9375rem; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nw-sticky__txt > span { display: block; font-family: var(--nw-body); font-weight: 600; font-size: 0.9375rem; color: var(--nw-ink); }
.nw-sticky a { background: var(--nw-signal); color: var(--nw-ink); border-radius: var(--nw-r-s); padding: 12px 20px; font-family: var(--nw-display); font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 48px; display: inline-flex; align-items: center; }
@media (min-width: 782px) { .nw-sticky { display: none !important; } }

/* ---------- Stopka ---------- */
.nw-footer a { color: var(--nw-on-night); text-decoration: none; }
.nw-footer a:hover { color: var(--nw-signal); }
.nw-footer__lead { color: var(--nw-on-night-2); max-width: 30em; margin-top: var(--nw-s2); }
.nw-footer__links { list-style: none; padding: 0; margin: 0; }
.nw-footer__links li { padding: 6px 0; }
.nw-footer__small { color: var(--nw-on-night-2); font-size: 0.875rem; border-top: 1px solid var(--nw-night-line); padding-top: var(--nw-s3); }

/* ---------- Koszyk i zamówienie (bloki WooCommerce) ---------- */
.wc-block-components-button:not(.is-link) { background: var(--nw-signal); color: var(--nw-ink); border-radius: var(--nw-r-s); font-family: var(--nw-display); font-weight: 700; min-height: 52px; }
.wc-block-components-button:not(.is-link):hover { background: var(--nw-signal-hover); color: var(--nw-ink); }
.wc-block-components-totals-item__label, .wc-block-components-product-name { font-weight: 600; }

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Strony tekstowe (regulamin, polityka) ---------- */
body.page-template-default .wp-block-post-content h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.25; margin-top: var(--nw-s6); }
body.page-template-default .wp-block-post-content :where(p, li) { font-size: 1.0625rem; }
body.page-template-default .wp-block-post-content li + li { margin-top: 6px; }

/* ---------- Baner cookies ---------- */
.nw-cookies { position: fixed; z-index: 100; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); background: var(--nw-paper); color: var(--nw-ink); border: 1px solid var(--nw-line); border-radius: var(--nw-r-m); box-shadow: 0 12px 32px rgba(20, 26, 34, 0.18); padding: 20px; }
.nw-cookies[hidden] { display: none; }
.nw-cookies p { margin: 0; }
.nw-cookies__t { font-family: var(--nw-display); font-weight: 700; font-size: 1.0625rem; margin-bottom: 6px !important; }
.nw-cookies__d { font-size: 0.9375rem; line-height: 1.5; color: var(--nw-ink-2); }
.nw-cookies__d a { color: var(--nw-signal-ink); }
.nw-cookies__b { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.nw-cookies__b button { flex: 1 1 140px; min-height: 46px; border-radius: var(--nw-r-s); font-family: var(--nw-display); font-weight: 700; font-size: 0.9375rem; cursor: pointer; transition: background-color var(--nw-fast) var(--nw-ease), color var(--nw-fast) var(--nw-ease); }
.nw-cookies__tak { background: var(--nw-signal); color: var(--nw-ink); border: 0; }
.nw-cookies__tak:hover { background: var(--nw-signal-hover); }
.nw-cookies__nie { background: transparent; color: var(--nw-ink); border: 1.5px solid var(--nw-ink); }
.nw-cookies__nie:hover { background: var(--nw-ink); color: var(--nw-paper); }
/* Telefon: wąski pasek na dole zamiast karty na pół ekranu. Nad paskiem zakupu, gdy ten jest widoczny. */
@media (max-width: 781px) {
	.nw-cookies { left: 0; right: 0; bottom: 0; width: auto; border-radius: 0; border-width: 1px 0 0; box-shadow: 0 -6px 18px rgba(20, 26, 34, 0.10); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
	.nw-cookies__t { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.nw-cookies__d { font-size: 0.8125rem; line-height: 1.4; }
	.nw-cookies__b { margin-top: 8px; gap: 8px; flex-wrap: nowrap; }
	.nw-cookies__b button { flex: 1 1 0; min-height: 40px; font-size: 0.875rem; }
	html.nw-sticky-on .nw-cookies { bottom: var(--nw-sticky-h, 69px); padding-bottom: 10px; border-bottom: 1px solid var(--nw-line); }
}

/* ---------- Rolki 9:16 na stronie (radio, strona główna) ---------- */
.nw-wideo { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: var(--nw-s3); justify-content: start; margin-top: var(--nw-s3); }
.nw-wideo .wp-block-video { margin: 0; }
.nw-wideo video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--nw-r-m); background: var(--nw-night); display: block; }
.nw-wideo figcaption { margin: 8px 0 0; font-size: 0.9375rem; line-height: 1.4; color: var(--nw-ink-2); text-align: left; }
@media (max-width: 600px) { .nw-wideo { grid-template-columns: minmax(0, 340px); justify-content: center; } }
