/* =========================================================================
   PRODEST – style główne
   ========================================================================= */

/* Fonty (lokalnie – bez Google Fonts) ------------------------------------- */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Zmienne ------------------------------------------------------------------ */
:root {
	--ink: #0e0e0e;
	--ink-2: #2b2b2b;
	--muted: #6a6a6a;
	--line: #e5e5e5;
	--soft: #f5f5f4;
	--paper: #ffffff;
	--red: #d0142c;
	--red-dark: #a80f22;

	--font-display: "Archivo", "Arial Black", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 1280px;
	--gutter: clamp(16px, 3vw, 32px);
	--radius: 2px;
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Podstawy ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main { flex: 1 0 auto; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

::selection { background: var(--red); color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000; padding: 10px 16px;
	background: var(--ink); color: #fff;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 760px; margin-inline: auto; }

.icon { width: 22px; height: 22px; flex: none; }

/* Przyciski ---------------------------------------------------------------- */
.button,
button.button,
input[type="submit"],
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	font-stretch: 105%;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.button:hover,
button.button:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.wp-block-button__link:hover { background: var(--red); border-color: var(--red); color: #fff; }

.button--ghost { background: transparent; color: var(--ink); }
.button--small { min-height: 38px; padding: 8px 14px; font-size: 11px; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	position: relative;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	transition: color .2s, background .2s;
}
.icon-btn:hover { color: var(--red); background: var(--soft); }
.site-header .icon-btn { color: #fff; }
.site-header .icon-btn:hover { color: #fff; background: rgba(255, 255, 255, .12); }

input[type="text"], input[type="email"], input[type="search"], input[type="tel"],
input[type="url"], input[type="password"], input[type="number"], textarea, select {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #cfcfcf;
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font: inherit;
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 1px var(--ink); }

/* Nagłówek ----------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(14, 14, 14, .97);
	backdrop-filter: saturate(1.4) blur(8px);
	color: #fff;
}
/* Czerwone ukośne cięcie z litery P – akcent na dolnej krawędzi nagłówka. */
.site-header::after {
	content: "";
	position: absolute;
	left: 0; bottom: -4px;
	width: clamp(120px, 22vw, 320px);
	height: 4px;
	background: var(--red);
	clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
	pointer-events: none;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.site-logo { margin: 0; line-height: 0; }
.site-logo a { display: inline-block; color: var(--ink); }
.site-logo a:hover { color: var(--ink); }
.site-header .site-logo a, .site-header .site-logo a:hover { color: #fff; }
.site-logo__svg svg, .site-logo__img { width: auto; }
.site-logo--header .site-logo__svg svg,
.site-logo--header .site-logo__img { height: 54px; }
.site-logo--header .site-logo__svg { display: block; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
	display: block;
	padding: 10px 14px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	font-stretch: 108%;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
	color: #fff;
}
.primary-nav a::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 4px;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--ease);
}
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after { transform: scaleX(1); }
.primary-nav .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 2px; }
.menu-toggle { display: none; }
.menu-toggle__close { display: none; }

.cart-link__count {
	position: absolute;
	top: 4px; right: 2px;
	min-width: 18px; height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}
.cart-link__count.is-empty { display: none; }

.header-search { border-top: 1px solid rgba(255, 255, 255, .14); padding: 16px 0; background: var(--ink-2); }
.header-search .search-form { display: flex; gap: 8px; }

/* Na stronie głównej logo jest na środku – w nagłówku je chowamy. */
.prodest-home .site-header .site-logo { visibility: hidden; }

@media (max-width: 860px) {
	.menu-toggle { display: inline-grid; }
	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		background: var(--ink);
		border-bottom: 1px solid rgba(255, 255, 255, .14);
		padding: 8px var(--gutter) 20px;
		display: none;
		/* Długie menu (dużo kategorii) przewija się w panelu. */
		max-height: calc(100vh - var(--header-h));
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.primary-nav.is-open { display: block; }
	html.nav-open { overflow: hidden; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
	.primary-nav a::after { left: 0; right: auto; width: 32px; bottom: -1px; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
	.header-actions { margin-left: auto; }
	.site-logo--header .site-logo__svg svg, .site-logo--header .site-logo__img { height: 44px; }
	.prodest-home .site-header .site-logo { display: none; }
}

/* Hasło z czerwonymi separatorami ------------------------------------------ */
.tagline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: .35em 1em;
	margin: 18px 0 0;
	font-family: var(--font-display);
	font-size: clamp(11px, 1.3vw, 14px);
	font-weight: 600;
	font-stretch: 115%;
	letter-spacing: .38em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.tagline > span:not(.tagline__sep) { margin-right: -.38em; } /* kompensacja letter-spacing */
.tagline__sep { color: var(--red); font-weight: 400; letter-spacing: 0; }

/* Strona główna ------------------------------------------------------------
   Motyw: ukośne cięcie z litery P w logo. Trzy panele-równoległoboki,
   najechany panel rozszerza się, czerwone cięcie przechodzi po krawędzi.
   ------------------------------------------------------------------------ */
.home-hero { padding: clamp(20px, 4vw, 48px) 0 clamp(28px, 4vw, 48px); text-align: center; }
.site-logo--home a { display: inline-block; }
.site-logo--home .site-logo__svg svg,
.site-logo--home .site-logo__img { width: clamp(210px, 26vw, 360px); height: auto; margin-inline: auto; }

.prodest-home .site-logo--home,
.prodest-home .home-hero .tagline { animation: pd-rise .8s var(--ease) both; }
.prodest-home .home-hero .tagline { animation-delay: .15s; }

.home-tiles { padding-bottom: clamp(36px, 5vw, 64px); }
.home-tiles__grid {
	--cut: clamp(48px, 6vw, 96px);
	--gap: 10px;
	display: flex;
	height: clamp(400px, 58vh, 600px);
}

.tile {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: block;
	margin-left: calc(var(--cut) * -1 + var(--gap));
	clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
	background:
		repeating-linear-gradient(-58deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 22px),
		radial-gradient(120% 90% at 50% 0%, #2a2a2a 0%, #000 72%);
	color: #fff;
	text-decoration: none;
	isolation: isolate;
	overflow: hidden;
	container-type: inline-size;
	transition: flex-grow .7s var(--ease);
	animation: pd-tile .9s var(--ease) both;
	animation-delay: calc(.25s + var(--i, 1) * .12s);
}
.tile:first-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }
.tile:last-child { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.tile:hover, .tile:focus-visible { color: #fff; }
.tile:focus-visible { outline: none; }

@media (hover: hover) and (min-width: 901px) {
	.home-tiles__grid:hover .tile { flex-grow: .82; }
	.home-tiles__grid .tile:hover,
	.home-tiles__grid .tile:focus-visible { flex-grow: 1.55; }
}

.tile__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.08) brightness(.6);
	transform: scale(1.04);
	transition: transform 1.2s var(--ease), filter .6s var(--ease);
	z-index: -2;
}
.tile--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .2) 40%, rgba(0, 0, 0, .86) 100%);
	z-index: -1;
}
.tile:hover .tile__bg,
.tile:focus-visible .tile__bg { transform: scale(1.1); filter: grayscale(1) contrast(1.15) brightness(.72); }

/* Czerwone cięcie wzdłuż prawej, ukośnej krawędzi */
.tile__slash {
	position: absolute;
	inset: 0;
	background: var(--red);
	clip-path: polygon(calc(100% - 14px) 0, 100% 0, calc(100% - var(--cut)) 100%, calc(100% - var(--cut) - 14px) 100%);
	transform: translateY(-101%);
	transition: transform .55s var(--ease);
	pointer-events: none;
}
.tile:last-child .tile__slash {
	clip-path: polygon(var(--cut) 0, calc(var(--cut) + 14px) 0, 14px 100%, 0 100%);
	transform: translateY(101%);
}
.tile:hover .tile__slash,
.tile:focus-visible .tile__slash { transform: none; }

.tile::after { content: none; }

.tile__body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	padding: clamp(22px, 2.6vw, 40px) calc(var(--cut) + 16px) clamp(24px, 2.8vw, 40px) clamp(22px, 2.4vw, 36px);
}
.tile:not(:first-child) .tile__body { padding-left: calc(var(--cut) * .55 + 20px); }
.tile:last-child .tile__body { padding-right: clamp(22px, 2.4vw, 36px); }

.tile__icon {
	position: absolute;
	top: clamp(22px, 2.6vw, 36px);
	right: calc(var(--cut) + 8px);
	color: #fff;
	opacity: .85;
	transition: transform .6s var(--ease), color .3s;
}
.tile:last-child .tile__icon { right: clamp(22px, 2.4vw, 36px); }
.tile__icon .icon { width: clamp(34px, 3.4vw, 48px); height: auto; stroke-width: 1.3; }
.tile:hover .tile__icon { transform: rotate(-12deg) scale(1.08); color: var(--red); opacity: 1; }

.tile__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, .86);
}
.tile__kicker::before {
	content: "";
	width: 22px;
	height: 3px;
	background: var(--red);
	transform: skewX(-35deg);
}

.tile__title {
	display: block;
	max-width: 11ch;
	font-family: var(--font-display);
	font-size: min(clamp(30px, 3.5vw, 58px), calc(var(--fit, 9) * 1cqi));
	font-weight: 900;
	font-stretch: 112%;
	line-height: .9;
	letter-spacing: -.02em;
	text-transform: uppercase;
	overflow-wrap: normal;
	hyphens: manual;
	text-wrap: balance;
	transition: transform .6s var(--ease);
}
.tile__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	padding: 11px 18px 11px 16px;
	background: #fff;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
	transition: background .3s, color .3s, gap .3s var(--ease);
}
.tile__cta .icon { width: 18px; height: 18px; color: var(--red); transition: color .3s; }
.tile:hover .tile__cta, .tile:focus-visible .tile__cta { background: var(--red); color: #fff; gap: 16px; }
.tile:hover .tile__cta .icon, .tile:focus-visible .tile__cta .icon { color: #fff; }

/* Pas z hasłem */
.home-band {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
	padding: clamp(26px, 3.4vw, 44px) 0;
	clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%);
	margin: clamp(8px, 2vw, 24px) 0 clamp(48px, 7vw, 96px);
}
.home-band__track {
	display: flex;
	width: max-content;
	animation: pd-marquee 38s linear infinite;
}
.home-band:hover .home-band__track { animation-play-state: paused; }
.home-band__set { display: flex; align-items: center; }
.home-band__word {
	font-family: var(--font-display);
	font-size: clamp(33px, 6.4vw, 91px);
	font-weight: 900;
	font-stretch: 125%;
	line-height: 1;
	letter-spacing: -.01em;
	text-transform: uppercase;
	padding: 0 .35em;
}
.home-band__word:nth-child(4n+3) {
	color: transparent;
	-webkit-text-stroke: 1.5px #fff;
}
.home-band__cut {
	width: clamp(18px, 2.2vw, 30px);
	height: clamp(40px, 6vw, 84px);
	background: var(--red);
	clip-path: polygon(62% 0, 100% 0, 38% 100%, 0 100%);
	flex: none;
}

.home-content { padding-bottom: 72px; }

@keyframes pd-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pd-tile { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes pd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 900px) {
	.home-tiles__grid {
		--cut: 34px;
		flex-direction: column;
		height: auto;
		gap: 0;
	}
	.tile,
	.tile:first-child,
	.tile:last-child {
		flex: none;
		height: clamp(250px, 66vw, 330px);
		margin-left: 0;
		margin-top: calc(var(--cut) * -1 + var(--gap));
		clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
	}
	.tile:first-child { margin-top: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
	.tile:last-child { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
	.tile__body,
	.tile:not(:first-child) .tile__body,
	.tile:last-child .tile__body { padding: calc(var(--cut) + 12px) 22px calc(var(--cut) + 12px); }
	.tile:last-child .tile__body { padding-bottom: 24px; }
	.tile:first-child .tile__body { padding-top: 22px; }
	.tile__icon, .tile:last-child .tile__icon { top: calc(var(--cut) + 4px); right: 22px; }
	.tile:first-child .tile__icon { top: 22px; }
	.tile__title { max-width: none; font-size: min(clamp(28px, 8vw, 40px), calc(var(--fit, 9) * 1.15cqi)); }
	.tile__cta { margin-top: 14px; }
	.tile__slash,
	.tile:last-child .tile__slash { clip-path: polygon(0 calc(100% - 6px), 100% calc(100% - var(--cut) - 6px), 100% calc(100% - var(--cut)), 0 100%); transform: none; opacity: 0; transition: opacity .3s; }
	.tile:hover .tile__slash { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.tile, .prodest-home .site-logo--home, .prodest-home .home-hero .tagline { animation: none; }
	.home-band__track { animation: none; }
}

/* Strony i wpisy ----------------------------------------------------------- */
.page-wrap { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-header { margin-bottom: clamp(20px, 3vw, 36px); }
.page-title {
	font-size: clamp(29px, 4.2vw, 51px);
	font-stretch: 108%;
	text-transform: uppercase;
	margin: 0;
}
.page-title::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	margin-top: 16px;
	background: var(--red);
}
.entry-meta { color: var(--muted); font-size: 13px; margin-top: 12px; }

.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 27px; margin-top: 1.6em; }
.entry-content h3 { font-size: 20px; margin-top: 1.4em; }
.entry-content a { color: var(--red); }
.entry-content blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 3px solid var(--red); font-size: 1.1em; }
.entry-thumb { margin: 0 0 32px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; }
.post-card__link { text-decoration: none; }
.post-card__img img { aspect-ratio: 3/2; object-fit: cover; width: 100%; margin-bottom: 14px; }
.post-card__title { font-size: 19px; }
.post-card__excerpt { color: var(--muted); font-size: 14px; }

.nav-links { display: flex; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.nav-links .page-numbers {
	min-width: 44px; height: 44px; display: inline-grid; place-items: center;
	padding: 0 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 600;
}
.nav-links .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

.error-404 { text-align: center; }
.error-404__code { font-family: var(--font-display); font-size: clamp(79px, 16vw, 179px); font-weight: 900; line-height: 1; margin: 0; color: var(--red); }
.error-404 .page-title::after { margin-inline: auto; }

/* Kontakt ------------------------------------------------------------------ */
.contact__card {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 56px);
	border: 1px solid var(--line);
	border-top: 4px solid var(--red);
	text-align: center;
}
.site-logo--contact .site-logo__svg svg,
.site-logo--contact .site-logo__img { width: 180px; height: auto; margin-inline: auto; }
.contact__list {
	list-style: none;
	margin: 36px 0 0;
	padding: 0;
	display: grid;
	gap: 18px;
	text-align: left;
	justify-content: center;
}
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.contact__list .icon { color: var(--red); margin-top: 3px; }
.contact__list a { text-decoration: none; font-weight: 600; }
.contact__content { margin-top: 48px; }

/* Stopka ------------------------------------------------------------------- */
.site-footer {
	background: var(--ink);
	color: #fff;
	padding-top: 28px;
}
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0 0 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 0;
}
.footer-links li { display: flex; align-items: center; }
.footer-links li + li::before {
	content: "";
	width: 5px; height: 5px;
	margin: 0 18px;
	background: var(--red);
	transform: rotate(45deg);
}
.site-footer a { color: #fff; }
.footer-links a {
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 600;
	font-stretch: 108%;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 8px 0;
}
.footer-links a:hover { color: var(--red); }
.site-footer__bottom {
	border-top: 1px solid var(--red);
	padding: 18px 0 22px;
	text-align: center;
	font-size: 12px;
	color: #9a9a9a;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 24px;
	position: relative;
}

/* Kod QR wizytówki „Kto za tym stoi” (pasek na stronie Kontakt) */
.person__qr svg { display: block; width: 100%; height: auto; }
@media (min-width: 641px) {
	.site-footer__bottom { justify-content: space-between; }
}

@media (max-width: 640px) {
	.footer-links { flex-direction: column; align-items: center; }
	.footer-links li + li::before { display: none; }
}

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

/* =========================================================================
   Gradienty (1.6) – tylko kolory marki: czerwień, czerń, biel i szarości.
   Sam dodatek do stylu 1.5; usunięcie tego bloku przywraca płaskie kolory.
   ========================================================================= */
:root {
	--grad-red: linear-gradient(120deg, #d0142c 0%, #8f0c1e 100%);
	--glow-red: rgba(208, 20, 44, .38);
}

/* Miękkie plamy u góry strony (czerwień i szarość, bardzo jasne) */
body { position: relative; overflow-x: clip; }
body::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: min(900px, 120vh);
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(36% 46% at 88% 6%, rgba(208, 20, 44, .12), transparent 72%),
		radial-gradient(40% 50% at 4% 12%, rgba(14, 14, 14, .07), transparent 72%);
	filter: blur(24px);
}

/* Nagłówek: czerń przechodząca w głęboką czerwień po prawej */
.site-header {
	background:
		linear-gradient(100deg, rgba(14, 14, 14, .97) 0%, rgba(14, 14, 14, .97) 50%, rgba(66, 9, 20, .97) 100%);
}
.site-header::after { background: linear-gradient(90deg, var(--red), rgba(208, 20, 44, 0)); width: clamp(160px, 30vw, 420px); }
.cart-link__count { background: var(--grad-red); }

/* Przyciski: po najechaniu czerwony gradient */
.button:hover,
button.button:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.wp-block-button__link:hover { background: var(--grad-red); border-color: var(--red-dark); }
.page-title::after { background: linear-gradient(90deg, var(--red), #8f0c1e); }

/* Kafelki strony głównej: czerwona poświata w rogu, mocniejsza po najechaniu */
.tile { --gx: 0%; --gy: 100%; }
.tile:nth-child(2) { --gx: 100%; --gy: 0%; }
.tile:nth-child(3) { --gx: 100%; --gy: 100%; }
.tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: radial-gradient(90% 72% at var(--gx) var(--gy), rgba(208, 20, 44, .7), rgba(208, 20, 44, .18) 45%, transparent 75%);
	opacity: 0;
	transform: scale(1.15);
	transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.tile:hover::after, .tile:focus-visible::after { opacity: 1; transform: none; }
.tile:hover .tile__cta, .tile:focus-visible .tile__cta { background: var(--grad-red); }

/* Pas z hasłem */
.home-band { background: linear-gradient(90deg, #0e0e0e 0%, #2b0a12 50%, #0e0e0e 100%); }

/* Stopka */
.site-footer { background: radial-gradient(60% 140% at 92% 0%, rgba(208, 20, 44, .32), transparent 65%), var(--ink); }

/* Stopka – rozbudowana, ale stonowana (1.6) ------------------------------------- */
.site-footer { padding-top: clamp(40px, 5vw, 64px); }
.site-footer__cols {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: clamp(28px, 4vw, 64px);
	padding-bottom: clamp(32px, 4vw, 52px);
}
.fcol { min-width: 0; }
.site-logo--footer .site-logo__svg svg, .site-logo--footer .site-logo__img { height: 56px; width: auto; }
.site-footer .site-logo a, .site-footer .site-logo a:hover { color: #fff; }
.fcol__about { margin: 16px 0 0; max-width: 30ch; color: #a8a8a8; font-size: 13.5px; line-height: 1.55; }
.fcol__title {
	margin: 0 0 16px;
	font-family: var(--font-display);
	font-size: 11px; font-weight: 700; font-stretch: 105%;
	letter-spacing: .16em; text-transform: uppercase;
	color: #fff;
}
.fcol__title::after { content: ""; display: block; width: 22px; height: 2px; margin-top: 10px; background: linear-gradient(90deg, var(--red), rgba(208, 20, 44, 0)); }
.fcol__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fcol__list a, .fcol__contact a { color: #c9c9c9; text-decoration: none; font-size: 13.5px; transition: color .2s; }
.fcol__list a:hover, .fcol__contact a:hover { color: #fff; }
.fcol__contact { display: flex; flex-direction: column; gap: 9px; font-style: normal; font-size: 13.5px; color: #c9c9c9; line-height: 1.5; }

.site-footer__bottom { justify-content: space-between; gap: 12px 28px; text-align: left; }
.site-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer__pay li { padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .18); font-size: 11.5px; letter-spacing: .05em; color: #b8b8b8; }

@media (max-width: 900px) {
	.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fcol--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.site-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   Poprawki z audytu (1.8.1)
   ========================================================================= */
/* Fokus nie chowa się pod przyklejonym nagłówkiem i paskiem zakupu */
html { scroll-padding-top: calc(var(--header-h) + 16px); scroll-padding-bottom: 96px; }

/* Pauza animowanego hasła */
.home-band.is-paused .home-band__track { animation-play-state: paused; }
.home-band__pause {
	position: absolute; right: clamp(12px, 3vw, 28px); top: 50%; transform: translateY(-50%);
	display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
	border: 1px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; z-index: 2;
}
.home-band__pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-band__pause .play { display: none; fill: currentColor; }
.home-band__pause[aria-pressed="true"] .pause { display: none; }
.home-band__pause[aria-pressed="true"] .play { display: block; }
.home-band__pause:hover { background: var(--ink); color: #fff; }

/* Wizytówka w stopce na wąskich ekranach: nie wychodzi poza ekran */
@media (max-width: 560px) {
}

/* Komentarze (wpisy zwykłe) */
.comments { margin-top: 56px; }
.comments__title { font-size: 21px; }
.comments__list { padding-left: 1.2em; }

/* Formularz odstąpienia od umowy */
.withdrawal__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.withdrawal__form-wrap {
	padding: 24px; border: 1px solid rgba(14, 14, 14, .08); border-radius: 14px;
	background: radial-gradient(70% 90% at 100% 0%, rgba(208, 20, 44, .1), transparent 72%), #f6f5f4;
}
.withdrawal__form p { margin: 0 0 16px; }
.withdrawal__form label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; }
.withdrawal__agree label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; }
.withdrawal__agree input { width: auto; min-height: 0; margin-top: 3px; }
.withdrawal__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.withdrawal__error { margin: 0 0 16px; padding: 12px 14px; background: rgba(208, 20, 44, .1); color: var(--red-dark); font-weight: 600; }
.withdrawal__ok { padding: 18px 20px; background: rgba(27, 138, 58, .1); color: #17702f; }
.withdrawal__ok p { margin: 6px 0 0; color: var(--ink-2); }
.withdrawal__help { display: block; margin-top: 6px; color: var(--ink-2); font-size: 12px; line-height: 1.4; }
@media (max-width: 860px) { .withdrawal__grid { grid-template-columns: minmax(0, 1fr); } }

/* Stopka: logotypy InPost i Paynow zamiast tekstowych etykiet (1.8.3) */
.site-footer__partners { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-footer__partners li { display: flex; align-items: center; }
.site-footer__partners img { width: auto; height: 34px; max-width: none; opacity: .92; transition: opacity .25s; }
.site-footer__partners li:last-child img { height: 20px; }
.site-footer__partners img:hover { opacity: 1; }
.site-footer__partners img { opacity: .42; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.site-footer__partners img:hover { opacity: .85; filter: none; }

/* =========================================================================
   Pasek „Kto za tym stoi” na dole strony głównej (1.9)
   Dyskretny: przygaszony, szary, ożywa po najechaniu.
   ========================================================================= */
.person-strip { padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); }
.person-strip__inner {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
	gap: 18px 22px;
	padding-top: clamp(22px, 3vw, 32px);
	border-top: 1px solid var(--line);
	position: relative;
}
.person-strip__inner::before {
	content: ""; position: absolute; left: 50%; top: -1px; width: 90px; height: 1px; transform: translateX(-50%);
	background: linear-gradient(90deg, rgba(208, 20, 44, 0), var(--red), rgba(208, 20, 44, 0));
}
.person-strip:hover .person-strip__inner, .person-strip:focus-within .person-strip__inner { opacity: 1; }

.person-strip__photo {
	flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
	filter: grayscale(1); transition: filter .4s var(--ease);
}
.person-strip__photo--initials {
	display: grid; place-items: center; background: var(--soft); color: var(--ink-2);
	border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em;
}
.person-strip:hover .person-strip__photo { filter: none; }

.person-strip__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; text-align: left; }
.person-strip__label { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.person-strip__name { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.person-strip__name:hover { color: var(--red); }
.person-strip__role { font-size: 12px; color: var(--muted); }

.person-strip__qr-link { flex: none; display: block; width: 76px; padding: 4px; background: #fff; border: 1px solid var(--line); filter: grayscale(1); transition: filter .4s, border-color .3s; }
.person-strip__qr-link:hover { border-color: var(--ink); filter: none; }
.person-strip__qr { display: block; width: 100%; aspect-ratio: 1; }
.person-strip__qr svg { display: block; width: 100%; height: auto; }

@media (max-width: 520px) {
	.person-strip__inner { justify-content: flex-start; }
	.person-strip__text { flex: 1; }
}
.home-band + .person-strip { margin-top: calc(-1 * clamp(24px, 4vw, 56px)); }

/* „Twarz marki” – ta sama dyskretność, ale z osobowością: zdjęcie w obwódce, jedno zdanie, link „Obserwuj” (1.9.1) */
.person-strip__inner { gap: 20px 28px; }
.person-strip__avatar {
	position: relative; flex: none; width: 84px; height: 84px; padding: 3px; border-radius: 50%;
	background: conic-gradient(from 200deg, var(--red), #8f0c1e 35%, var(--ink) 70%, var(--red));
	box-shadow: 0 16px 28px -18px rgba(0, 0, 0, .6);
	transition: transform .5s var(--ease);
}
.person-strip:hover .person-strip__avatar { transform: scale(1.04) rotate(-2deg); }
.person-strip__photo { display: block; width: 100%; height: 100%; border: 3px solid #fff; filter: none; }
.person-strip__photo--initials { font-size: 21px; background: linear-gradient(160deg, #f4f3f1, #e4e2df); border-width: 3px; }
.person-strip__name { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); line-height: 1.15; }
.person-strip__bio { display: block; max-width: 36ch; margin-top: 5px; font-size: 11.5px; font-style: italic; line-height: 1.45; color: var(--ink-2); }
.person-strip__follow {
	display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 9px; padding-bottom: 1px;
	font-size: 11.5px; font-weight: 600; text-decoration: none; color: var(--ink);
	border-bottom: 1px solid rgba(14, 14, 14, .25); transition: color .2s, border-color .2s;
}
.person-strip__follow svg { width: 15px; height: 15px; }
.person-strip__follow:hover { color: var(--red); border-bottom-color: var(--red); }
.person-strip__qr-link { width: 68px; filter: grayscale(1); opacity: .75; }
.person-strip:hover .person-strip__qr-link { filter: none; opacity: 1; }
@media (max-width: 520px) {
	.person-strip__avatar { width: 72px; height: 72px; }
	.person-strip__qr-link { display: none; } /* na telefonie kod QR nie ma sensu – jest link „Obserwuj” */
}
.person-strip__avatar .person-strip__photo--initials { display: grid; place-items: center; border-radius: 50%; }
.person-strip__avatar img.person-strip__photo { border-radius: 50%; object-fit: cover; }

/* Podpis wykonawcy w stopce – delikatny */
.site-footer__credit { margin-left: 6px; color: #6f6f6f; font-size: 11px; }
.site-footer__credit a { color: #8d8d8d; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .15); transition: color .2s, border-color .2s; }
.site-footer__credit a:hover { color: #fff; border-bottom-color: var(--red); }

/* Podpis wykonawcy: mała „zakładka” na czerwonej linii stopki, po prawej (1.11) */
.site-footer .site-footer__credit { position: absolute; top: 0; right: 0; transform: translateY(-50%); margin: 0; padding: 0 0 0 12px; background: #0e0e0e; font-size: 10.5px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: #9a9a9a; }
.site-footer .site-footer__credit a { color: #b8b8b8; border-bottom: 0; }
.site-footer .site-footer__credit a:hover { color: #fff; }
@media (max-width: 560px) {
	.site-footer .site-footer__credit { position: static; transform: none; padding: 0; order: 3; }
}
.fcol__contact strong { color: #fff; font-weight: 600; }

/* Wyszukiwarka z podpowiedziami (1.12) ---------------------------------------- */
.header-search { padding: 18px 0 20px; background: linear-gradient(180deg, #151515, #0e0e0e); }
.header-search__inner { position: relative; }
.header-search .search-form { display: flex; align-items: stretch; gap: 10px; }
.search-box { position: relative; flex: 1; min-width: 0; }
.search-box > .icon { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: #8c8c8c; pointer-events: none; }
body .header-search .search-field {
	min-height: 54px; padding: 12px 46px 12px 48px; font-size: 15px; border-color: transparent !important; border-radius: 12px !important; background: #fff;
}
body .header-search .search-field:focus { border-color: transparent !important; box-shadow: 0 0 0 3px rgba(208, 20, 44, .5) !important; }
.search-field::-webkit-search-cancel-button { display: none; }
.search-box__clear { position: absolute; right: 8px; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #6a6a6a; cursor: pointer; }
.search-box__clear[hidden] { display: none; }
.search-box__clear:hover { background: #f0efee; color: var(--ink); }
.search-box__clear .icon { width: 16px; height: 16px; }
.header-search .search-form .button { min-height: 54px; padding: 0 28px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #d0142c, #8a0c1d); color: #fff; }
.header-search .search-form .button:hover { filter: brightness(1.1); }

.live-search {
	position: absolute; z-index: 60; left: var(--gutter, 16px); right: var(--gutter, 16px); top: calc(100% - 6px);
	max-height: min(72vh, 560px); overflow: auto; overscroll-behavior: contain;
	border-radius: 14px; border-top: 3px solid var(--red); background: #fff; color: var(--ink);
	box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
	animation: live-in .18s ease-out;
}
.live-search[hidden] { display: none; }
.live-search.is-loading { opacity: .6; transition: opacity .15s; }
@keyframes live-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.live-search__list { margin: 0; padding: 6px 0; list-style: none; }
.live-search__item {
	position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px;
	padding: 10px 18px; color: var(--ink); text-decoration: none; transition: background .15s;
}
.live-search__item:hover, .live-search__item.is-active { background: #f6f5f4; color: var(--ink); }
.live-search__item.is-active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.live-search__thumb { display: block; width: 46px; height: 64px; overflow: hidden; border-radius: 4px; background: #eceae8; }
.live-search__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.live-search__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.live-search__title { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-search__author { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-search__price { font-weight: 700; font-size: 13.5px; white-space: nowrap; text-align: right; }
.live-search__price del { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.live-search__price ins { text-decoration: none; color: var(--red); }
.live-search__all {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-top: 1px solid var(--line);
	background: #faf9f8; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	transition: background .2s, color .2s;
}
.live-search__all .icon { width: 18px; height: 18px; }
.live-search__all:hover, .live-search__all.is-active { background: linear-gradient(135deg, #d0142c, #7a0a1a); color: #fff; }
.live-search__empty { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; }
.live-search__empty span { color: var(--muted); font-size: 13px; }
.live-search__empty a { align-self: flex-start; margin-top: 6px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--red); text-decoration: none; }
@media (max-width: 560px) {
	.header-search .search-form .button { padding: 0 18px; }
	.live-search { left: 0; right: 0; border-radius: 0 0 14px 14px; max-height: calc(100vh - 170px); }
	.live-search__item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 10px 14px; }
	.live-search__thumb { width: 40px; height: 56px; }
}

/* Nagłówek: delikatne dopracowanie menu + koszyk z kwotą (1.12) ------------------ */
.primary-nav .menu { gap: 2px; }
.primary-nav a { padding: 10px 15px; font-size: 11.5px; letter-spacing: .1em; color: rgba(255, 255, 255, .78); transition: color .2s; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: #fff; }
.primary-nav a::after { left: 15px; right: 15px; bottom: 2px; height: 3px; clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%); background: linear-gradient(90deg, #d0142c, #8f0c1e); }
@media (min-width: 861px) {
	.header-actions { gap: 4px; margin-left: 6px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .16); }
}
.site-header .icon-btn { width: 42px; height: 42px; }

.site-header .cart-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto; min-width: 42px; }
.cart-link__icon { position: relative; display: grid; place-items: center; width: 24px; height: 24px; }
.cart-link__icon .icon { width: 22px; height: 22px; }
.cart-link__icon .cart-link__count { top: -8px; right: -10px; }
.site-header .cart-link.has-items {
	height: 42px; padding: 0 16px 0 13px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.site-header .cart-link.has-items:hover { background: linear-gradient(135deg, #d0142c, #7a0a1a); box-shadow: none; }
.cart-link__total { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.cart-link__total .woocommerce-Price-currencySymbol { font-weight: 500; opacity: .8; }
@media (max-width: 480px) {
	.site-header .cart-link.has-items { padding: 0 11px 0 9px; gap: 7px; }
	.cart-link__total { font-size: 11.5px; }
	.site-header__inner { gap: 10px; }
	.site-header .icon-btn { width: 38px; height: 38px; }
}
.site-header .cart-link, .site-header .cart-link:hover { text-decoration: none; color: #fff; }
.site-header .cart-link { flex: 0 0 auto; }
@media (max-width: 480px) {
	.site-header .cart-link { width: auto; height: 38px; min-width: 38px; }
	.site-header .cart-link.has-items { height: 38px; }
}

/* Nagłówek: ukośne, ostre kształty zamiast zaokrągleń (1.12) ---------------------- */
.site-header .icon-btn { border-radius: 0; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.site-header .cart-link.has-items {
	border-radius: 0; box-shadow: none; background: rgba(255, 255, 255, .12);
	padding: 0 20px 0 17px;
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.site-header .cart-link.has-items:hover { background: linear-gradient(135deg, #d0142c, #7a0a1a); }
.cart-link__count { border-radius: 0; clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); min-width: 20px; padding: 0 6px; }
.cart-link__icon .cart-link__count { top: -9px; right: -12px; }
@media (max-width: 480px) {
	.site-header .cart-link.has-items { padding: 0 14px 0 12px; }
}
.site-header .cart-link__icon .cart-link__count { top: -6px; right: -12px; }

/* Pola formularzy na telefonie zostają 16 px – inaczej iOS powiększa stronę przy kliknięciu */
@media (max-width: 760px) {
	body input[type="text"], body input[type="email"], body input[type="search"], body input[type="tel"], body input[type="url"],
	body input[type="password"], body input[type="number"], body textarea, body select { font-size: 16px; }
}

/* Nagłówek w stylu „clean”: logo po lewej, menu na środku, narzędzia po prawej (1.12) */
@media (min-width: 861px) {
	.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
	.site-header .primary-nav { margin: 0; }
	.site-header .header-actions { justify-self: end; margin-left: 0; padding-left: 0; border-left: 0; gap: 6px; }
	.site-logo--header .site-logo__svg svg, .site-logo--header .site-logo__img { height: 46px; }
}
.primary-nav .menu { gap: 6px; }
.primary-nav a {
	padding: 10px 14px; font-family: var(--font-body); font-size: 14px; font-weight: 500; font-stretch: 100%;
	letter-spacing: .01em; text-transform: none; color: rgba(255, 255, 255, .82);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .menu-item-has-children:hover > a { color: #fff; }
.primary-nav a::after { left: 14px; right: 14px; bottom: 3px; height: 2px; clip-path: none; background: #fff; opacity: .9; }
.primary-nav .current-menu-item > a::after, .primary-nav .current_page_item > a::after { background: var(--red); height: 2px; }
.primary-nav a .icon { width: 14px; height: 14px; margin: 0 0 -2px 5px; transition: transform .25s var(--ease); }
.primary-nav .menu-item-has-children:hover > a .icon, .primary-nav .menu-item-has-children:focus-within > a .icon { transform: rotate(180deg); }

/* Rozwijane menu Sklep */
.primary-nav .menu-item-has-children { position: relative; }
.mega { position: absolute; z-index: 70; top: 100%; left: 50%; display: none; padding-top: 12px; transform: translateX(-50%); }
.menu-item-has-children:hover > .mega, .menu-item-has-children:focus-within > .mega { display: block; animation: live-in .18s ease-out; }
.mega__inner { display: flex; gap: 56px; min-width: 340px; padding: 26px 34px 28px; border-top: 3px solid var(--red); background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.mega__col { min-width: 150px; }
.mega__title { display: block; margin: 0 0 12px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mega ul { margin: 0; padding: 0; list-style: none; }
.mega a, .primary-nav .mega a { display: flex; justify-content: space-between; gap: 22px; padding: 7px 0; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.mega a::after { display: none; }
.mega a span { color: var(--muted); font-size: 12px; }
.mega a:hover, .primary-nav .mega a:hover { color: var(--red); }

/* Przycisk wyszukiwania jak pole */
@media (min-width: 861px) {
	.site-header .search-toggle { width: auto; min-width: 150px; height: 38px; padding: 0 10px 0 14px; justify-content: flex-start; gap: 9px; display: inline-flex; align-items: center; background: rgba(255, 255, 255, .09); }
	.site-header .search-toggle:hover { background: rgba(255, 255, 255, .16); }
	.search-toggle .icon { width: 17px; height: 17px; }
	.search-toggle__label { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
	.search-toggle__key { margin-left: auto; padding: 1px 7px; font: inherit; font-size: 11px; color: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .25); }
}
.search-toggle__label, .search-toggle__key { display: none; }
@media (min-width: 861px) { .search-toggle__label, .search-toggle__key { display: inline; } }

@media (max-width: 860px) {
	.mega { position: static; display: block; padding: 0; transform: none; }
	.mega__inner { flex-direction: column; gap: 0; min-width: 0; padding: 0 0 6px 14px; border: 0; background: transparent; color: #fff; box-shadow: none; }
	.mega__col:last-child, .mega__title { display: none; }
	.mega a, .primary-nav .mega a { padding: 11px 0; font-size: 15px; color: rgba(255, 255, 255, .78); border-bottom: 0; }
	.mega a span { color: rgba(255, 255, 255, .5); }
	.primary-nav a .icon { display: none; }
}
@media (min-width: 861px) {
	.primary-nav a .icon { display: inline-block; vertical-align: middle; margin: -2px 0 0 4px; }
}

/* Menu: pełnoszerokie rozwijane „Sklep” i spokojny prawy róg (1.12) -------------- */
@media (min-width: 861px) {
	.site-header .primary-nav { align-self: stretch; }
	.site-header .primary-nav .menu { height: 100%; align-items: stretch; }
	.site-header .primary-nav .menu > li { display: flex; align-items: center; }
	.primary-nav .menu-item-has-children { position: static; }
	.mega { left: 0; right: 0; top: 100%; transform: none; padding: 0; background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .22); }
	.mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(32px, 6vw, 96px); min-width: 0; padding: 34px var(--gutter) 40px; border: 0; background: transparent; box-shadow: none; }
	.mega__col { min-width: 0; }
	.mega__col--cats ul { columns: 3; column-gap: 40px; }
	.mega__col--cats li { break-inside: avoid; }
	.mega__col--links { padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line); }
	.mega__title { margin-bottom: 14px; font-size: 11px; letter-spacing: .16em; color: var(--muted); }
	.mega a, .primary-nav .mega a { display: block; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--ink); }
	.mega a:hover, .primary-nav .mega a:hover { color: var(--red); }
}

/* Prawa strona: trzy równe, płaskie przyciski – bez pigułek i pól */
.site-header .icon-btn, .site-header .cart-link.has-items, .site-header .search-toggle { clip-path: none; border-radius: 0; background: transparent; box-shadow: none; }
.site-header .icon-btn:hover, .site-header .cart-link.has-items:hover, .site-header .search-toggle:hover { background: transparent; color: #fff; }
.site-header .header-actions .icon-btn { opacity: .86; transition: opacity .2s; }
.site-header .header-actions .icon-btn:hover { opacity: 1; }
.site-header .search-toggle { min-width: 42px; width: 42px; padding: 0; justify-content: center; }
.search-toggle__label, .search-toggle__key { display: none !important; }
.site-header .cart-link.has-items { height: 42px; padding: 0 6px 0 4px; gap: 8px; }
.cart-link__total { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.cart-link__count, .cart-link__icon .cart-link__count { clip-path: none; border-radius: 2px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10.5px; line-height: 16px; background: var(--red); }
.site-header .cart-link__icon .cart-link__count { top: -6px; right: -9px; }

/* Wyszukiwarka: biały panel na całą szerokość, wyniki jako karty (1.12) ------------ */
.header-search { position: absolute; z-index: 65; left: 0; right: 0; top: 100%; padding: 0; border: 0; background: transparent; }
.header-search[hidden] { display: none; }
.header-search::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(14, 14, 14, .5); animation: live-in .2s ease-out; }
.header-search__panel { position: relative; z-index: 1; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain; background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); animation: live-in .2s ease-out; }
.header-search__inner { padding-top: 26px; padding-bottom: 34px; }
.header-search .search-form { display: flex; align-items: center; gap: 14px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); transition: border-color .2s; }
.header-search .search-form:focus-within { border-bottom-color: var(--red); }
.header-search .search-box { flex: 1; }
.search-box > .icon { left: 0; width: 24px; height: 24px; color: var(--ink); }
body .header-search .search-field, body .header-search .search-field:focus {
	min-height: 52px; padding: 8px 40px 8px 40px; font-size: 22px; font-weight: 500; letter-spacing: -.01em;
	border: 0 !important; border-radius: 0 !important; background: transparent; box-shadow: none !important; color: var(--ink);
}
.header-search .search-field::placeholder { color: #9b9895; font-weight: 400; }
.search-box__clear { right: 0; }
.header-search .search-form .button.search-submit { min-height: 44px; padding: 0 26px; border: 0; border-radius: 0; background: var(--ink); color: #fff; }
.header-search .search-form .button.search-submit:hover { background: linear-gradient(135deg, #d0142c, #7a0a1a); filter: none; }
.search-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.search-close:hover { color: var(--red); }
.search-close .icon { width: 22px; height: 22px; }

/* Podpowiedzi przed wpisaniem */
.search-hints { padding-top: 26px; }
.header-search.has-results .search-hints { display: none; }
.search-hints__title { display: block; margin-bottom: 14px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.search-hints ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.search-hints a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.search-hints a:hover { border-color: var(--ink); background: #f6f5f4; }
.search-hints a.is-accent { border-color: rgba(208, 20, 44, .45); color: var(--red); }

/* Wyniki: karty z okładkami */
.header-search .live-search { position: static; max-height: none; overflow: visible; margin-top: 26px; border: 0; border-radius: 0; box-shadow: none; background: transparent; animation: none; }
.header-search .live-search__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 22px; padding: 0; }
.header-search .live-search__item { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0; background: transparent; }
.header-search .live-search__item:hover, .header-search .live-search__item.is-active { background: transparent; }
.header-search .live-search__item.is-active::before { content: none; }
.header-search .live-search__thumb { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 0; background: #eeedeb; display: block; overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.header-search .live-search__item:hover .live-search__thumb, .header-search .live-search__item.is-active .live-search__thumb { outline-color: var(--red); }
.header-search .live-search__thumb img { width: 100%; height: 100%; object-fit: cover; }
.header-search .live-search__text { gap: 2px; }
.header-search .live-search__title { font-size: 14px; }
.header-search .live-search__price { text-align: left; font-size: 14px; }
.header-search .live-search__price del { display: inline; margin-right: 6px; }
.header-search .live-search__all { margin-top: 26px; padding: 0 0 4px; border: 0; background: transparent; display: inline-flex; width: auto; gap: 10px; color: var(--ink); border-bottom: 2px solid var(--ink); }
.header-search .live-search__all:hover, .header-search .live-search__all.is-active { background: transparent; color: var(--red); border-bottom-color: var(--red); }
.header-search .live-search__empty { padding: 4px 0; }

@media (max-width: 860px) {
	.header-search__panel { max-height: calc(100vh - var(--header-h)); }
	.header-search__inner { padding-top: 14px; padding-bottom: 26px; }
	body .header-search .search-field, body .header-search .search-field:focus { font-size: 18px; min-height: 46px; }
	.header-search .search-form .button.search-submit { display: none; }
	.header-search .live-search__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
}
.header-search .live-search__price { display: block; width: 100%; text-align: left; white-space: normal; }
.header-search .live-search__price * { text-align: left; }
.header-search .live-search__price ins { display: inline; }
.site-footer__legal { margin-left: 14px; color: #8d8d8d; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .15); transition: color .2s, border-color .2s; }
.site-footer__legal:hover { color: #fff; border-bottom-color: var(--red); }

/* Rozwijane menu: wyróżniony przycisk „Pokaż pełną ofertę” */
.primary-nav .mega a.mega__cta, .mega a.mega__cta {
	display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 22px; padding: 16px 20px;
	background: linear-gradient(135deg, #d0142c, #7a0a1a); color: #fff; text-decoration: none;
	font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
	transition: filter .2s, transform .2s var(--ease);
}
.primary-nav .mega a.mega__cta:hover, .mega a.mega__cta:hover { color: #fff; filter: brightness(1.12); transform: translateX(3px); }
.mega a.mega__cta .icon { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; display: block; }
.mega a.mega__cta::after { display: none; }
@media (max-width: 860px) {
	.mega .mega__col:last-child { display: block; }
	.mega .mega__col--links .mega__title, .mega .mega__col--links ul { display: none; }
	.mega a.mega__cta { margin: 6px 0 10px; padding: 13px 16px; }
}
.mega a.mega__cta, .mega a.mega__cta span, .mega a.mega__cta:hover, .mega a.mega__cta .icon { color: #fff !important; }
@media (min-width: 861px) {
	.mega__inner { grid-template-columns: minmax(0, 1fr) 300px; }
	.mega a.mega__cta { letter-spacing: .07em; padding: 16px 18px; }
}

/* Nagłówek chowany przy przewijaniu w dół (1.12) */
.site-header { transition: transform .32s var(--ease); will-change: transform; }
.site-header.is-hidden { transform: translateY(calc(-100% - 48px)); }
.site-header.is-hidden .mega { display: none !important; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
/* Elementy przyklejone pod nagłówkiem podjeżdżają do góry, gdy go nie ma */
.book-single__cover, .shop-filters { transition: top .32s var(--ease); }
.header-hidden .book-single__cover { top: 24px; }
.header-hidden.admin-bar .book-single__cover, .header-hidden .admin-bar .book-single__cover { top: 56px; }
.header-hidden .shop-filters { top: 20px; }
