/* =========================================================
   Smart Prąd — style motywu
   Mobile-first, bez frameworków CSS, zmienne CSS dla spójności.
   ========================================================= */

:root {
	--sp-navy: #0b1d3a;
	--sp-navy-light: #142a52;
	--sp-blue: #1a56db;
	--sp-blue-dark: #123e9e;
	--sp-yellow: #ffc93c;
	--sp-yellow-dark: #f0a500;
	--sp-bg: #f6f8fc;
	--sp-white: #ffffff;
	--sp-text: #1b2333;
	--sp-text-muted: #5b6478;
	--sp-border: #e3e7f1;
	--sp-success: #1c9c5b;
	--sp-danger: #d43f3f;
	--sp-radius: 14px;
	--sp-radius-sm: 8px;
	--sp-shadow: 0 6px 24px rgba(11, 29, 58, 0.08);
	--sp-shadow-lg: 0 16px 48px rgba(11, 29, 58, 0.14);
	--sp-container: 1240px;
	--sp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sp-font);
	color: var(--sp-text);
	background: var(--sp-bg);
	line-height: 1.6;
	font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sp-blue); text-decoration: none; }
a:hover { color: var(--sp-blue-dark); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.25; color: var(--sp-navy); }
p { margin: 0 0 1em; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
.container { max-width: var(--sp-container); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	top: -100px; left: 0;
	background: var(--sp-navy);
	color: #fff;
	padding: 10px 16px;
	z-index: 10000;
	transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: var(--sp-radius-sm);
	font-weight: 600;
	font-size: 15px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary { background: var(--sp-yellow); color: var(--sp-navy); }
.btn--primary:hover { background: var(--sp-yellow-dark); color: var(--sp-navy); transform: translateY(-2px); box-shadow: var(--sp-shadow); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--sp-navy); color: #cfd8ec; font-size: 13px; }
.top-bar__inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 20px; flex-wrap: wrap; gap: 6px; min-height: 34px; }
.top-bar a { color: #cfd8ec; }
.top-bar a:hover { color: var(--sp-yellow); }
.top-bar__contact { display: flex; gap: 16px; flex-wrap: wrap; }
.top-bar__note { color: var(--sp-yellow); font-weight: 600; }
.top-bar__rotator { position: relative; height: 18px; overflow: hidden; min-width: 240px; text-align: right; }
.top-bar__msg {
	position: absolute; right: 0; top: 0; white-space: nowrap;
	opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease;
}
.top-bar__msg.is-active { opacity: 1; transform: translateY(0); position: relative; }

/* ---------- Header ---------- */
.site-header { background: var(--sp-white); border-bottom: 1px solid var(--sp-border); position: sticky; top: 0; z-index: 500; }
.site-header__inner { display: flex; align-items: center; gap: 20px; padding: 14px 20px; flex-wrap: wrap; }
.site-branding { flex: 0 0 auto; }
.site-logo-text { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; color: var(--sp-navy); transition: transform .15s ease; }
.site-logo-text:hover { transform: translateY(-1px); }
.logo-icon { flex: 0 0 auto; display: block; }
.logo-name { display: inline-flex; align-items: baseline; gap: 2px; letter-spacing: -0.01em; }
.logo-name__main { color: var(--sp-navy); }
.logo-name__accent { color: var(--sp-blue); }
.footer-about .logo-name__main { color: #fff; }
.footer-about .logo-name__accent { color: var(--sp-yellow); }
.footer-about .site-logo-text { color: #fff; margin-bottom: 14px; }
.custom-logo { max-height: 50px; width: auto; }

.main-navigation { flex: 1 1 auto; }
.primary-menu { display: flex; gap: 8px; flex-wrap: wrap; }
.primary-menu > li { position: relative; }
.nav-link { display: block; padding: 10px 12px; border-radius: var(--sp-radius-sm); font-weight: 600; color: var(--sp-navy); }
.nav-link:hover { background: var(--sp-bg); color: var(--sp-blue); }
.primary-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--sp-white); border: 1px solid var(--sp-border);
	border-radius: var(--sp-radius-sm); box-shadow: var(--sp-shadow-lg);
	padding: 8px; display: none; z-index: 50;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu .nav-link { padding: 8px 10px; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-search { display: flex; align-items: center; background: var(--sp-bg); border: 1px solid var(--sp-border); border-radius: 999px; padding: 4px 6px 4px 14px; }
.header-search input { border: none; background: transparent; outline: none; width: 180px; }
.header-search button { border: none; background: var(--sp-yellow); border-radius: 999px; width: 32px; height: 32px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--sp-navy); flex-shrink: 0; }

.header-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; background: var(--sp-bg); color: var(--sp-navy); transition: background .15s ease, color .15s ease; }
.header-cart:hover { background: var(--sp-navy); color: #fff; }
.header-cart .cart-count {
	position: absolute; top: -4px; right: -4px;
	background: var(--sp-blue); color: #fff;
	font-size: 11px; font-weight: 700;
	min-width: 18px; height: 18px; border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	padding: 0 4px;
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.menu-toggle__bar { width: 24px; height: 2px; background: var(--sp-navy); border-radius: 2px; }

.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--sp-text-muted); }
.breadcrumb ol { display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--sp-text-muted); }
.breadcrumb a:hover { color: var(--sp-blue); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--sp-navy) 0%, var(--sp-navy-light) 60%, var(--sp-blue-dark) 100%); color: #fff; overflow: hidden; position: relative; }
.hero__inner { display: flex; align-items: center; gap: 56px; padding: 96px 20px; flex-wrap: wrap; }
.hero__content { flex: 1 1 460px; }
.hero__eyebrow {
	display: block; color: var(--sp-yellow); font-size: 13px; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px;
}
.hero__content h1 {
	color: #fff; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08;
	letter-spacing: -0.01em; margin-bottom: 22px; max-width: 620px;
}
.hero__content p { color: #cfd8ec; font-size: 18px; line-height: 1.65; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0; }
.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: #9fb0d4; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 600; }
.hero__trust li { position: relative; padding-left: 16px; }
.hero__trust li::before { content: ""; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; border-radius: 999px; background: var(--sp-yellow); }
.hero__visual { position: relative; flex: 1 1 280px; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.hero__glow { position: absolute; width: 360px; height: 360px; background: radial-gradient(circle, rgba(255,201,60,0.32), transparent 70%); filter: blur(14px); }
.hero__bolt { position: relative; filter: drop-shadow(0 0 40px rgba(255,201,60,0.55)); }

/* ---------- Section shared ---------- */
.section-title { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.01em; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.section-link { font-weight: 700; }
section { padding: 72px 0; }

/* ---------- Categories ---------- */
.categories__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.category-card {
	background: var(--sp-white); border: 1px solid var(--sp-border); border-radius: var(--sp-radius);
	padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow); }
.category-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.category-card__icon { font-size: 34px; margin-bottom: 6px; }
.category-card__name { font-weight: 700; color: var(--sp-navy); }
.category-card__count { font-size: 12px; color: var(--sp-text-muted); }

/* ---------- Products grid (WooCommerce loop) ---------- */
ul.products { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0; margin: 0; }
@media (min-width: 700px) { ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { ul.products { grid-template-columns: repeat(4, 1fr); } }
ul.products li.product-card, ul.products li.product { list-style: none; }

.product-card { background: var(--sp-white); border: 1px solid var(--sp-border); border-radius: var(--sp-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.product-card:hover { box-shadow: 0 20px 40px rgba(11,29,58,0.1); transform: translateY(-4px); border-color: transparent; }
.product-card__link { color: inherit; display: flex; flex-direction: column; flex: 1; }
.product-card__thumb { position: relative; background: var(--sp-bg); aspect-ratio: 4/3; overflow: hidden; }
.product-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--sp-navy); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; z-index: 2; }
.product-card__body { padding: 18px 18px 6px; flex: 1; }
.product-card__cat { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--sp-text-muted); margin-bottom: 4px; }
.product-card__title { font-size: 15px; margin-bottom: 8px; color: var(--sp-navy); line-height: 1.35; }
.product-card__price { font-weight: 800; color: var(--sp-blue-dark); font-size: 16px; }
.product-card__price del { color: var(--sp-text-muted); font-weight: 400; margin-right: 6px; }
.product-card__actions { padding: 12px 18px 18px; }
.product-card__actions a.button,
.product-card__actions a.add_to_cart_button {
	display: block; text-align: center; width: 100%;
	background: var(--sp-navy); color: #fff; border-radius: var(--sp-radius-sm);
	padding: 10px; font-weight: 700; transition: background .15s ease;
}
.product-card__actions a.button:hover { background: var(--sp-blue); }

/* ---------- USP band ---------- */
.usp-band { background: var(--sp-white); border-top: 1px solid var(--sp-border); border-bottom: 1px solid var(--sp-border); }
.usp-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.usp-item { text-align: center; }
.icon { display: inline-block; vertical-align: middle; }
.usp-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 999px;
	background: var(--sp-bg); color: var(--sp-blue-dark); margin-bottom: 14px;
}
.usp-item h3 { font-size: 16px; }
.usp-item p { color: var(--sp-text-muted); font-size: 14px; }

/* ---------- News / blog cards ---------- */
.news-grid, .post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.news-card { background: var(--sp-white); border: 1px solid var(--sp-border); border-radius: var(--sp-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.news-card:hover { box-shadow: var(--sp-shadow); transform: translateY(-3px); }
.news-card__thumb { display: block; aspect-ratio: 16/10; background: var(--sp-navy); overflow: hidden; position: relative; }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--sp-yellow); }
.news-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 12px; color: var(--sp-text-muted); display: flex; gap: 6px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.news-card__title { font-size: 17px; margin-bottom: 8px; }
.news-card__title a { color: var(--sp-navy); }
.news-card__excerpt { color: var(--sp-text-muted); font-size: 14px; flex: 1; }
.news-card__link { font-weight: 700; font-size: 14px; margin-top: 8px; display: inline-block; }

/* ---------- Newsletter CTA ---------- */
.newsletter-cta { background: linear-gradient(120deg, var(--sp-blue-dark), var(--sp-navy)); color: #fff; }
.newsletter-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter-cta h2 { color: #fff; font-size: 24px; }
.newsletter-cta p { color: #cfd8ec; margin: 0; }
.newsletter-cta__form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-cta__form input { padding: 12px 16px; border-radius: var(--sp-radius-sm); border: none; min-width: 240px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sp-navy); color: #cfd8ec; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding: 56px 20px 32px; }
.footer-col p { color: #aab6d4; font-size: 14px; }
.footer-col .widget-title { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; margin-top: 12px; }
.footer-contact-list a { color: #cfd8ec; }
.footer-menu { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-menu a { color: #cfd8ec; }
.footer-menu a:hover { color: var(--sp-yellow); }
.footer-newsletter { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.footer-newsletter input { padding: 10px 12px; border-radius: var(--sp-radius-sm); border: none; flex: 1; min-width: 140px; }
.footer-newsletter button { background: var(--sp-yellow); color: var(--sp-navy); border: none; border-radius: var(--sp-radius-sm); padding: 10px 16px; font-weight: 700; cursor: pointer; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-size: 13px; color: #8fa0c9; flex-wrap: wrap; gap: 8px; }

/* ---------- Generic content pages ---------- */
.page-content, .single-layout { padding: 40px 0 60px; }
.page-title, .single-post__title { font-size: clamp(24px, 4vw, 34px); }
.entry-content { max-width: 780px; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--sp-radius); }
.entry-content ul, .entry-content ol { margin: 0 0 1em 1.4em; }
.page-thumbnail, .single-post__thumb { margin: 20px 0; border-radius: var(--sp-radius); overflow: hidden; }

.single-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .single-layout { grid-template-columns: 2.4fr 1fr; } }
.post-cat-badge { display: inline-block; background: var(--sp-yellow); color: var(--sp-navy); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.post-tags a { background: var(--sp-bg); border: 1px solid var(--sp-border); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--sp-text-muted); }
.post-navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--sp-border); font-weight: 700; flex-wrap: wrap; }
.single-sidebar .widget { background: var(--sp-white); border: 1px solid var(--sp-border); border-radius: var(--sp-radius); padding: 20px; margin-bottom: 20px; }

.no-results, .error-404 { text-align: center; padding: 60px 20px; }
.error-404__code { font-size: 80px; font-weight: 900; color: var(--sp-yellow-dark); display: block; }
.error-404__actions { display: flex; gap: 12px; justify-content: center; margin: 20px 0; flex-wrap: wrap; }
.error-404__actions .btn--ghost { color: var(--sp-navy); border-color: var(--sp-navy); }
.error-404__search { justify-content: center; max-width: 380px; margin: 20px auto 0; }
.error-404__search button { background: var(--sp-navy); color: #fff; border-radius: 999px; width: auto; padding: 0 16px; }

/* ---------- Comments ---------- */
.comments-area { max-width: 780px; margin-top: 40px; }
.comment-list { margin-top: 20px; }
.comment-list li { background: var(--sp-white); border: 1px solid var(--sp-border); border-radius: var(--sp-radius-sm); padding: 16px; margin-bottom: 14px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--sp-border); border-radius: var(--sp-radius-sm); margin-bottom: 12px; }

/* ---------- WooCommerce base tweaks ---------- */
.shop-main { padding: 40px 0 60px; }
.woocommerce-notices-wrapper { margin-bottom: 20px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--sp-white); border-left: 4px solid var(--sp-blue); border-radius: var(--sp-radius-sm); padding: 14px 18px; list-style: none; box-shadow: var(--sp-shadow); }
.woocommerce-error { border-left-color: var(--sp-danger); }
.woocommerce-message { border-left-color: var(--sp-success); }
table.shop_table { width: 100%; border-collapse: collapse; background: var(--sp-white); border-radius: var(--sp-radius); overflow: hidden; }
table.shop_table th, table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--sp-border); }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: var(--sp-navy); color: #fff; border-radius: var(--sp-radius-sm); padding: 12px 22px; font-weight: 700; border: none;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--sp-blue); color: #fff; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--sp-blue-dark); font-size: 26px; font-weight: 800; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
	background: var(--sp-white); border: 1px solid var(--sp-border); border-radius: var(--sp-radius); padding: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
	.header-search { display: none; }
	.main-navigation { position: fixed; top: 0; right: -100%; width: min(320px, 85vw); height: 100vh; background: var(--sp-white); box-shadow: var(--sp-shadow-lg); padding: 80px 20px 20px; transition: right .25s ease; overflow-y: auto; z-index: 900; }
	.main-navigation.is-open { right: 0; }
	.primary-menu { flex-direction: column; gap: 0; }
	.primary-menu .sub-menu { position: static; box-shadow: none; border: none; padding-left: 12px; display: none; }
	.primary-menu li.is-expanded > .sub-menu { display: block; }
	.menu-toggle { display: flex; }
	.hero__inner { padding: 40px 20px; text-align: center; justify-content: center; }
	.hero__actions, .hero__trust { justify-content: center; }
	.footer-grid { grid-template-columns: 1fr; padding: 40px 20px; }
	.newsletter-cta__inner { text-align: center; justify-content: center; }
}

/* ---------- Gallery teaser (front page) ---------- */
.campaign-tiles { padding-top: 0; padding-bottom: 0; }
.campaign-tiles__grid { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 20px 0 56px; }
@media (min-width: 780px) {
	.campaign-tiles__grid { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr; }
}
.campaign-tile {
	position: relative; display: flex; align-items: flex-end; overflow: hidden;
	border-radius: var(--sp-radius); min-height: 260px; padding: 32px;
	color: #fff; isolation: isolate; transition: transform .2s ease;
}
.campaign-tile:hover { transform: translateY(-3px); }
.campaign-tile::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(160deg, rgba(11,29,58,0.15), rgba(11,29,58,0.75));
}
.campaign-tile--sun { background: radial-gradient(circle at 30% 20%, #ffd873, #f0a500 45%, #b8720a 100%); }
.campaign-tile--blue { background: linear-gradient(150deg, var(--sp-blue) 0%, var(--sp-blue-dark) 100%); }
.campaign-tile--navy { background: linear-gradient(150deg, var(--sp-navy-light) 0%, var(--sp-navy) 100%); }
@media (min-width: 780px) { .campaign-tile--lg { grid-row: span 1; } }
.campaign-tile__content { position: relative; z-index: 1; max-width: 320px; }
.campaign-tile__eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-bottom: 8px; }
.campaign-tile h3 { color: #fff; font-size: 24px; margin-bottom: 14px; line-height: 1.2; }
.campaign-tile__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.campaign-tile__cta .icon { transition: transform .15s ease; }
.campaign-tile:hover .campaign-tile__cta .icon { transform: translateX(3px); }

/* ---------- Gallery page ---------- */
.gallery-page { padding-bottom: 60px; }
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 32px; }
.gallery-filter {
	background: var(--sp-white); border: 1px solid var(--sp-border); color: var(--sp-text-muted);
	padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.gallery-filter:hover { border-color: var(--sp-blue); color: var(--sp-blue); }
.gallery-filter.is-active { background: var(--sp-navy); border-color: var(--sp-navy); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.gallery-item {
	position: relative; display: block; aspect-ratio: 4/3; border-radius: var(--sp-radius);
	overflow: hidden; background: var(--sp-bg); border: 1px solid var(--sp-border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
	background: linear-gradient(to top, rgba(11,29,58,0.85), transparent);
	color: #fff; font-size: 13px; font-weight: 600;
	opacity: 0; transition: opacity .2s ease;
}
.gallery-item:hover .gallery-item__caption { opacity: 1; }

.gallery-lightbox {
	position: fixed; inset: 0; background: rgba(11,29,58,0.92); z-index: 2000;
	display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
	padding: 40px 20px;
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox__img { max-width: min(900px, 90vw); max-height: 70vh; border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-lg); }
.gallery-lightbox__caption { color: #fff; font-size: 14px; }
.gallery-lightbox__close, .gallery-lightbox__prev, .gallery-lightbox__next {
	position: absolute; background: rgba(255,255,255,0.1); border: none; color: #fff;
	width: 44px; height: 44px; border-radius: 999px; font-size: 24px; cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.gallery-lightbox__close:hover, .gallery-lightbox__prev:hover, .gallery-lightbox__next:hover { background: rgba(255,255,255,0.2); }
.gallery-lightbox__close { top: 20px; right: 20px; }
.gallery-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
	.gallery-lightbox__prev, .gallery-lightbox__next { width: 38px; height: 38px; font-size: 20px; }
}

/* ---------- Compact hero (subpages) ---------- */
.hero--compact .hero__inner { padding: 40px 20px; }
.hero--compact h1 { color: #fff; margin-bottom: 0; }
.usp-band--flat { background: transparent; border: none; padding: 20px 0 0; margin: 40px 0 0; }
.usp-band--flat .usp-band__grid { border-top: 1px solid var(--sp-border); padding-top: 36px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.6fr; } }
.contact-info { background: var(--sp-white); border: 1px solid var(--sp-border); border-radius: var(--sp-radius); padding: 24px; height: fit-content; }
.contact-info__list { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.contact-info__note { font-size: 13px; color: var(--sp-text-muted); }
.contact-form-wrap { background: var(--sp-white); border: 1px solid var(--sp-border); border-radius: var(--sp-radius); padding: 24px; }
.contact-form__honeypot { position: absolute; left: -9999px; top: -9999px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; color: var(--sp-navy); }
.form-row input, .form-row textarea {
	width: 100%; padding: 11px 14px; border: 1px solid var(--sp-border); border-radius: var(--sp-radius-sm);
	background: var(--sp-bg); font-family: inherit;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--sp-blue); outline-offset: 1px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row--split { grid-template-columns: 1fr; } }

/* ---------- Quick nav (pigułki kategorii pod headerem, styl edytorialny) ---------- */
.quicknav { background: var(--sp-white); border-bottom: 1px solid var(--sp-border); }
.quicknav__inner { display: flex; gap: 10px; padding: 14px 20px; overflow-x: auto; scrollbar-width: none; }
.quicknav__inner::-webkit-scrollbar { display: none; }
.quicknav__item {
	flex: 0 0 auto; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--sp-border);
	font-weight: 600; font-size: 14px; color: var(--sp-navy); white-space: nowrap;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.quicknav__item:hover { background: var(--sp-navy); border-color: var(--sp-navy); color: #fff; }
