:root {
	--zcs-paper: #F0F3F6;
	--zcs-ink: #0B1220;
	--zcs-steel: #3D4F63;
	--zcs-line: #B8C4D0;
	--zcs-copper: #C44E03;
	--zcs-copper-dark: #9A3C02;
	--zcs-teal: #0A5C5F;
	--zcs-white: #FFFFFF;
	--zcs-on-ink: #F5F7FA;
	--zcs-max: 1120px;
}

/* WCAG 2.1 AA â€” force dark text on light surfaces (beat theme/Class Manager) */
html body,
html body .site,
html body .site-content,
html body .entry-content,
html body #content,
html body #primary,
html body .wp-site-blocks {
	font-family: "IBM Plex Sans", system-ui, sans-serif !important;
	color: var(--zcs-ink) !important;
	background-color: var(--zcs-white);
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .zcs-display,
html body .entry-content h1,
html body .entry-content h2,
html body .entry-content h3,
html body .entry-content h4,
html body .zcs-hero h1,
html body .zcs-page-hero h1,
html body .zcs-card h3,
html body .zcs-step h3,
html body .zcs-faq summary,
html body .zcs-contact h1,
html body .zcs-section h2,
html body .zcs-trust span,
html body .wp-block-heading {
	font-family: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif !important;
	letter-spacing: -0.02em;
	color: var(--zcs-ink) !important;
}

html body .entry-content p,
html body .zcs-hero .zcs-lead,
html body .zcs-page-hero .zcs-lead,
html body .zcs-card p,
html body .zcs-step p,
html body .zcs-faq p,
html body .zcs-soft p {
	color: var(--zcs-steel) !important;
}

html body .zcs-mono,
html body .zcs-label {
	font-family: "IBM Plex Mono", ui-monospace, monospace !important;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--zcs-steel) !important;
}

/* Site header (custom theme / fallback) */
.zcs-site-header {
	border-bottom: 1px solid var(--zcs-line);
	background: var(--zcs-white);
}
.zcs-site-header__inner {
	max-width: var(--zcs-max);
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.zcs-site-header .custom-logo-link img,
.zcs-site-header .custom-logo {
	max-height: 48px;
	width: auto;
}
.zcs-site-header .site-title a {
	font-family: "Bricolage Grotesque", sans-serif;
	font-weight: 800;
	color: var(--zcs-ink) !important;
	text-decoration: none;
	font-size: 1.1rem;
}
.zcs-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.15rem 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.zcs-nav a {
	color: var(--zcs-ink) !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.45rem 0.65rem;
}
.zcs-nav a:hover { color: var(--zcs-copper) !important; }
.zcs-nav .zcs-menu-cta a,
.zcs-nav .menu-item.zcs-menu-cta > a {
	background: var(--zcs-copper) !important;
	color: #fff !important;
	padding: 0.55rem 1rem !important;
	font-weight: 700 !important;
}
.zcs-nav .zcs-menu-cta a:hover {
	background: var(--zcs-copper-dark) !important;
	color: #fff !important;
}
.zcs-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0 0.35rem 0.75rem;
}
@media (min-width: 900px) {
	.zcs-nav .menu-item-has-children { position: relative; }
	.zcs-nav .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		background: var(--zcs-white);
		border: 1px solid var(--zcs-line);
		padding: 0.5rem;
		z-index: 100;
	}
	.zcs-nav .menu-item-has-children:hover > .sub-menu,
	.zcs-nav .menu-item-has-children:focus-within > .sub-menu {
		display: block;
	}
}

/* Astra leftovers (if theme still loads briefly) */
.main-header-menu > .menu-item > a,
.ast-builder-menu .menu-link {
	color: var(--zcs-ink) !important;
}
.main-header-menu > .zcs-menu-cta > a,
.ast-header-break-point .zcs-menu-cta > a {
	background: var(--zcs-copper) !important;
	color: #fff !important;
	padding: 0.55rem 1rem !important;
	margin-left: 0.5rem;
	font-weight: 700 !important;
	border-radius: 0 !important;
}

/* Sections */
.zcs-section {
	padding: clamp(3rem, 6vw, 5rem) 1.25rem;
	max-width: var(--zcs-max);
	margin-left: auto;
	margin-right: auto;
	color: var(--zcs-ink);
}
.zcs-section--paper {
	background: var(--zcs-paper);
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	color: var(--zcs-ink);
}
.zcs-section--paper > .zcs-inner {
	max-width: var(--zcs-max);
	margin: 0 auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
html body .zcs-section--paper h1,
html body .zcs-section--paper h2,
html body .zcs-section--paper h3,
html body .zcs-section--paper h4,
html body .zcs-section--paper .zcs-label,
html body .zcs-section--paper summary {
	color: var(--zcs-ink) !important;
}
html body .zcs-section--paper p {
	color: var(--zcs-steel) !important;
}

/* Dark band â€” light text ONLY here */
.zcs-section--ink {
	background: var(--zcs-ink) !important;
	color: var(--zcs-on-ink) !important;
	max-width: none;
}
html body .zcs-section--ink,
html body .zcs-section--ink h1,
html body .zcs-section--ink h2,
html body .zcs-section--ink h3,
html body .zcs-section--ink h4,
html body .zcs-section--ink p,
html body .zcs-section--ink .zcs-lead,
html body .zcs-section--ink span:not(.zcs-label) {
	color: var(--zcs-on-ink) !important;
}
html body .zcs-section--ink .zcs-label {
	color: #A8B4C0 !important;
}

.zcs-hero {
	padding: clamp(3.5rem, 8vw, 6rem) 1.25rem clamp(3rem, 5vw, 4rem);
	max-width: var(--zcs-max);
	margin: 0 auto;
	display: grid;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 900px) {
	.zcs-hero { grid-template-columns: 1.1fr 0.9fr; }
}
.zcs-hero h1 {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.08;
	margin: 0.5rem 0 1rem;
	max-width: 14ch;
	color: var(--zcs-ink) !important;
}
.zcs-hero .zcs-lead {
	font-size: 1.125rem;
	line-height: 1.55;
	color: var(--zcs-steel) !important;
	max-width: 38ch;
	margin: 0 0 1.75rem;
}

.zcs-blueprint {
	position: relative;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--zcs-line);
	background:
		linear-gradient(var(--zcs-line) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, var(--zcs-line) 1px, transparent 1px) 0 0 / 24px 24px,
		var(--zcs-paper);
	overflow: hidden;
}
.zcs-blueprint__frame {
	position: absolute;
	inset: 12%;
	background: var(--zcs-white);
	border: 2px solid var(--zcs-ink);
	display: flex;
	flex-direction: column;
	padding: 1rem;
	gap: 0.65rem;
	transform: translateY(8px);
	opacity: 0.92;
	animation: zcs-rise 1.1s ease-out 0.2s forwards;
}
.zcs-blueprint__bar { height: 10px; background: var(--zcs-ink); width: 42%; }
.zcs-blueprint__line { height: 6px; background: var(--zcs-line); width: 78%; }
.zcs-blueprint__line--short { width: 55%; }
.zcs-blueprint__cta-mock { margin-top: auto; height: 28px; width: 48%; background: var(--zcs-copper); }
.zcs-blueprint__tag {
	position: absolute;
	top: 10px;
	left: 12px;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.7rem;
	color: var(--zcs-teal) !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
@keyframes zcs-rise { to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.zcs-blueprint__frame { animation: none; opacity: 1; transform: none; }
}

.zcs-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
a.zcs-btn, .zcs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
	padding: 0.9rem 1.35rem; font-family: "IBM Plex Sans", sans-serif; font-weight: 700;
	font-size: 1rem; text-decoration: none !important; border: 2px solid transparent; line-height: 1.2;
}
a.zcs-btn--copper, .zcs-btn--copper {
	background: var(--zcs-copper); color: #fff !important; border-color: var(--zcs-copper);
}
a.zcs-btn--copper:hover, .zcs-btn--copper:hover {
	background: var(--zcs-copper-dark); border-color: var(--zcs-copper-dark); color: #fff !important;
}
a.zcs-btn--ghost, .zcs-btn--ghost {
	background: transparent; color: var(--zcs-ink) !important; border-color: var(--zcs-ink);
}
a.zcs-btn--ghost:hover, .zcs-btn--ghost:hover {
	background: var(--zcs-ink); color: #fff !important;
}
a.zcs-btn--wa, .zcs-btn--wa {
	background: #0E6F64; color: #fff !important; border-color: #0E6F64;
}
a.zcs-btn--wa:hover { background: #0A564E; border-color: #0A564E; color: #fff !important; }
.zcs-section--ink a.zcs-btn--ghost {
	color: var(--zcs-on-ink) !important; border-color: var(--zcs-on-ink);
}
.zcs-section--ink a.zcs-btn--ghost:hover {
	background: var(--zcs-on-ink); color: var(--zcs-ink) !important;
}

.zcs-trust {
	display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding: 1.25rem;
	border-top: 1px solid var(--zcs-line); border-bottom: 1px solid var(--zcs-line);
	max-width: var(--zcs-max); margin: 0 auto; justify-content: space-between;
}
.zcs-trust span { font-size: 0.95rem; font-weight: 700; color: var(--zcs-ink) !important; }

.zcs-grid-3 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .zcs-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.zcs-card {
	background: var(--zcs-white); border: 1px solid var(--zcs-line); padding: 1.5rem 1.35rem;
}
.zcs-card h3 { margin: 0.35rem 0 0.65rem; font-size: 1.25rem; color: var(--zcs-ink) !important; }
.zcs-card p { margin: 0 0 1rem; color: var(--zcs-steel) !important; font-size: 0.98rem; }
.zcs-card a.zcs-card-link { font-weight: 700; color: var(--zcs-teal) !important; text-decoration: none; }
.zcs-card a.zcs-card-link:hover { color: var(--zcs-copper) !important; }

.zcs-price {
	font-family: "Bricolage Grotesque", sans-serif; font-size: 1.75rem; font-weight: 800;
	margin: 0.5rem 0 0.75rem; color: var(--zcs-ink) !important;
}
.zcs-price small { font-size: 0.85rem; font-weight: 500; color: var(--zcs-steel) !important; }

.zcs-steps { display: grid; gap: 1rem; counter-reset: zcs-step; }
@media (min-width: 768px) { .zcs-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.zcs-step { border-top: 2px solid var(--zcs-ink); padding-top: 1rem; }
.zcs-step::before {
	counter-increment: zcs-step; content: counter(zcs-step, decimal-leading-zero);
	font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; color: var(--zcs-teal) !important;
	display: block; margin-bottom: 0.5rem;
}
.zcs-step h3 { margin: 0 0 0.4rem; font-size: 1.1rem; color: var(--zcs-ink) !important; }
.zcs-step p { margin: 0; color: var(--zcs-steel) !important; font-size: 0.95rem; }

.zcs-faq details { border-bottom: 1px solid var(--zcs-line); padding: 1rem 0; }
.zcs-faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; color: var(--zcs-ink) !important; }
.zcs-faq p { margin: 0.75rem 0 0; color: var(--zcs-steel) !important; }

.zcs-contact { max-width: 640px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.zcs-contact h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 0.75rem; color: var(--zcs-ink) !important; }
.zcs-contact-list { list-style: none; margin: 2rem 0; padding: 0; }
.zcs-contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--zcs-line); }
.zcs-contact-list a { font-weight: 700; font-size: 1.2rem; color: var(--zcs-ink) !important; text-decoration: none; }
.zcs-contact-list a:hover { color: var(--zcs-copper) !important; }
.zcs-contact-list .zcs-label { display: block; margin-bottom: 0.25rem; color: var(--zcs-steel) !important; }

.zcs-sticky {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
	background: var(--zcs-ink); padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
	gap: 0.5rem; border-top: 1px solid #1e2a3a;
}
.zcs-sticky a {
	flex: 1; text-align: center; padding: 0.85rem 0.5rem; font-weight: 700;
	font-size: 0.95rem; text-decoration: none !important; color: #fff !important;
}
.zcs-sticky a.zcs-sticky__call { background: var(--zcs-copper); }
.zcs-sticky a.zcs-sticky__wa { background: #0E6F64; }
@media (max-width: 781px) {
	.zcs-sticky { display: flex; }
	body { padding-bottom: 72px; }
}

.zcs-page-hero {
	padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 1.5rem;
	max-width: var(--zcs-max); margin: 0 auto;
}
.zcs-page-hero h1 {
	font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1;
	margin: 0.4rem 0 0.85rem; max-width: 16ch; color: var(--zcs-ink) !important;
}
.zcs-page-hero .zcs-lead {
	color: var(--zcs-steel) !important; font-size: 1.1rem; line-height: 1.55;
	max-width: 42ch; margin: 0 0 1.5rem;
}

.zcs-soft {
	border: 1px dashed var(--zcs-line); padding: 1.25rem 1.35rem;
	margin-top: 2rem; background: var(--zcs-white);
}
.zcs-soft p { margin: 0 0 0.75rem; color: var(--zcs-steel) !important; }

.zcs-site-footer {
	border-top: 1px solid var(--zcs-line);
	padding: 2rem 1.25rem;
	text-align: center;
	color: var(--zcs-steel) !important;
	font-size: 0.95rem;
}
/* sticky footer uses flex:1; legacy min-height removed */
.zcs-site-main .entry-header { display: none; }

/* Realizacje — lista wpisów */
.zcs-realizacje-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 720px) {
	.zcs-realizacje-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.zcs-realizacje-card {
	background: var(--zcs-white);
	border: 1px solid var(--zcs-line);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
}
.zcs-realizacje-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--zcs-paper);
	overflow: hidden;
	border-bottom: 1px solid var(--zcs-line);
}
.zcs-realizacje-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.zcs-realizacje-card:hover .zcs-realizacje-card__img {
	transform: scale(1.03);
}
.zcs-realizacje-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, var(--zcs-paper) 0%, #d9e1ea 100%);
}
.zcs-realizacje-card__body {
	padding: 1.35rem 1.35rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.zcs-realizacje-card__title {
	margin: 0.35rem 0 0.65rem;
	font-size: 1.35rem;
	line-height: 1.2;
}
.zcs-realizacje-card__title a {
	color: var(--zcs-ink) !important;
	text-decoration: none;
}
.zcs-realizacje-card__title a:hover {
	color: var(--zcs-copper) !important;
}
.zcs-realizacje-card__body p {
	margin: 0 0 1.1rem;
	flex: 1;
	color: var(--zcs-steel) !important;
	font-size: 0.98rem;
	line-height: 1.55;
}
.zcs-realizacje__empty {
	color: var(--zcs-steel) !important;
	max-width: 40ch;
}

/* Single realization post */
.zcs-single-post {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
}
.zcs-single-post .entry-header {
	display: block !important;
	margin-bottom: 1.5rem;
}
.zcs-single-post .entry-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.15;
	margin: 0.35rem 0 0.75rem;
	color: var(--zcs-ink) !important;
}
.zcs-single-post .post-thumbnail {
	margin: 0 0 1.75rem;
	border: 1px solid var(--zcs-line);
}
.zcs-single-post .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}
.zcs-single-post .entry-content {
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--zcs-steel);
}
.zcs-single-post .entry-content h2,
.zcs-single-post .entry-content h3 {
	margin-top: 1.75rem;
}
.zcs-single-post__back {
	display: inline-block;
	margin-bottom: 1rem;
	font-weight: 700;
	color: var(--zcs-teal) !important;
	text-decoration: none;
}
.zcs-single-post__back:hover {
	color: var(--zcs-copper) !important;
}

/* Sklep WooCommerce */
.zcs-woo {
	max-width: var(--zcs-max);
	margin: 0 auto;
	padding: 0 1.25rem 4rem;
	color: var(--zcs-ink) !important;
}
.zcs-page-hero--shop {
	padding-top: clamp(2rem, 4vw, 3rem);
	padding-bottom: 0.5rem;
}
.zcs-page-hero--shop h1 {
	max-width: none;
}
.zcs-actions--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}
.zcs-btn--teal {
	background: var(--zcs-teal) !important;
	color: #fff !important;
	border: none;
	padding: 0.75rem 1.15rem;
	font-weight: 700;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
}
.zcs-btn--teal:hover {
	filter: brightness(1.08);
	color: #fff !important;
}
.zcs-shop-list__title {
	margin: 2rem 0 1rem;
	font-size: 1.35rem;
	color: var(--zcs-ink) !important;
}
.zcs-woo ul.products {
	display: grid !important;
	gap: 1.25rem;
	grid-template-columns: 1fr;
	margin: 0 0 2rem !important;
	padding: 0 !important;
}
@media (min-width: 640px) {
	.zcs-woo ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.zcs-woo ul.products::before,
.zcs-woo ul.products::after {
	display: none !important;
}
.zcs-woo ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	border: 1px solid var(--zcs-line);
	padding: 1.25rem !important;
	background: var(--zcs-white);
}
.zcs-woo .woocommerce-loop-product__title {
	font-family: "Bricolage Grotesque", sans-serif !important;
	font-size: 1.2rem !important;
	color: var(--zcs-ink) !important;
	padding: 0.5rem 0 0.35rem !important;
}
.zcs-woo .price,
.zcs-woo .woocommerce-Price-amount {
	color: var(--zcs-ink) !important;
	font-weight: 800;
	font-size: 1.25rem;
}
.zcs-price-free {
	color: var(--zcs-teal) !important;
	font-weight: 800;
	font-size: 1.1rem;
}
.zcs-woo a.button,
.zcs-woo button.button,
.zcs-woo .woocommerce a.button.alt {
	background: var(--zcs-copper) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 !important;
	font-weight: 700 !important;
	padding: 0.7rem 1rem !important;
}
.zcs-woo a.button:hover,
.zcs-woo button.button:hover {
	background: var(--zcs-copper-dark) !important;
	color: #fff !important;
}
.zcs-woo .product .summary .price {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}
.zcs-woo .product .summary .product_title {
	font-family: "Bricolage Grotesque", sans-serif !important;
	color: var(--zcs-ink) !important;
}
.zcs-woo .woocommerce-breadcrumb {
	margin: 1rem 0 0;
	font-size: 0.9rem;
	color: var(--zcs-steel) !important;
}
.zcs-woo .woocommerce-breadcrumb a {
	color: var(--zcs-teal) !important;
}
.zcs-woo .woocommerce-result-count,
.zcs-woo .woocommerce-ordering {
	color: var(--zcs-steel) !important;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: var(--zcs-ink);
	clip: auto !important;
	clip-path: none;
	color: #fff;
	display: block;
	font-size: 1rem;
	height: auto;
	left: 0.5rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	text-decoration: none;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}

/* Faza1: email CTA + sticky triple */
.zcs-sticky a.zcs-sticky__mail { background: #1B3A4B; }
.zcs-nav .zcs-menu-cta--mail > a,
.menu-item.zcs-menu-cta--mail > a {
  background: transparent !important;
  color: var(--zcs-ink) !important;
  border: 2px solid var(--zcs-ink);
}
.zcs-nav .zcs-menu-cta--mail > a:hover,
.menu-item.zcs-menu-cta--mail > a:hover {
  border-color: var(--zcs-copper);
  color: var(--zcs-copper) !important;
}
@media (max-width: 781px) {
  .zcs-sticky a { font-size: 0.82rem; padding: 0.75rem 0.35rem; min-height: 44px; display:flex; align-items:center; justify-content:center; }
}

.zcs-price-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 1.5rem 0 2rem;
  max-width: var(--zcs-max);
}
.zcs-price-strip .zcs-price { font-size: 1.35rem; margin: 0.35rem 0 0.5rem; color: var(--zcs-ink) !important; }
.zcs-btn--ghost {
  background: transparent !important;
  color: var(--zcs-ink) !important;
  border: 2px solid var(--zcs-ink);
}
.zcs-btn--ghost:hover { border-color: var(--zcs-copper); color: var(--zcs-copper) !important; }
/* zcs-sticky-footer-fix: fill viewport, footer at bottom, denser pages */
html { height: 100%; }
body.zcs-baltic,
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.zcs-site-main {
  flex: 1 0 auto;
  min-height: auto;
  width: 100%;
}
.zcs-site-footer {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
}
.zcs-page-hero {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.25rem;
}
.zcs-section,
.entry-content > .zcs-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.entry-content .zcs-lead { max-width: 60ch; }
.entry-content {
  max-width: 100%;
}

/* —— Kontakt form —— */
.zcs-kontakt-form-wrap { margin-top: 1.75rem; max-width: 640px; }
.zcs-kontakt-form .zcs-form-row { margin-bottom: 1rem; }
.zcs-kontakt-form label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}
.zcs-form-opt { text-transform: none; letter-spacing: 0; opacity: 0.65; font-size: 0.85em; }
.zcs-kontakt-form input[type="text"],
.zcs-kontakt-form input[type="email"],
.zcs-kontakt-form input[type="tel"],
.zcs-kontakt-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.zcs-section--ink .zcs-kontakt-form input,
.zcs-section--ink .zcs-kontakt-form textarea {
  background: rgba(255,255,255,0.96);
  color: #111;
}
.zcs-kontakt-form textarea { resize: vertical; min-height: 120px; }
.zcs-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .zcs-form-grid { grid-template-columns: 1fr; }
}
.zcs-form-actions { margin-top: 0.5rem; }
.zcs-form-hint { margin: 0.75rem 0 0; font-size: 0.95rem; opacity: 0.85; }
.zcs-form-notice {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.zcs-form-notice--ok { background: #e8f5e9; color: #1b5e20; }
.zcs-form-notice--err { background: #fce8e6; color: #8a1c12; }

/* —— Stopka: menu + poprawka poziomego scrolla (width:100% + padding bez border-box = +40 px) —— */
.zcs-site-footer { box-sizing: border-box; }
.zcs-footer-nav { margin: 0 auto 1rem; max-width: var(--zcs-max); }
.zcs-footer-nav__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.25rem;
  list-style: none; margin: 0; padding: 0;
}
.zcs-footer-nav__list a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--zcs-ink) !important; text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.zcs-footer-nav__list a:hover { color: var(--zcs-copper) !important; text-decoration: underline; }
.zcs-footer-nav__list a:focus-visible { outline: 3px solid var(--zcs-copper); outline-offset: 2px; }
.zcs-footer-nav__list .current-menu-item > a { color: var(--zcs-copper) !important; }

/* —— Nawigacja: stan aktywny + mobile bez nachodzenia pozycji (2026-09-25) —— */
.zcs-nav .current-menu-item > a,
.zcs-nav .current_page_parent > a,
.zcs-nav .current-menu-ancestor > a { color: var(--zcs-copper) !important; }
.zcs-nav a:focus-visible { outline: 3px solid var(--zcs-copper); outline-offset: 2px; }
@media (max-width: 781px) {
  .zcs-site-header__inner { padding: 0.65rem 1rem 0.75rem; gap: 0.6rem; }
  .zcs-site-nav { width: 100%; }
  .zcs-nav { gap: 0.4rem; }
  .zcs-nav > li { display: flex; }
  .zcs-nav > li > a {
    display: inline-flex; align-items: center; min-height: 40px;
    padding: 0.35rem 0.75rem; border: 1px solid var(--zcs-line);
    font-size: 0.9rem; line-height: 1.2; background: var(--zcs-white);
  }
  .zcs-nav > .current-menu-item > a,
  .zcs-nav > .current_page_parent > a,
  .zcs-nav > .current-menu-ancestor > a {
    background: var(--zcs-ink); border-color: var(--zcs-ink); color: #fff !important;
  }
  /* podmenu dostępne z /oferta/; telefon i e-mail są w dolnym pasku (.zcs-sticky) */
  .zcs-nav .sub-menu { display: none; }
  .zcs-nav > .zcs-menu-cta { display: none; }
}

/* —— Home: pasek cen w hero rozpychał stronę do ~650 px na telefonie (siatka hero bez minmax(0,…)) —— */
@media (max-width: 899px) {
  .zcs-hero { grid-template-columns: minmax(0, 1fr); }
}

/* —— Home: ceny w hero w jednym rzędzie 3 kart od 900 px (wcześniej 2+1 w lewej kolumnie).
   Lewa kolumna hero „rozpuszczona” (display: contents), pasek cen na całą szerokość pod tekstem i szkicem.
   Tylko hero z paskiem cen (:has) — inne hero bez zmian; bez :has zostaje dawny układ. —— */
@media (min-width: 900px) {
  .zcs-hero:has(> div > .zcs-price-strip) {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-rows: auto auto auto 1fr auto;
    column-gap: 2.5rem;
    row-gap: 0;
    align-items: start;
  }
  .zcs-hero:has(> div > .zcs-price-strip) > div:first-child { display: contents; }
  .zcs-hero:has(> div > .zcs-price-strip) > div:first-child > * { grid-column: 1; }
  .zcs-hero:has(> div > .zcs-price-strip) > .zcs-blueprint {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: center;
  }
  .zcs-hero:has(> div > .zcs-price-strip) > div:first-child > .zcs-price-strip {
    grid-column: 1 / -1;
    grid-row: 5;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2.5rem 0 0;
  }
}

/* —— Sklep (2026-09-25): karty produktów, pojedynczy produkt poziomo, CTA, pusty stan —— */
.zcs-woo ul.products li.product {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
}
.zcs-woo ul.products li.product a img {
  margin: 0 0 0.75rem !important;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--zcs-paper, #f4f6f8);
}
.zcs-woo ul.products li.product .button {
  margin-top: auto !important;
  align-self: flex-start;
}
.zcs-product-excerpt {
  margin: 0.25rem 0 1.1rem;
  color: var(--zcs-steel) !important;
  font-size: 0.975rem;
  line-height: 1.55;
  max-width: 60ch;
}
@media (min-width: 720px) {
  .zcs-woo ul.products li.product:only-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    column-gap: 2rem;
    align-items: start;
  }
  .zcs-woo ul.products li.product:only-child > a.woocommerce-LoopProduct-link {
    grid-column: 1 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    column-gap: 2rem;
    align-content: start;
    padding-bottom: 3.75rem; /* miejsce na przycisk w prawej kolumnie — bez nachodzenia na opis */
  }
  .zcs-woo ul.products li.product:only-child a img {
    grid-column: 1;
    grid-row: 1 / span 4;
    margin: 0 !important;
  }
  .zcs-woo ul.products li.product:only-child a > :not(img) { grid-column: 2; }
  .zcs-woo ul.products li.product:only-child .woocommerce-loop-product__title { padding-top: 0 !important; }
  .zcs-woo ul.products li.product:only-child > .button {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    margin-top: 0 !important;
  }
}
.zcs-shop-cta {
  display: grid;
  gap: 1.25rem;
  margin: 1rem 0 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--zcs-line);
  border-left: 4px solid var(--zcs-copper);
  background: var(--zcs-white);
}
.zcs-shop-cta h2 { margin: 0.35rem 0 0.5rem; font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--zcs-ink) !important; }
.zcs-shop-cta p { margin: 0; color: var(--zcs-steel) !important; line-height: 1.55; max-width: 56ch; }
.zcs-shop-cta__actions { display: flex; flex-wrap: wrap; gap: 0.65rem 1rem; align-items: center; }
.zcs-shop-cta__actions .zcs-btn { min-height: 44px; padding: 0.7rem 1.1rem; font-size: 0.95rem; box-sizing: border-box; }
.zcs-shop-cta__actions .zcs-btn--ghost { border-width: 2px; }
/* hero sklepu wyrównany do listy produktów (wcześniej wcięty o padding .zcs-page-hero) */
.zcs-woo .zcs-page-hero--shop { padding-left: 0; padding-right: 0; }
.zcs-shop-cta__link { color: var(--zcs-teal) !important; font-weight: 700; text-underline-offset: 3px; }
.zcs-shop-cta__link:hover { color: var(--zcs-copper) !important; }
@media (min-width: 960px) {
  .zcs-shop-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .zcs-shop-cta__actions { justify-content: flex-end; max-width: 520px; }
}
.zcs-shop-empty {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.35rem;
  border: 1px dashed var(--zcs-line);
  color: var(--zcs-steel) !important;
}
.zcs-shop-empty p { margin: 0; }

/* —— Nagłówek desktop: pozycja „Przykłady stron” jest dłuższa niż dawne „Style stron” (2026-09-25).
   Ciaśniejsze odstępy pozycji menu od 900 px, żeby przyciski „Zadzwoń” i „Napisz” mieściły się w jednym rzędzie przy 1280 px. —— */
@media (min-width: 900px) {
  .zcs-nav { gap: 0.15rem 0.2rem; }
  .zcs-nav > li:not(.zcs-menu-cta) > a { padding: 0.45rem 0.5rem; white-space: nowrap; }
  .zcs-nav > .zcs-menu-cta { margin-left: 0.25rem; }
}
@media (min-width: 782px) {
  .zcs-nav .zcs-menu-cta > a { white-space: nowrap; }
}
/* 782–1199 px: menu + oba przyciski w jednym rzędzie — mniejsze odstępy, w przycisku telefonu sam numer. */
@media (min-width: 782px) and (max-width: 1199px) {
  .zcs-nav > li:not(.zcs-menu-cta) > a { padding: 0.4rem 0.4rem; font-size: 0.9rem; }
  .zcs-nav .zcs-menu-cta > a,
  .zcs-nav .menu-item.zcs-menu-cta > a { padding: 0.5rem 0.75rem !important; }
  .zcs-menu-cta__verb { display: none; }
}
