/*
Theme Name: Gabex New (Design)
Theme URI: https://gabex.eu
Author: Ulven Labs
Author URI: https://ulvenlabs.com
Description: Wariant designowy motywu Gabex (FSE) odwzorowujący makietę z Claude Design, estetyka „blueprint", Barlow + Barlow Condensed, Gabex Red #E30613. B2B, wycena-first.
Version: 0.2.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gabex
Tags: e-commerce, block-styles, full-site-editing, custom-colors, wide-blocks
*/

/* Style bloków ładowane z theme.json. Ten plik to nagłówek motywu + drobne dopięcia. */

/* Pill buttons na CTA */
.wp-block-button__link { line-height: 1.2; }

/* Sticky header */
.gabex-header { position: sticky; top: 0; z-index: 100; }

/* Karta produktu, delikatny hover */
.wc-block-grid__product,
.wp-block-post-template li.wc-block-product { transition: transform .15s ease; }

/* Wyszukiwarka w nagłówku, neutralna ikona, bez czerwonej pigułki */
.gabex-header .wp-block-search__button,
.gabex-header .wp-block-search__button.has-icon {
	background-color: transparent !important;
	color: var(--wp--preset--color--slate) !important;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
	padding: 0.5rem;
	min-width: 44px;
}
.gabex-header .wp-block-search__button:hover { background-color: var(--wp--preset--color--light) !important; }
.gabex-header .wp-block-search__button svg { fill: currentColor; }

/* Nawigacja w nagłówku */
.gabex-header .wp-block-navigation { font-size: 1rem; }

/* Przycisk „Wycena", bez zawijania tekstu */
.gabex-header .wp-block-button__link { white-space: nowrap; }
@media (max-width: 480px) {
	.gabex-header .wp-block-button__link { padding-left: 1rem; padding-right: 1rem; font-size: .95rem; }
}

/* Logo z assetów motywu */
.gabex-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.gabex-logo img { display: block; width: 150px; height: auto; }

/* Menu główne inline w nagłówku (klasyczne menu z Wygląd → Menu) */
.gabex-mainmenu__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 1.75rem; justify-content: center;
}
.gabex-mainmenu__list > li { position: relative; }
.gabex-mainmenu__list a {
	display: block; padding: 0.4rem 0; text-decoration: none; font-weight: 600;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--montserrat);
	white-space: nowrap;
}
.gabex-mainmenu__list a:hover,
.gabex-mainmenu__list a:focus-visible { color: var(--wp--preset--color--red); }
.gabex-mainmenu__list .current-menu-item > a { color: var(--wp--preset--color--red); }
.gabex-mainmenu__list .menu-item-has-children > a::after { content: " \25BE"; font-size: .8em; color: var(--wp--preset--color--muted); }

/* Podmenu (dropdown) */
.gabex-mainmenu__list .sub-menu {
	list-style: none; margin: 0; padding: 0.4rem 0;
	position: absolute; top: 100%; left: 0; min-width: 230px;
	background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 10px;
	box-shadow: 0 12px 30px rgba(29,31,36,.10); display: none; z-index: 300;
}
.gabex-mainmenu__list > li:hover > .sub-menu,
.gabex-mainmenu__list > li:focus-within > .sub-menu { display: block; }
.gabex-mainmenu__list .sub-menu a { padding: 0.55rem 1.25rem; font-weight: 500; white-space: nowrap; }
.gabex-mainmenu__list .sub-menu a:hover { background: var(--wp--preset--color--light); color: var(--wp--preset--color--red); }
/* Trzeci poziom otwiera się w dół, pod elementem drugiego poziomu. */
.gabex-mainmenu__list .sub-menu > li { position: relative; }
.gabex-mainmenu__list .sub-menu .sub-menu {
	top: 100%; left: 0; margin-left: .5rem;
}
.gabex-mainmenu__list .sub-menu > li:hover > .sub-menu,
.gabex-mainmenu__list .sub-menu > li:focus-within > .sub-menu { display: block; }

/* Toggle mobilny (hamburger) */
.gabex-menu-toggle {
	display: none; align-items: center; gap: .5rem;
	padding: .55rem .9rem;
	background: var(--wp--preset--color--light);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px; font: inherit; font-weight: 700;
	color: var(--wp--preset--color--ink); cursor: pointer;
}
.gabex-menu-toggle__bars,
.gabex-menu-toggle__bars::before,
.gabex-menu-toggle__bars::after {
	display: block; width: 18px; height: 2px;
	background: currentColor; border-radius: 2px;
}
.gabex-menu-toggle__bars { position: relative; }
.gabex-menu-toggle__bars::before,
.gabex-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.gabex-menu-toggle__bars::before { top: -6px; }
.gabex-menu-toggle__bars::after { top: 6px; }
.gabex-menu-toggle:focus-visible,
.gabex-mainmenu__list a:focus-visible,
.gabex-logo:focus-visible {
	outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; border-radius: 4px;
}
.gabex-menu-empty { text-align: center; color: var(--wp--preset--color--muted); padding: .75rem 0; }

@media (max-width: 900px) {
	.gabex-menu-toggle { display: inline-flex; }
	/* Otwarte menu: panel pod nagłówkiem na całą szerokość (header jest sticky → kotwica) */
	.gabex-mainmenu { display: none; }
	.gabex-mainmenu.is-open {
		display: block;
		position: absolute; top: 100%; left: 0; right: 0; z-index: 200;
		background: var(--wp--preset--color--white);
		border-bottom: 1px solid var(--wp--preset--color--line);
		box-shadow: 0 16px 30px rgba(29,31,36,.10);
		padding: 0.5rem clamp(1rem, 4vw, 2rem) 1rem;
	}
	.gabex-mainmenu__list { flex-direction: column; gap: 0; align-items: stretch; }
	.gabex-mainmenu__list a { padding: .7rem .25rem; border-bottom: 1px solid var(--wp--preset--color--line); }
	.gabex-mainmenu__list .sub-menu {
		position: static; display: block; border: none; box-shadow: none;
		padding-left: 1rem; min-width: 0;
	}
	.gabex-mainmenu__list .menu-item-has-children > a::after { content: ""; }
}

/* Kompaktowy nagłówek, nie łamie się poniżej 390px */
@media (max-width: 480px) {
	.gabex-header__bar { column-gap: 0.75rem !important; }
	.gabex-logo img { width: 110px; }
	.gabex-menu-toggle { padding: .55rem .7rem; }
	.gabex-menu-toggle__text { display: none; }
}
@media (max-width: 400px) {
	.gabex-header__bar { column-gap: 0.5rem !important; }
	.gabex-logo img { width: 92px; }
	.gabex-header .wp-block-search__button,
	.gabex-header .wp-block-search__button.has-icon { min-width: 40px; padding: 0.4rem; }
	.gabex-header .wp-block-button__link { padding: .6rem .85rem; font-size: .88rem; }
	.gabex-menu-toggle { padding: .5rem .6rem; }
}
@media (max-width: 340px) {
	.gabex-logo img { width: 80px; }
	.gabex-header .wp-block-button__link { padding: .55rem .7rem; font-size: .85rem; }
}

/* Hero home, pełnoekranowe foto z 2 CTA (makieta home-desktop.jpg) */
/* alignfull nie wychodzi poza globalny padding root, wycofujemy go dla hero */
.gabex-hero.alignfull {
	margin-left: calc(-1 * clamp(1rem, 4vw, 2rem)) !important;
	margin-right: calc(-1 * clamp(1rem, 4vw, 2rem)) !important;
	max-width: none;
}
.gabex-hero .wp-block-buttons { gap: 1rem; }
.gabex-hero .is-style-outline .wp-block-button__link {
	border-width: 2px;
	background: rgba(29,31,36,.25);
}
.gabex-hero .is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink) !important;
}
@media (max-width: 900px) {
	.gabex-hero { min-height: 440px !important; }
	.gabex-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.gabex-hero .wp-block-button { width: 100%; }
	.gabex-hero .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
}

/* Pasek USP pod hero, ikonografia (Producent / Dostawa / Doradztwo / Omnibus) */
.gabex-usp {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
}
.gabex-usp li {
	display: flex; align-items: center; gap: 0.7rem;
	font-weight: 700; font-size: 1rem;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--montserrat);
}
.gabex-usp svg { width: 30px; height: 30px; flex: 0 0 auto; color: var(--wp--preset--color--slate); }
@media (max-width: 900px) {
	.gabex-usp { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
	.gabex-usp li { font-size: 0.9rem; }
	.gabex-usp svg { width: 26px; height: 26px; }
}

/* Sekcja: pionowe menu kategorii + banner (jak na starej stronie) */
.gabex-menu-banner { align-items: stretch; }
.gabex-menu-banner > .wp-block-column { display: flex; }
.gabex-menu-banner > .wp-block-column > * { width: 100%; }
.gabex-catmenu-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	padding: 0 0 0.4rem;
	overflow: hidden;
}
.gabex-catmenu-title {
	margin: 0 !important;
	padding: 0.85rem 1.25rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--red) !important;
	text-transform: uppercase;
	letter-spacing: .5px;
}
ul.gabex-catmenu { list-style: none; margin: 0; padding: 0.35rem 0; }
ul.gabex-catmenu li { margin: 0; }
ul.gabex-catmenu li a {
	display: block;
	padding: 0.6rem 1.25rem;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-weight: 600;
	font-size: .95rem;
	border-left: 3px solid transparent;
	transition: background .12s ease, color .12s ease, border-color .12s ease;
}
ul.gabex-catmenu li a:hover {
	background: var(--wp--preset--color--light);
	color: var(--wp--preset--color--red);
	border-left-color: var(--wp--preset--color--red);
}
.gabex-menu-banner .wp-block-cover { width: 100%; height: 100%; }
@media (max-width: 782px) {
	.gabex-menu-banner > .wp-block-column[style] { flex-basis: 100% !important; }
	.gabex-menu-banner .wp-block-cover { min-height: 300px; }
}

/* Gridy WooCommerce (shortcode), CSS Grid zamiast float, równe rzędy */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}
@media (max-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .woocommerce ul.products { grid-template-columns: 1fr; } }

/* Kafle kategorii (shortcode [product_categories]), duże zdjęcia z etykietą na obrazie (makieta home).
   Obraz z pola obrazka kategorii; brak obrazka → placeholder WC na jasnym tle. Cały kafel to link. */
.gabex-cat-tiles { position: relative; z-index: 5; }
.gabex-cat-tiles ul.products li.product-category {
	position: relative;
	border: none;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 1 / 1.05;
	box-shadow: 0 14px 34px rgba(29,31,36,.18);
	background: var(--wp--preset--color--light);
}
.gabex-cat-tiles ul.products li.product-category::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(29,31,36,.62) 0%, rgba(29,31,36,0) 55%);
	pointer-events: none;
	transition: background .15s ease;
}
.gabex-cat-tiles ul.products li.product-category a {
	position: absolute; inset: 0;
	display: block; padding: 0;
}
.gabex-cat-tiles ul.products li.product-category img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	margin: 0;
	transition: transform .25s ease;
}
.gabex-cat-tiles ul.products li.product-category:hover img { transform: scale(1.05); }
.gabex-cat-tiles ul.products li.product-category h2,
.gabex-cat-tiles ul.products li.product-category h3 {
	position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1rem; z-index: 2;
	padding: 0; margin: 0;
	font-size: 1.35rem; font-weight: 800;
	color: var(--wp--preset--color--white);
	text-shadow: 0 1px 8px rgba(29,31,36,.5);
}
.gabex-cat-tiles ul.products li.product-category .count { display: none; }
.gabex-cat-tiles ul.products li.product-category a:focus-visible {
	outline: 3px solid var(--wp--preset--color--red); outline-offset: 3px; border-radius: 14px;
}
@media (max-width: 1024px) { .gabex-cat-tiles ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.gabex-cat-tiles ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	.gabex-cat-tiles ul.products li.product-category h2,
	.gabex-cat-tiles ul.products li.product-category h3 { font-size: 1.05rem; left: .85rem; right: .85rem; bottom: .7rem; }
}

/* Karta produktu, równe karty: cena i przycisk zawsze na tej samej wysokości */
.woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	padding: 0.75rem;
	transition: box-shadow .15s ease, transform .15s ease;
}
.woocommerce ul.products li.product:hover {
	box-shadow: 0 8px 24px rgba(29,31,36,.10);
	transform: translateY(-2px);
}
/* link wrapujący obraz/tytuł/cenę, kolumna wypełniająca kartę */
.woocommerce ul.products li.product > a {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
}
/* obraz zawsze tej samej wysokości */
.woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	margin: 0 0 0.75rem;
	background: var(--wp--preset--color--light);
}
/* tytuł „rośnie" i spycha cenę na dół, niezależnie od liczby linii */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	flex: 1 1 auto;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	padding: 0;
}
/* cena zawsze na tym samym poziomie (dół linku) */
.woocommerce ul.products li.product .price {
	margin: 0;
	padding-top: 0.6rem;
}
/* cena „od X zł" z helpera pluginu (ticket 01/08) */
.gabex-price__from { color: var(--wp--preset--color--muted); font-weight: 600; font-size: .85rem; }
.gabex-price__value { font-weight: 800; color: var(--wp--preset--color--ink); font-size: 1.05rem; }
.gabex-price__value .woocommerce-Price-currencySymbol { font-weight: 700; }
.gabex-price__unit { color: var(--wp--preset--color--muted); font-weight: 600; font-size: .85rem; }

/* badge dostępności na miniaturze (zamiast badge promocji) */
.woocommerce ul.products li.product { position: relative; }
.gabex-badge-availability {
	position: absolute; top: 1.05rem; left: 1.05rem; z-index: 2;
	padding: .22rem .65rem;
	background: rgba(255,255,255,.92);
	border-radius: 999px;
	font-size: .72rem; font-weight: 700; letter-spacing: .2px;
	color: #1c7a3e;
	pointer-events: none;
}
.gabex-badge-availability--onbackorder { color: #8a6100; }
.gabex-badge-availability--outofstock { color: var(--wp--preset--color--red-dark); }

/* przycisk karty: „+ do wyceny" (tekst z pluginu, plus doklejony w CSS) */
button.gabex-add-quote--loop::before { content: "+ "; font-weight: 800; }
/* przycisk zawsze na dole karty, pełna szerokość; makieta: pełna czerwień */
.woocommerce ul.products li.product .gabex-add-quote--loop {
	margin-top: 0.75rem;
	width: 100%;
	text-align: center;
	background: var(--wp--preset--color--red);
	border-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--white);
}
.woocommerce ul.products li.product .gabex-add-quote--loop:hover {
	background: var(--wp--preset--color--red-dark);
	border-color: var(--wp--preset--color--red-dark);
	color: var(--wp--preset--color--white);
}

/* Kreator doboru na stronie głównej */
.gabex-finder {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 8px 30px rgba(29,31,36,.06);
}
.gabex-finder__group { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.gabex-finder__label {
	flex: 0 0 170px;
	font-weight: 700; font-size: .85rem;
	color: var(--wp--preset--color--slate);
	text-transform: uppercase; letter-spacing: .5px;
}
@media (max-width: 782px) {
	.gabex-finder__group { flex-direction: column; align-items: stretch; gap: .6rem; }
	.gabex-finder__label { flex-basis: auto; }
}
.gabex-finder__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.gabex-finder__pill input,
.gabex-finder__color input { position: absolute; opacity: 0; width: 0; height: 0; }
.gabex-finder__pill span {
	display: inline-block; padding: .55rem 1.1rem;
	border: 1.5px solid var(--wp--preset--color--line); border-radius: 999px;
	font-weight: 600; font-size: .92rem; color: var(--wp--preset--color--ink);
	cursor: pointer; white-space: nowrap;
	transition: border-color .12s ease, color .12s ease;
}
.gabex-finder__pill:hover span { border-color: var(--wp--preset--color--red); color: var(--wp--preset--color--red); }
.gabex-finder__pill input:checked + span {
	border-color: var(--wp--preset--color--red); color: var(--wp--preset--color--red);
	box-shadow: 0 0 0 1px var(--wp--preset--color--red) inset;
}
.gabex-finder__pill input:focus-visible + span { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; }
.gabex-finder__colors { display: flex; flex-wrap: wrap; gap: .6rem; }
.gabex-finder__swatch {
	display: flex; flex-direction: column; align-items: center; gap: .3rem;
	width: 74px; padding: .4rem;
	border: 2px solid var(--wp--preset--color--line); border-radius: 10px;
	cursor: pointer; background: var(--wp--preset--color--white);
	transition: border-color .12s ease;
}
.gabex-finder__swatch img { width: 52px; height: 52px; object-fit: cover; border-radius: 7px; background: var(--wp--preset--color--light); }
.gabex-finder__color-name { font-size: .72rem; font-weight: 600; color: var(--wp--preset--color--ink); text-align: center; line-height: 1.15; }
.gabex-finder__color:hover .gabex-finder__swatch { border-color: var(--wp--preset--color--red); }
.gabex-finder__color input:checked + .gabex-finder__swatch {
	border-color: var(--wp--preset--color--red);
	box-shadow: 0 0 0 1px var(--wp--preset--color--red) inset;
}
.gabex-finder__color input:focus-visible + .gabex-finder__swatch { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; }
.gabex-finder__submit {
	align-self: flex-start;
	padding: .8rem 1.9rem; border: none; border-radius: 999px;
	background: var(--wp--preset--color--red); color: var(--wp--preset--color--white);
	font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
	transition: background .15s ease;
}
.gabex-finder__submit:hover { background: var(--wp--preset--color--red-dark); }

/* Archiwum produktów: sortowanie + licznik wyników w brandzie */
.gabex-archive-toolbar {
	display: flex; justify-content: space-between; align-items: center;
	gap: 1rem; flex-wrap: wrap;
	margin: 1.25rem 0 1.75rem;
}
.gabex-archive-toolbar .woocommerce-result-count { margin: 0; }
.gabex-archive-pagination { margin-top: 2.5rem; }
.gabex-archive-pagination ul.page-numbers {
	display: flex; gap: .4rem; justify-content: center;
	list-style: none; margin: 0; padding: 0;
}
.gabex-archive-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 .5rem;
	border: 1.5px solid var(--wp--preset--color--line); border-radius: 10px;
	font-weight: 700; color: var(--wp--preset--color--ink); text-decoration: none;
}
.gabex-archive-pagination .page-numbers.current {
	background: var(--wp--preset--color--red); border-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--white);
}
.gabex-archive-pagination a.page-numbers:hover { border-color: var(--wp--preset--color--red); color: var(--wp--preset--color--red); }
.woocommerce .woocommerce-result-count { color: var(--wp--preset--color--muted); font-weight: 600; }
.woocommerce .woocommerce-ordering select {
	padding: .6rem 2.2rem .6rem 1rem;
	border: 1.5px solid var(--wp--preset--color--line); border-radius: 999px;
	background: var(--wp--preset--color--white);
	font: inherit; font-weight: 600; color: var(--wp--preset--color--ink);
	cursor: pointer;
}
.woocommerce .woocommerce-ordering select:focus { border-color: var(--wp--preset--color--red); outline: none; }

/* Opis kategorii nad listingiem, spokojniejsza typografia */
.woocommerce .term-description { color: var(--wp--preset--color--graphite); max-width: 980px; }
.woocommerce .term-description h2,
.woocommerce .term-description h3 { margin-top: 1.5rem; }

/* Tekst SEO na dole strony głównej */
.gabex-seo-text p { color: var(--wp--preset--color--graphite); line-height: 1.7; }

/* Karta produktu: cross-sell nad opisem, czyści float galerii/summary */
.single-product .related.products { clear: both; }

/* Stopka: linki czytelne na ciemnym tle (domyślny slate tonie na ink) */
footer.wp-block-group a { color: #c7c7cd; }
footer.wp-block-group a:hover { color: #fff; }

/* Stopka: karta „osobistego eksperta", telefon mocno wyeksponowany */
.gabex-expert p { margin: 0; }
.gabex-expert a { color: #fff; text-decoration: none; }
.gabex-expert a:hover { color: #fff; text-decoration: underline; }
.gabex-expert a:focus-visible { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; border-radius: 4px; }

/* Strona /wycena/ (ticket 10): mikro-trust + „co dalej" */
.gabex-trust-pills {
	list-style: none; margin: 0 0 2rem; padding: 0;
	display: flex; flex-wrap: wrap; gap: .6rem;
}
.gabex-trust-pills li {
	padding: .45rem 1rem;
	background: var(--wp--preset--color--light);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	font-size: .88rem; font-weight: 600;
	color: var(--wp--preset--color--slate);
}
.gabex-trust-pills li::before { content: "✓ "; color: #1c7a3e; font-weight: 800; }

.gabex-next-steps__list {
	list-style: none; margin: 1rem 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
	counter-reset: next;
}
.gabex-next-steps__list li { position: relative; padding-left: 3rem; counter-increment: next; }
.gabex-next-steps__list li::before {
	content: counter(next);
	position: absolute; left: 0; top: 0;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.1rem; height: 2.1rem; border-radius: 50%;
	background: var(--wp--preset--color--red); color: var(--wp--preset--color--white);
	font-weight: 800;
}
.gabex-next-steps__list strong { display: block; color: var(--wp--preset--color--ink); }
.gabex-next-steps__list span { color: var(--wp--preset--color--graphite); font-size: .95rem; }
@media (max-width: 782px) {
	.gabex-next-steps__list { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* /wycena/ mobile: wiersze formularza w jedną kolumnę */
@media (max-width: 600px) {
	.gabex-quote__form-row { grid-template-columns: 1fr; }
	.gabex-quote__row { grid-template-columns: 48px 1fr 70px 34px; gap: .6rem; }
	.gabex-quote__thumb { width: 48px; height: 48px; }
}

/* Shell kalkulatora m² (ticket 13), pola nieaktywne do czasu logiki (ADR-0001) */
.gabex-calc {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	padding: 1.75rem;
	box-shadow: 0 8px 30px rgba(29,31,36,.06);
	margin-top: 1.5rem;
}
.gabex-calc__notice {
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	background: var(--wp--preset--color--light);
	border-left: 3px solid var(--wp--preset--color--red);
	border-radius: 10px;
	color: var(--wp--preset--color--graphite);
	font-size: .95rem; line-height: 1.55;
}
.gabex-calc__notice strong { color: var(--wp--preset--color--ink); }
.gabex-calc__fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem; align-items: end;
}
.gabex-calc__fields label { font-weight: 600; font-size: .9rem; color: var(--wp--preset--color--slate); }
.gabex-calc__fields input,
.gabex-calc__fields select {
	display: block; width: 100%; margin-top: .35rem; padding: .7rem .8rem;
	border: 1px solid var(--wp--preset--color--line); border-radius: 8px;
	font: inherit; background: var(--wp--preset--color--light);
}
.gabex-calc__or { align-self: center; color: var(--wp--preset--color--muted); font-weight: 600; text-align: center; }
.gabex-calc__result {
	margin-top: 1.5rem; padding: 1.25rem 1.5rem;
	border: 1.5px dashed var(--wp--preset--color--line); border-radius: 10px;
	display: flex; flex-direction: column; gap: .3rem;
}
.gabex-calc__result-label {
	font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
	color: var(--wp--preset--color--muted);
}
.gabex-calc__result-value { color: var(--wp--preset--color--graphite); }

/* Sticky UI (ticket 09): telefon + callback + mini-Wycena */
.gabex-sticky {
	position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
	display: flex; flex-direction: column; gap: .6rem;
}
.gabex-sticky__item {
	display: flex; align-items: center; gap: .5rem;
	padding: .65rem 1rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(29,31,36,.14);
	font: inherit; font-weight: 700; font-size: .9rem;
	color: var(--wp--preset--color--ink);
	text-decoration: none; cursor: pointer;
}
.gabex-sticky__item svg { width: 20px; height: 20px; flex: 0 0 auto; }
.gabex-sticky__item:hover { border-color: var(--wp--preset--color--red); color: var(--wp--preset--color--red); }
.gabex-sticky__item:focus-visible { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; }
.gabex-sticky__quote {
	background: var(--wp--preset--color--red); border-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--white);
}
.gabex-sticky__quote:hover { background: var(--wp--preset--color--red-dark); color: var(--wp--preset--color--white); }

@media (max-width: 900px) {
	/* Dolny pasek na mobile; padding na body, żeby nie zasłaniał treści/stopki */
	body { padding-bottom: 60px; }
	.gabex-sticky {
		left: 0; right: 0; bottom: 0;
		flex-direction: row;
		background: var(--wp--preset--color--white);
		border-top: 1px solid var(--wp--preset--color--line);
		box-shadow: 0 -8px 24px rgba(29,31,36,.10);
		padding: .5rem .75rem;
	}
	.gabex-sticky__item {
		flex: 1 1 0; justify-content: center;
		box-shadow: none; border-radius: 10px;
		padding: .55rem .4rem; font-size: .82rem;
	}
	.gabex-sticky__phone .gabex-sticky__label { display: none; }
}

/* Modal callback */
.gabex-callback { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.gabex-callback[hidden] { display: none; }
.gabex-callback__overlay { position: absolute; inset: 0; background: rgba(29,31,36,.55); }
.gabex-callback__card {
	position: relative; width: 100%; max-width: 420px;
	background: var(--wp--preset--color--white); border-radius: 16px;
	padding: 1.75rem; box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.gabex-callback__close {
	position: absolute; top: 10px; right: 12px;
	background: none; border: none; font-size: 1.6rem; line-height: 1;
	color: var(--wp--preset--color--muted); cursor: pointer;
}
.gabex-callback__close:hover { color: var(--wp--preset--color--ink); }
.gabex-callback__title { margin: 0 0 .4rem; font-size: 1.3rem; }
.gabex-callback__lead { margin: 0 0 1.25rem; color: var(--wp--preset--color--graphite); font-size: .92rem; line-height: 1.5; }
.gabex-callback__form label { display: block; font-weight: 600; font-size: .88rem; color: var(--wp--preset--color--slate); margin-bottom: .3rem; }
.gabex-callback__form input {
	width: 100%; margin-bottom: .9rem; padding: .7rem .8rem;
	border: 1px solid var(--wp--preset--color--line); border-radius: 8px; font: inherit;
	box-sizing: border-box;
}
.gabex-callback__form input:focus { border-color: var(--wp--preset--color--red); outline: none; }
.gabex-callback__submit {
	width: 100%; padding: .9rem; border: none; border-radius: 999px;
	background: var(--wp--preset--color--red); color: var(--wp--preset--color--white);
	font: inherit; font-weight: 800; cursor: pointer;
}
.gabex-callback__submit:hover { background: var(--wp--preset--color--red-dark); }
.gabex-callback__submit:disabled { opacity: .6; cursor: wait; }
.gabex-callback__msg { margin: .8rem 0 0; font-weight: 600; font-size: .92rem; }
.gabex-callback__msg:empty { display: none; }
.gabex-callback__msg.is-ok { color: #1c7a3e; }
.gabex-callback__msg.is-err { color: var(--wp--preset--color--red-dark); }

/* Realizacje (ticket 11): filtry, siatka archiwum, galeria single */
.gabex-realizacje-filters ul {
	list-style: none; margin: 1.25rem 0 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: .5rem;
}
.gabex-filter-pill {
	display: inline-block; padding: .5rem 1.1rem;
	border: 1.5px solid var(--wp--preset--color--line); border-radius: 999px;
	font-weight: 600; font-size: .92rem;
	color: var(--wp--preset--color--ink); text-decoration: none;
	transition: border-color .12s ease, color .12s ease;
}
.gabex-filter-pill:hover { border-color: var(--wp--preset--color--red); color: var(--wp--preset--color--red); }
.gabex-filter-pill.is-active {
	border-color: var(--wp--preset--color--red);
	background: var(--wp--preset--color--red); color: var(--wp--preset--color--white);
}
.gabex-filter-pill:focus-visible { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; }

.gabex-realizacja-card { border: 1px solid var(--wp--preset--color--line); transition: box-shadow .15s ease, transform .15s ease; }
.gabex-realizacja-card:hover { box-shadow: 0 8px 24px rgba(29,31,36,.10); transform: translateY(-2px); }
.gabex-realizacja-card .wp-block-post-featured-image img { transition: transform .2s ease; }
.gabex-realizacja-card .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.gabex-realizacja-card .wp-block-post-title a:hover { color: var(--wp--preset--color--red); }

.gabex-gallery {
	list-style: none; margin: 1.5rem 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gabex-gallery__item a { display: block; }
.gabex-gallery__img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	border-radius: 12px; background: var(--wp--preset--color--light);
	transition: transform .15s ease;
}
.gabex-gallery__item a:hover .gabex-gallery__img { transform: scale(1.02); }
.gabex-gallery__item a:focus-visible { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; border-radius: 12px; }
@media (max-width: 782px) { .gabex-gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

.gabex-realizacja-terms { margin-top: .5rem; }
.gabex-realizacja-terms a { color: var(--wp--preset--color--muted); font-weight: 600; text-decoration: none; }
.gabex-realizacja-terms a:hover { color: var(--wp--preset--color--red); }

/* Recenzje GBP (ticket 12): tytuł + karty z gwiazdkami per opinia */
.gabex-reviews { margin: 0; }
.gabex-reviews__title { text-align: center; font-size: var(--wp--preset--font-size--xx-large); }
.gabex-stars { display: inline-flex; gap: 2px; line-height: 0; }
.gabex-stars__star svg { width: 18px; height: 18px; fill: var(--wp--preset--color--line); }
.gabex-stars__star.is-on svg { fill: var(--wp--preset--color--red); }
.gabex-reviews__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.gabex-review {
	border: 1px solid var(--wp--preset--color--line); border-radius: 14px;
	background: var(--wp--preset--color--white); padding: 1.25rem 1.5rem;
	display: flex; flex-direction: column;
}
.gabex-review__quote { margin: 0; display: flex; flex-direction: column; gap: .75rem; height: 100%; }
.gabex-review__text { margin: 0; color: var(--wp--preset--color--graphite); line-height: 1.6; flex: 1; }
.gabex-review__meta { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.gabex-review__author { font-style: normal; font-weight: 700; color: var(--wp--preset--color--ink); }
.gabex-review__date { color: var(--wp--preset--color--muted); font-size: .875rem; }
@media (max-width: 1000px) { .gabex-reviews__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gabex-reviews__list { grid-template-columns: 1fr; } }

/* Polish globalny (ticket 14): intro kategorii nad listingiem, opis SEO pod listingiem */
.gabex-term-intro {
	margin: .25rem 0 0; margin-left: 0 !important; max-width: 62ch;
	color: var(--wp--preset--color--graphite); font-size: 1.05rem; line-height: 1.6;
}
.gabex-archive-desc {
	margin-top: 3rem; margin-left: 0 !important; padding-top: 2rem;
	border-top: 1px solid var(--wp--preset--color--line);
	max-width: 78ch;
	color: var(--wp--preset--color--graphite); font-size: .95rem; line-height: 1.7;
}
.gabex-archive-desc h2, .gabex-archive-desc h3 {
	font-size: 1.15rem; color: var(--wp--preset--color--ink); margin: 1.5rem 0 .5rem;
}
.gabex-archive-desc p { margin: 0 0 .75rem; }

/* Cena „od X zł" na karcie produktu, większa niż w listingu */
.single-product .summary .gabex-price__value { font-size: 1.6rem; }
.single-product .summary .gabex-price__from { font-size: 1rem; }

/* Telefon ze shortcode'u [gabex_phone_link] w stopce (code-review fix 3).
   wp:shortcode w szablonie dostaje <p> z wpautop, celujemy po href. */
.gabex-expert a[href^="tel:"] { font-size: 1.05rem; font-weight: 700; }

/* Stopka źródła opinii (dyskretna, muted) */
.gabex-reviews__source {
	display: flex; align-items: center; justify-content: center; gap: .5rem;
	margin: 1.5rem 0 0;
	font-size: .85rem; color: var(--wp--preset--color--muted);
}
.gabex-reviews__source svg { width: 16px; height: 16px; flex: none; }
.gabex-reviews__source a { color: var(--wp--preset--color--ink); font-weight: 600; text-decoration: none; }
.gabex-reviews__source a:hover { text-decoration: underline; }
.gabex-reviews__source a:focus-visible { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; border-radius: 4px; }

/* Oddziały (ticket 16): 3 karty z foto, danymi i statyczną mapą */
.gabex-branches__title { text-align: center; font-size: var(--wp--preset--font-size--xx-large); }
.gabex-branches__lead {
	text-align: center; max-width: 62ch; margin: .5rem auto 2.5rem;
	color: var(--wp--preset--color--graphite); font-size: 1.05rem; line-height: 1.6;
}
.gabex-branches__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.gabex-branch {
	display: flex; flex-direction: column; overflow: hidden;
	border: 1px solid var(--wp--preset--color--line); border-radius: 14px;
	background: var(--wp--preset--color--white);
	transition: box-shadow .15s ease, transform .15s ease;
}
.gabex-branch:hover { box-shadow: 0 8px 24px rgba(29,31,36,.10); transform: translateY(-2px); }
.gabex-branch__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--light); }
.gabex-branch__img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform .2s ease;
}
.gabex-branch:hover .gabex-branch__img { transform: scale(1.03); }
.gabex-branch__body { padding: 1.25rem 1.5rem 0; flex: 1; }
.gabex-branch__name { margin: 0 0 1rem; font-size: 1.3rem; color: var(--wp--preset--color--ink); }
.gabex-branch__num {
	display: block; margin-bottom: .15rem;
	font-size: .8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	color: var(--wp--preset--color--red);
}
.gabex-branch__contact { font-style: normal; margin: 0; }
.gabex-branch__row {
	display: flex; align-items: center; gap: .55rem; margin: 0 0 .45rem;
	color: var(--wp--preset--color--graphite); font-size: .95rem;
}
.gabex-branch__row svg { width: 17px; height: 17px; flex: none; color: var(--wp--preset--color--red); }
.gabex-branch__row a { color: var(--wp--preset--color--ink); font-weight: 600; text-decoration: none; }
.gabex-branch__row a:hover { color: var(--wp--preset--color--red); }
.gabex-branch__row a:focus-visible { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; border-radius: 4px; }
.gabex-branch__map { padding: 0 1.5rem 1.25rem; margin-top: auto; }
.gabex-branch__map-toggle {
	display: flex; align-items: center; gap: .5rem; cursor: pointer; user-select: none;
	padding: .8rem 0; font-weight: 600; font-size: .92rem;
	color: var(--wp--preset--color--ink);
	border-top: 1px solid var(--wp--preset--color--line); list-style: none;
}
.gabex-branch__map-toggle::-webkit-details-marker { display: none; }
.gabex-branch__map-toggle > svg:first-child { width: 17px; height: 17px; flex: none; color: var(--wp--preset--color--red); }
.gabex-branch__map-toggle:hover { color: var(--wp--preset--color--red); }
.gabex-branch__map-toggle:focus-visible { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; border-radius: 4px; }
.gabex-branch__chev { width: 16px; height: 16px; margin-left: auto; color: var(--wp--preset--color--graphite); transition: transform .18s ease; }
.gabex-branch__map[open] .gabex-branch__chev { transform: rotate(180deg); }
.gabex-branch__map-panel { padding-top: .5rem; }
.gabex-branch__map-img {
	width: 100%; height: auto; display: block;
	border-radius: 10px; border: 1px solid var(--wp--preset--color--line);
}
.gabex-branch__maps-btn {
	display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem;
	padding: .6rem 1.2rem;
	border: 1.5px solid var(--wp--preset--color--red); border-radius: 999px;
	color: var(--wp--preset--color--red); font-weight: 700; font-size: .92rem; text-decoration: none;
	transition: background .12s ease, color .12s ease;
}
.gabex-branch__maps-btn svg { width: 15px; height: 15px; }
.gabex-branch__maps-btn:hover { background: var(--wp--preset--color--red); color: var(--wp--preset--color--white); }
.gabex-branch__maps-btn:focus-visible { outline: 2px solid var(--wp--preset--color--red); outline-offset: 2px; }
@media (max-width: 1000px) { .gabex-branches__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gabex-branches__grid { grid-template-columns: 1fr; } }

/* Kafle wyróżnione: Dział projektowy + Nasze realizacje (src2) */
.gabex-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.gabex-feature {
	position: relative; display: flex; align-items: flex-end;
	min-height: 340px; padding: 2rem; border-radius: 16px; overflow: hidden;
	background-size: cover; background-position: center;
	text-decoration: none; color: #fff;
	transition: transform .18s ease, box-shadow .18s ease;
}
.gabex-feature::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(18,20,24,.9), rgba(18,20,24,.35) 55%, rgba(18,20,24,.05));
}
.gabex-feature:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.gabex-feature:focus-visible { outline: 3px solid var(--wp--preset--color--red); outline-offset: 3px; }
.gabex-feature__body { position: relative; max-width: 92%; }
.gabex-feature__label {
	display: inline-block; margin-bottom: .6rem;
	font-size: .74rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
	color: #fff; background: var(--wp--preset--color--red);
	padding: .28rem .75rem; border-radius: 999px;
}
.gabex-feature__title { margin: 0 0 .5rem; color: #fff; font-size: 1.5rem; line-height: 1.2; }
.gabex-feature__desc { margin: 0 0 1rem; color: rgba(255,255,255,.92); font-size: .98rem; line-height: 1.55; }
.gabex-feature__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .95rem; color: #fff; }
.gabex-feature__more::after { content: "\2192"; transition: transform .18s ease; }
.gabex-feature:hover .gabex-feature__more::after { transform: translateX(4px); }
@media (max-width: 820px) { .gabex-feature-grid { grid-template-columns: 1fr; } .gabex-feature { min-height: 280px; } }

/* ══════════════════════════════════════════════════════════════════════════
   GABEX-NEW, warstwa „blueprint" (odwzorowanie makiety z Claude Design).
   Nadpisuje wygląd nad bazą; struktura shortcode'ów bez zmian.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
	--gx-bg: #f4f4f5;
	--gx-surface: #ececee;
	--gx-ink: #17191a;
	--gx-red: #e30613;
	--gx-red-700: #b7050f;
	--gx-line: color-mix(in srgb, #17191a 15%, transparent);
	--gx-muted: color-mix(in srgb, #17191a 55%, transparent);
	--gx-fh: "Barlow Condensed", "Barlow", system-ui, sans-serif;
	--gx-fb: "Barlow", system-ui, sans-serif;
	--gx-max: 1440px;
}

body { background: var(--gx-bg); color: var(--gx-ink); font-family: var(--gx-fb); -webkit-font-smoothing: antialiased; }
.gx-main h1, .gx-main h2, .gx-main h3, .gx-main h4,
.gx-head__title { font-family: var(--gx-fh); font-weight: 600; letter-spacing: -.015em; }

/* Kwadratowa geometria, nadpisanie zaokrągleń z bazy */
.gx-main .wp-block-button__link,
.gx-header .wp-block-button__link,
.gx-btn, .gx-search .wp-block-search__button, .gx-search .wp-block-search__input,
.gx-quote-btn { border-radius: 0 !important; }

/*, ramka blueprint + znaczniki narożników, */
.blueprint { position: relative; }
.blueprint > .corner {
	position: absolute; width: 11px; height: 11px; pointer-events: none;
	color: color-mix(in srgb, var(--gx-ink) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

/*, przyciski gx, */
.gx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	font-family: var(--gx-fh); font-weight: 600; font-size: .97rem; letter-spacing: .01em;
	line-height: 1; text-decoration: none; cursor: pointer;
	padding: .8rem 1.4rem; border: 1px solid var(--gx-line); background: #fff; color: var(--gx-ink);
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.gx-btn--primary { background: var(--gx-red); border-color: var(--gx-red); color: #fff; }
.gx-btn--primary:hover { background: var(--gx-red-700); border-color: var(--gx-red-700); color: #fff; }
.gx-btn--ghost { background: #fff; }
.gx-btn--ghost:hover { border-color: var(--gx-ink); }
.gx-btn--outline-light { background: transparent; color: #f4f4f5; border-color: rgba(244,244,245,.4); }
.gx-btn--outline-light:hover { border-color: #f4f4f5; }

/*, topbar, */
.gx-topbar { background: var(--gx-ink); color: #f4f4f5; }
.gx-topbar__inner {
	max-width: var(--gx-max); margin: 0 auto; padding: 7px 24px;
	display: flex; align-items: center; gap: 24px; font-size: 12.5px; letter-spacing: .02em;
}
.gx-topbar__hours { opacity: .72; }
.gx-topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.gx-topbar__phone { color: #f4f4f5; text-decoration: none; font-family: var(--gx-fh); font-size: 14px; letter-spacing: .04em; }
.gx-topbar__phone:hover { color: #fff; }
.gx-topbar__callback {
	background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 12.5px;
	color: color-mix(in srgb, var(--gx-red) 55%, #fff); text-decoration: underline; text-underline-offset: 3px;
}
.gx-topbar__callback:hover { color: #fff; }

/* social media (topbar + stopka) */
.gx-social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.gx-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 4px; color: inherit; transition: color .15s, background .15s;
}
.gx-social svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.gx-social--topbar { margin-left: 6px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18); }
.gx-social--topbar a { color: #f4f4f5; opacity: .82; }
.gx-social--topbar a:hover { opacity: 1; color: #fff; background: rgba(255,255,255,.1); }
.gx-social--footer { margin-right: auto; }
.gx-social--footer a { color: var(--gx-muted); }
.gx-social--footer a:hover { color: var(--gx-red); }

/*, nagłówek, */
/* sticky musi siedziec na wrapperze template-part (sam header nie ma zapasu w rodzicu) */
.gx-sticky-head { position: sticky; top: 0; z-index: 40; }
.gx-header { background: rgba(244,244,245,.94); backdrop-filter: blur(10px); }
.gx-header .gabex-logo img { height: 30px; width: auto; }
/* szukajka inline: input + czerwony przycisk */
.gx-search { flex: 1; max-width: 560px; }
.gx-search .wp-block-search__inside-wrapper { border: 1px solid var(--gx-line); background: #fff; }
.gx-search .wp-block-search__input {
	border: 0; background: #fff; height: 46px; font-size: 15px; font-family: var(--gx-fb);
	padding: 0 16px; color: var(--gx-ink);
}
.gx-search .wp-block-search__button {
	margin: 0; height: 46px; padding: 0 22px; background: var(--gx-red); color: #fff; border: 0;
	font-family: var(--gx-fh); font-weight: 600; font-size: 15px;
}
.gx-search .wp-block-search__button:hover { background: var(--gx-red-700); }
/* live search: dropdown produkty + producenci */
.gx-search { position: relative; }
.gx-ls {
	display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
	width: min(860px, 94vw); background: #fff; border: 1px solid var(--gx-line);
	box-shadow: 0 14px 34px color-mix(in srgb, var(--gx-ink) 16%, transparent);
}
.gx-ls.is-open { display: block; }
.gx-ls__grid { display: grid; grid-template-columns: 1fr 210px; }
.gx-ls__products { padding: 8px 0; }
.gx-ls__item { display: flex; align-items: center; gap: 16px; padding: 12px 18px; text-decoration: none; color: var(--gx-ink); }
.gx-ls__item:hover { background: var(--gx-bg); }
.gx-ls__item img, .gx-ls__noimg { width: 68px; height: 68px; flex: none; object-fit: cover; border: 1px solid var(--gx-line); background: var(--gx-surface); }
.gx-ls__meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gx-ls__name { font-family: var(--gx-fh); font-weight: 600; font-size: 16px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gx-ls__price { font-size: 13.5px; color: var(--gx-muted); }
.gx-ls__price .gabex-price__value { font-family: var(--gx-fh); font-weight: 600; color: var(--gx-ink); }
.gx-ls__price .gabex-price__old { font-size: 11px !important; }
.gx-ls__brands { border-left: 1px solid var(--gx-line); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--gx-bg); }
.gx-ls__head { font-family: var(--gx-fh); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gx-muted); }
.gx-ls__brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.gx-ls__brand img { width: 40px; height: 40px; object-fit: contain; border: 1px solid var(--gx-line); background: #fff; }
.gx-ls__brand span { font-family: var(--gx-fh); font-weight: 600; font-size: 15px; letter-spacing: .04em; color: var(--gx-ink); }
.gx-ls__brand:hover span { color: var(--gx-red); }
.gx-ls__all { display: block; padding: 10px 14px; border-top: 1px solid var(--gx-line); font-family: var(--gx-fh); font-weight: 600; font-size: 13.5px; color: var(--gx-red-700); text-decoration: none; }
.gx-ls__all:hover { color: var(--gx-red); background: var(--gx-bg); }
.gx-ls__empty { padding: 16px 14px; font-size: 13.5px; color: var(--gx-muted); }
@media (max-width: 760px) { .gx-ls__grid { grid-template-columns: 1fr; } .gx-ls__brands { border-left: 0; border-top: 1px solid var(--gx-line); flex-direction: row; flex-wrap: wrap; } }

/* menu główne w headerze */
.gx-header .gabex-mainmenu__list { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.gx-header .gabex-mainmenu__list a { color: var(--gx-ink); text-decoration: none; font-size: 14px; font-family: var(--gx-fb); }
.gx-header .gabex-mainmenu__list a:hover { color: var(--gx-red); }
/* menu w osobnym wierszu pod logo */
.gx-navbar { margin-top: .5rem; padding-top: .55rem; border-top: 1px solid var(--gx-line); }
.gx-navbar .gabex-mainmenu__list { flex-wrap: wrap; gap: 26px; }
.gx-navbar .gabex-mainmenu__list a { font-size: 14.5px; font-family: var(--gx-fh); letter-spacing: .01em; text-transform: uppercase; }
/* przycisk Wycena */
.gx-quote-btn {
	display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px;
	background: #fff; border: 1px solid var(--gx-line); color: var(--gx-ink);
	font-family: var(--gx-fh); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.gx-quote-btn:hover { border-color: var(--gx-ink); color: var(--gx-ink); }
.gx-quote-btn .gabex-quote-count {
	display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px;
	padding: 0 5px; background: var(--gx-red); color: #fff; font-size: 12px; border-radius: 0;
}

/*, sekcje, */
.gx-main { background: var(--gx-bg); }
.gx-section { max-width: var(--gx-max); margin: 0 auto; padding: 72px 24px 0; }
main.gx-main > .gx-section:first-child { padding-top: 56px; }
.gx-head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.gx-head__title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.125rem); margin: 0; }
.gx-head__note { font-size: 13.5px; color: var(--gx-muted); padding-bottom: 6px; }
.gx-head__link { margin-left: auto; color: var(--gx-red-700); font-family: var(--gx-fh); font-weight: 600; font-size: 14px; text-decoration: none; }
.gx-head__link:hover { color: var(--gx-red); }
.gx-tag {
	margin-bottom: 6px; align-self: center; background: color-mix(in srgb, var(--gx-red) 10%, #fff);
	color: var(--gx-red-700); font-size: 12px; padding: 3px 10px;
}
.gx-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.gx-kicker__dash { width: 26px; height: 1px; background: var(--gx-red); }
.gx-kicker__text {
	font-family: var(--gx-fh); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
	color: var(--gx-red-700);
}

/*, hero, */
.gx-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-bottom: 24px; }
.gx-hero__title { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 3.75rem); line-height: 1.02; margin: 0 0 20px; max-width: 13ch; }
.gx-hero__lead { font-size: 17.5px; line-height: 1.6; max-width: 46ch; color: color-mix(in srgb, var(--gx-ink) 78%, transparent); }
.gx-hero__cta { display: flex; gap: 12px; margin: 28px 0 34px; flex-wrap: wrap; }
.gx-hero__cta .gx-btn { height: 48px; }
.gx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gx-line); border: 1px solid var(--gx-line); }
.gx-stat { background: var(--gx-bg); padding: 14px 16px; }
.gx-stat__num { display: block; font-family: var(--gx-fh); font-size: 26px; line-height: 1; }
.gx-stat__lab { display: block; font-size: 12.5px; color: color-mix(in srgb, var(--gx-ink) 60%, transparent); }
.gx-figure { margin: 0; position: relative; aspect-ratio: 4 / 3.4; border: 1px solid var(--gx-line); background: var(--gx-surface); }
.gx-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gx-figure__cap { position: absolute; left: 0; bottom: -1px; margin: 0; background: var(--gx-ink); color: #f4f4f5; padding: 9px 16px; font-size: 12px; letter-spacing: .04em; }

/* slider hero (autoprzewijanie + strzałki + kropki, JS: assets/js/hero-slider.js) */
.gx-slider { overflow: clip; }
.gx-slider__track { position: absolute; inset: 0; display: flex; height: 100%; margin: 0!important; transition: transform .6s ease; }
.gx-slider__slide { flex: 0 0 100%; min-width: 0; height:100%; position: relative; margin:0!important; overflow:clip; }
.gx-slider__slide > p { margin:0; height:100%; }
.gx-slider__slide img { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; }
/* These two legacy tiles contain baked-in white borders and footer labels. */
.gx-slider__slide img[src$="/kafel-realizacje.webp"],
.gx-slider__slide img[src$="/kafel-projektowy.webp"] { top:-7%; height:125%; }
.gx-slider > p { margin:0; }
.gx-slider__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.gx-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 40px; height: 40px; border: 0; padding: 0; cursor: pointer;
	background: color-mix(in srgb, var(--gx-ink) 72%, transparent); color: #fff;
	font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.gx-slider__arrow:hover { background: var(--gx-ink); }
.gx-slider__arrow--prev { left: 10px; }
.gx-slider__arrow--next { right: 10px; }
.gx-slider__dots { position: absolute; right: 12px; bottom: 10px; z-index: 2; display: flex; gap: 6px; }
.gx-slider__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.gx-slider__dot.is-active { background: var(--gx-red); }
@media (prefers-reduced-motion: reduce) { .gx-slider__track { transition: none; } }

/*, siatka kategorii (shortcode gabex_cat_grid), */
.gx-catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gx-line); border: 1px solid var(--gx-line); }
.gx-catgrid__cell { background: #fff; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: background .15s ease; }
.gx-catgrid__cell:hover { background: var(--gx-bg); }
.gx-catgrid__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gx-surface); border-bottom: 1px solid var(--gx-line); }
.gx-catgrid__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gx-catgrid__cell:hover .gx-catgrid__media img { transform: scale(1.04); }
.gx-catgrid__media--empty { background: linear-gradient(135deg, var(--gx-surface), #fff); }
.gx-catgrid__body { display: flex; flex-direction: column; gap: 5px; padding: 18px 20px; flex: 1; }
.gx-catgrid__name { font-family: var(--gx-fh); font-size: 20px; color: var(--gx-ink); }
.gx-catgrid__meta { font-size: 12.5px; color: var(--gx-muted); }
.gx-catgrid__more { margin-top: 10px; font-size: 13px; color: var(--gx-red-700); }

/*, kalkulator promo, */
.gx-calc { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--gx-line); }
.gx-calc__intro { padding: 36px 40px; border-right: 1px solid var(--gx-line); }
.gx-calc__kicker { display: block; margin-bottom: 12px; }
.gx-calc__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2rem); margin: 0 0 10px; }
.gx-calc__desc { font-size: 14.5px; max-width: 42ch; color: color-mix(in srgb, var(--gx-ink) 70%, transparent); margin: 0 0 24px; }
.gx-calc__preview { padding: 36px 40px; background: var(--gx-bg); }
.gx-calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gx-line); border: 1px solid var(--gx-line); }
.gx-calc__cell { background: #fff; padding: 18px; }
.gx-calc__cell--wide { grid-column: 1 / -1; }
.gx-calc__lab { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gx-muted); }
.gx-calc__val { display: block; font-family: var(--gx-fh); font-size: 34px; line-height: 1.1; }
.gx-calc__val--accent { color: var(--gx-red); }
.gx-calc__hint { display: block; font-size: 12.5px; color: color-mix(in srgb, var(--gx-ink) 60%, transparent); margin-top: 4px; }

/*, dwa kafle realizacje, */
.gx-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gx-feature { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--gx-line); text-decoration: none; color: inherit; }
.gx-feature__media { display: block; height: 220px; overflow: hidden; position: relative; }
.gx-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Naturalne zdjęcie na kaflach (bez czerwonego filtra), lekkie przyciemnienie pod tekst gdy trzeba */
.gx-duotone::after { content: none; }
.gx-duotone img { filter: none; }
.gx-feature__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px 32px; }
.gx-feature__title { font-family: var(--gx-fh); font-weight: 600; font-size: 27px; line-height: 1.1; }
.gx-feature__desc { font-size: 14.5px; color: color-mix(in srgb, var(--gx-ink) 72%, transparent); max-width: 46ch; }
.gx-feature__more { margin-top: 6px; }

/*, marki, */
.gx-brands { border-top: 1px solid var(--gx-line); border-bottom: 1px solid var(--gx-line); padding: 22px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.gx-brands__label { font-family: var(--gx-fh); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--gx-ink) 50%, transparent); }
.gx-brands__list { display: flex; gap: 12px 36px; flex-wrap: wrap; align-items: center; font-family: var(--gx-fh); font-size: 19px; letter-spacing: .04em; color: color-mix(in srgb, var(--gx-ink) 62%, transparent); }
/* logotypy: jeden slot (wysokosc 34px, max 130px szerokosci), skalowane proporcjonalnie, mono do hovera */
.gx-brands__item { display: inline-flex; align-items: center; justify-content: center; height: 34px; max-width: 130px; color: inherit; text-decoration: none; }
a.gx-brands__item:hover { color: var(--gx-ink); }
.gx-brands__item img {
	display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain;
	filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .2s ease, opacity .2s ease;
}
.gx-brands__item:hover img { filter: none; opacity: 1; }
.gx-brands__item--text { font-size: 17px; line-height: 1; white-space: nowrap; }
@media (max-width: 760px) { .gx-brands__list { gap: 10px 24px; } .gx-brands__item { height: 26px; max-width: 100px; } .gx-brands__item--text { font-size: 14px; } }

/*, CTA ciemne, */
.gx-cta { margin-top: 72px; background: var(--gx-ink); color: #f4f4f5; }
.gx-cta__inner { max-width: var(--gx-max); margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.gx-cta__title { color: #f4f4f5; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.375rem); margin: 0 0 12px; }
.gx-cta__desc { font-size: 16.5px; margin: 0; opacity: .78; max-width: 52ch; }
.gx-cta__actions { display: flex; flex-direction: column; gap: 12px; }
.gx-cta__actions .gx-btn { height: 50px; }

/*, tekst SEO, */
.gx-seo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-bottom: 0; }
.gx-seo__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.75rem); margin: 0 0 14px; }
.gx-seo p { font-size: 14.5px; line-height: 1.7; color: color-mix(in srgb, var(--gx-ink) 74%, transparent); }
.gx-seo__p2 { margin-top: 44px; }

/*, WooCommerce: karty produktu w stylu blueprint, */
.gx-woo .products { gap: 20px; }
.gx-woo ul.products li.product,
.gx-woo .wc-block-grid__product { background: #fff; border: 1px solid var(--gx-line); border-radius: 0 !important; padding: 0; overflow: hidden; }
.gx-woo ul.products li.product a img { border-radius: 0 !important; margin-bottom: 0; }
.gx-woo ul.products li.product .woocommerce-loop-product__title,
.gx-woo ul.products li.product .price { padding: 0 16px; }
.gx-woo ul.products li.product .woocommerce-loop-product__title { font-family: var(--gx-fh); font-weight: 600; font-size: 17.5px; line-height: 1.18; padding-top: 12px; }
.gx-woo ul.products li.product .price { font-family: var(--gx-fh); color: var(--gx-ink); }
.gx-woo ul.products li.product .button,
.gx-woo ul.products li.product .added_to_cart { margin: 12px 16px 16px; border-radius: 0 !important; }
.gx-woo .gabex-badge-availability { border-radius: 0 !important; }

/*, recenzje: blueprint, */
.gx-reviews-wrap .gabex-reviews__title { font-family: var(--gx-fh); font-weight: 600; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.125rem); }
.gx-reviews-wrap .gabex-review { background: #fff; border: 1px solid var(--gx-line); border-radius: 0 !important; }
.gx-reviews-wrap .gabex-stars .is-on { color: var(--gx-red); }

/*, oddziały: blueprint, */
.gx-branches-wrap .gabex-branches__title { font-family: var(--gx-fh); font-weight: 600; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.125rem); }
.gx-branches-wrap .gabex-branch { background: #fff; border: 1px solid var(--gx-line); border-radius: 0 !important; overflow: hidden; }
.gx-branches-wrap .gabex-branch__map-img,
.gx-branches-wrap .gabex-branch__maps-btn { border-radius: 0 !important; }

/*, responsywność, */
@media (max-width: 1060px) {
	.gx-hero { grid-template-columns: 1fr; gap: 32px; }
	.gx-catgrid { grid-template-columns: repeat(2, 1fr); }
	.gx-cta__inner { grid-template-columns: 1fr; gap: 24px; }
	.gx-seo { grid-template-columns: 1fr; gap: 20px; }
	.gx-seo__p2 { margin-top: 0; }
}
@media (max-width: 820px) {
	.gx-features { grid-template-columns: 1fr; }
	.gx-calc { grid-template-columns: 1fr; }
	.gx-calc__intro { border-right: 0; border-bottom: 1px solid var(--gx-line); }
	.gx-topbar__hours { display: none; }
}
@media (max-width: 680px) {
	.gx-section { padding: 48px 16px 0; }
	.gx-catgrid { grid-template-columns: 1fr; }
	.gx-stats { grid-template-columns: 1fr; }
	.gx-search { display: none; }
	/* dekoracyjne narozniki wystaja poza kontener na waskich ekranach */
	.blueprint > .corner { display: none; }
}
/* pas bezpieczenstwa: nic nie robi poziomego scrolla */
html, body { overflow-x: clip; }

/* ── MOBILE: menu za przyciskiem „Menu", sidebar list za przyciskiem „Kategorie i filtry" ── */
.gx-aside-toggle { display: none; }
@media (max-width: 900px) {
	/* menu glowne schowane do klikniecia togglera (JS dodaje .is-open) */
	.gx-navbar #gabex-mainmenu { display: none; width: 100%; }
	.gx-navbar #gabex-mainmenu.is-open { display: block; }
	.gx-navbar .gabex-mainmenu__list { flex-direction: column; gap: 0; }
	.gx-navbar .gabex-mainmenu__list a { display: block; padding: 11px 0; font-size: 15px; border-bottom: 1px solid color-mix(in srgb, var(--gx-ink) 8%, transparent); }
	.gx-navbar .gabex-mainmenu__list .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 4px 14px; background: none; }
	.gx-navbar .gabex-mainmenu__list .sub-menu a { padding: 8px 0; font-size: 14px; border-bottom: 0; white-space: normal; }
	/* sidebar listy: zwiniety za przyciskiem */
	.gx-aside-toggle {
		display: flex; align-items: center; justify-content: space-between; width: 100%;
		padding: 12px 16px; margin-bottom: 14px; background: #fff; border: 1px solid var(--gx-line);
		font-family: var(--gx-fh); font-weight: 600; font-size: 15px; color: var(--gx-ink); cursor: pointer;
	}
	.gx-aside-toggle::after { content: "▾"; color: var(--gx-red); transition: transform .15s ease; }
	.gx-list__aside.is-open .gx-aside-toggle::after { transform: rotate(180deg); }
	.gx-list__aside .gx-cattree, .gx-list__aside .gx-filters { display: none; }
	.gx-list__aside.is-open .gx-cattree { display: block; }
	.gx-list__aside.is-open .gx-filters { display: flex; }
	.gx-list__aside { margin-bottom: 6px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   GLOBAL, jeden styl blueprint na CAŁEJ witrynie (nie tylko home).
   Nadpisuje starą, zaokrągloną bazę komponentów, żeby podstrony, sklep,
   koszyk, karty produktu i formularze były spójne z designem.
   ══════════════════════════════════════════════════════════════════════════ */

/* Kwadratowa geometria wszędzie */
.wp-block-button__link, .wp-element-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.wc-block-components-button, .wp-block-search__button, .wp-block-search__input,
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], select, textarea,
.woocommerce ul.products li.product, .woocommerce div.product .woocommerce-tabs,
.gabex-branch, .gabex-review, .gabex-callback__card, .gabex-callback__form input,
.gabex-callback__submit, .gabex-expert, .gabex-gallery__item, .gabex-gallery__item a,
.gabex-finder__pill span, .gabex-finder__swatch, .gabex-finder__swatch img, .gabex-finder__submit,
.gabex-sticky__item, .gabex-filter-pill, .gabex-badge-availability,
.gabex-archive-pagination a.page-numbers, .gabex-archive-pagination span.page-numbers,
.woocommerce .woocommerce-ordering select, .gabex-branch__map-img, .gabex-branch__map-img img,
.gabex-branch__maps-btn, .gabex-branch__map-panel img { border-radius: 0 !important; }

/* Przyciski Woo/rdzeń, czerwień Gabex, font nagłówkowy */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .button.alt, .wc-block-components-button {
	background: var(--gx-red); color: #fff; border: 1px solid var(--gx-red);
	font-family: var(--gx-fh); font-weight: 600; letter-spacing: .01em;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce .button.alt:hover, .wc-block-components-button:hover {
	background: var(--gx-red-700); border-color: var(--gx-red-700); color: #fff;
}

/* Pola formularzy, powierzchnia + hairline + akcent na focusie */
input[type="text"], input[type="search"], input[type="email"], input[type="tel"],
input[type="number"], input[type="password"], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
	background: #fff; border: 1px solid var(--gx-line); font-family: var(--gx-fb);
}
input:focus, select:focus, textarea:focus { border-color: var(--gx-red); outline: none; }

/* Karty produktu w sklepie/archiwach, blueprint (globalnie, nie tylko na home) */
.woocommerce ul.products li.product {
	background: #fff; border: 1px solid var(--gx-line); padding: 0; overflow: hidden;
}
.woocommerce ul.products li.product a img { margin: 0 0 0 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--gx-fh); font-weight: 600; font-size: 17.5px; line-height: 1.18; padding: 12px 16px 0;
}
.woocommerce ul.products li.product .price { font-family: var(--gx-fh); color: var(--gx-ink); padding: 0 16px; }
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .added_to_cart { margin: 12px 16px 16px; }
.woocommerce ul.products li.product .gabex-badge-availability { margin: 12px 0 0 12px; }

/* Nagłówki sekcji shortcode'owych spójne z headingami designu */
.gabex-reviews__title, .gabex-branches__title {
	font-family: var(--gx-fh); font-weight: 600; letter-spacing: -.015em;
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.125rem);
}
.gabex-stars .is-on, .gabex-review__stars .is-on { color: var(--gx-red); }

/* Karty oddziałów / opinii, hairline zamiast cienia i zaokrągleń */
.gabex-branch, .gabex-review {
	background: #fff; border: 1px solid var(--gx-line); box-shadow: none; overflow: hidden;
}

/* Stopka, „ekspert" bez zaokrąglenia, spójny z blueprint */
.gabex-expert { border-radius: 0 !important; }

/* Sticky i pigułki filtrów, kwadratowo */
.gabex-sticky__item { box-shadow: var(--shadow-sm, 0 1px 3px rgba(23,25,26,.14)); }
.gabex-filter-pill { font-family: var(--gx-fh); }

/*, STOPKA (jasna, wg makiety Design: #f4f4f5 + górna linia), */
.gx-footer { background: var(--gx-bg); border-top: 1px solid var(--gx-line); margin-top: 80px; color: var(--gx-ink); }
.gx-footer__inner {
	max-width: var(--gx-max); margin: 0 auto; padding: 48px 24px 24px;
	display: grid; grid-template-columns: 1.4fr .8fr .8fr .9fr; gap: 40px;
}
.gx-footer__logo img { height: 28px; width: auto; margin-bottom: 14px; }
.gx-footer__tagline { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--gx-muted); max-width: 34ch; }
.gx-footer__h {
	font-family: var(--gx-fh); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--gx-ink); margin: 0 0 12px;
}
.gx-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.gx-footer__col a { color: var(--gx-red-700); text-decoration: none; font-size: 14px; }
.gx-footer__col a:hover { color: var(--gx-red); }
.gx-footer__muted { color: var(--gx-muted); font-size: 14px; }
.gx-footer__bottom {
	max-width: var(--gx-max); margin: 0 auto; padding: 0 24px 36px;
	font-size: 12.5px; color: var(--gx-muted);
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.gx-footer__credit a { color: var(--gx-muted); text-decoration: none; }
.gx-footer__credit a:hover { color: var(--gx-red); }
@media (max-width: 900px) {
	.gx-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
	.gx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .gx-footer__inner { grid-template-columns: 1fr; } }

/* ── PODSTRONY: breadcrumb, nagłówek, wrappery, single product, archiwa ── */

/* okruszki */
.gx-crumbs { font-size: 13px; color: var(--gx-muted); margin-bottom: 18px; }
.gx-crumbs a { color: var(--gx-muted); text-decoration: none; }
.gx-crumbs a:hover { color: var(--gx-red); }

/* wspólny nagłówek strony (query-title / post-title na podstronach) */
main .wp-block-query-title, main .wp-block-post-title {
	font-family: var(--gx-fh); font-weight: 600; letter-spacing: -.015em; line-height: 1.04;
	font-size: clamp(2rem, 1.5rem + 2.2vw, 2.875rem); margin: 0 0 10px;
}

/* neutralizacja starych zaokrągleń + blueprint na przeniesionych komponentach */
.gabex-next-steps, .gabex-realizacja-cta, .gabex-realizacja-card,
.gabex-search-card, .gabex-archive-desc, .single-product div.product .woocommerce-product-gallery,
.single-product div.product .images img, .woocommerce-message, .woocommerce-info,
.woocommerce span.onsale, .gabex-trust-pills li { border-radius: 0 !important; }

.gabex-next-steps, .gabex-realizacja-cta {
	background: #fff !important; border: 1px solid var(--gx-line);
}
.gabex-realizacja-card, .gabex-search-card { background: #fff !important; border: 1px solid var(--gx-line); overflow: hidden; }
.gabex-realizacja-card .wp-block-post-featured-image, .gabex-search-card .wp-block-post-featured-image { border-radius: 0 !important; }
.gabex-realizacja-card .wp-block-post-featured-image img, .gabex-search-card .wp-block-post-featured-image img { border-radius: 0 !important; }

/* mikro-trust pigułki -> kwadratowe znaczniki */
.gabex-trust-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.gabex-trust-pills li {
	font-size: 12px; color: var(--gx-red-700); background: color-mix(in srgb, var(--gx-red) 8%, #fff);
	border: 1px solid color-mix(in srgb, var(--gx-red) 22%, #fff); padding: 4px 10px;
}

/* ─ WooCommerce: strona produktu w stylu blueprint ─ */
.single-product .woocommerce, .single-product #content, .single-product main .woocommerce-notices-wrapper { max-width: var(--gx-max); margin-inline: auto; }
.single-product .site-main, .single-product main { padding-left: clamp(1rem, 4vw, 1.5rem); padding-right: clamp(1rem, 4vw, 1.5rem); }
.single-product div.product { max-width: var(--gx-max); margin-inline: auto; overflow: hidden; }
.single-product div.product .woocommerce-product-gallery { float: left; width: 52%; margin: 0; border: 1px solid var(--gx-line); background: var(--gx-surface); }
.single-product div.product .summary.entry-summary { float: right; width: 44%; margin: 0; }
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .up-sells,
.single-product div.product > .upsells { clear: both; float: none; width: 100%; }
.single-product div.product .woocommerce-product-gallery img { border-radius: 0 !important; }
.single-product div.product .summary { margin: 0; }
.single-product div.product .product_title {
	font-family: var(--gx-fh); font-weight: 600; letter-spacing: -.015em; line-height: 1.05;
	font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
}
.single-product div.product p.price, .single-product div.product .price {
	font-family: var(--gx-fh); color: var(--gx-ink); font-size: 32px;
}
.single-product .woocommerce-tabs { margin-top: 48px; border: 1px solid var(--gx-line); background: #fff; padding: 0 20px; }
.single-product .related, .single-product .up-sells { margin-top: 48px; clear: both; }
.single-product .related > h2, .single-product .up-sells > h2 { font-family: var(--gx-fh); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem); margin: 0 0 20px; }
.single-product table.shop_attributes, .single-product .woocommerce-product-attributes {
	width: 100%; border-collapse: collapse; font-size: 14px;
}
.single-product table.shop_attributes th, .single-product table.shop_attributes td {
	padding: 10px 8px; border-bottom: 1px solid var(--gx-line); text-align: left;
}
@media (max-width: 900px) {
	.single-product div.product .woocommerce-product-gallery,
	.single-product div.product .summary.entry-summary { float: none; width: 100%; }
	.single-product div.product .summary.entry-summary { margin-top: 28px; }
}

/* ══ SZLIF: karta produktu (uklad 1:1 z makiety Design) ══ */
/* galeria: glowne zdjecie w ramce + kwadratowe miniatury w siatce pod spodem */
.single-product div.product .woocommerce-product-gallery { padding: 0; border: 0; background: none; }
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper { border: 1px solid var(--gx-line); background: var(--gx-surface); }
/* gdy dziala flexslider, ramke nosi viewport, taśma w srodku bez ramki */
.single-product .flex-viewport .woocommerce-product-gallery__wrapper { border: 0; background: none; }
.single-product .woocommerce-product-gallery ol.flex-control-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.single-product .woocommerce-product-gallery ol.flex-control-thumbs li { width: auto; }
.single-product .woocommerce-product-gallery ol.flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--gx-line); opacity: .65; cursor: pointer; }
.single-product .woocommerce-product-gallery ol.flex-control-thumbs img.flex-active,
.single-product .woocommerce-product-gallery ol.flex-control-thumbs img:hover { opacity: 1; border-color: var(--gx-red); }

/* summary: kolejnosc sekcji jak w makiecie (badge > tytul > cena > notka > koszyk > pomoc > tabela > meta) */
.single-product div.product .summary.entry-summary { display: flex; flex-direction: column; }
.single-product .summary .gabex-single-meta { display: contents; }
.single-product .summary .gabex-stock { order: 1; }
.single-product .summary .gabex-single-cart .gabex-stock { order: 0; }
.single-product .summary .gx-brand { order: 2; }
.single-product .summary .product_title { order: 2; }
.single-product .summary .woocommerce-product-details__short-description { order: 3; }
.single-product .summary .price { order: 4; }
.single-product .summary .gabex-loco { order: 5; }
.single-product .summary form.cart { order: 6; }
.single-product .summary .gx-advisor { order: 6; }
.single-product .summary .gabex-help-box { order: 7; }
.single-product .summary .gx-attrs { order: 8; }
.single-product .summary .gx-datasheet { order: 8; }
.single-product .summary .product_meta { order: 9; }

/* tabela parametrow: zwinieta do 7 wierszy + przycisk rozwijania */
.gx-attrs.is-collapsed table tr:nth-child(n+4) { display: none; }
.gx-attrs.is-collapsed table { position: relative; }
.gx-attrs__toggle {
	display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
	margin-top: 0; padding: 11px 14px; background: #fff; border: 1px solid var(--gx-line); border-top: 0;
	font-family: var(--gx-fh); font-weight: 600; font-size: 13.5px; color: var(--gx-red-700); cursor: pointer;
}
.gx-attrs__toggle:hover { color: var(--gx-red); background: var(--gx-bg); }
.gx-attrs__toggle span { transition: transform .15s ease; }

/* karta produktu PDF do pobrania */
.gx-datasheet {
	display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px;
	background: #fff; border: 1px solid var(--gx-line); text-decoration: none; color: var(--gx-ink);
	transition: border-color .15s ease;
}
.gx-datasheet:hover { border-color: var(--gx-red); color: var(--gx-ink); }
.gx-datasheet__icon { width: 30px; height: 30px; flex: none; color: var(--gx-red); }
.gx-datasheet__body { display: flex; flex-direction: column; gap: 2px; }
.gx-datasheet__title { font-family: var(--gx-fh); font-weight: 600; font-size: 15px; }
.gx-datasheet:hover .gx-datasheet__title { color: var(--gx-red); }
.gx-datasheet__hint { font-size: 12.5px; color: var(--gx-muted); }

/* badge dostepnosci: tag-neutral z makiety, pod opcjami wariantow (JS przenosi do formy) */
.single-product .summary .gabex-stock {
	align-self: flex-start; display: inline-flex; align-items: center;
	margin: 0; padding: 3px 10px; font-size: 11px; letter-spacing: .02em;
	background: #ececee; border: 0; color: #424244;
}
/* notka „Ważne informacje": pod badge dostępności, w stylu badge (JS przenosi do formy) */
.single-product .summary .gabex-info-note {
	margin: 8px 0 14px; font-size: 12.5px; line-height: 1.5; color: #424244;
}
.single-product .summary .gabex-info-note p { margin: 0 0 2px; color: #424244; }
.single-product .summary .gabex-info-note ul { list-style: none; margin: 0; padding: 0; }
.single-product .summary .gabex-info-note li { margin: 0 0 2px; padding-left: 15px; position: relative; }
.single-product .summary .gabex-info-note li::before {
	content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #c9c9cc;
}
.single-product .summary .gx-brand {
	align-self: flex-start; margin: 0 0 6px;
	font-family: var(--gx-fh); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
	color: var(--gx-red-700); text-decoration: none;
}
.single-product .summary .gx-brand:hover { color: var(--gx-red); }
.single-product .summary .product_title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem); line-height: 1.05; margin: 0 0 10px; }
/* cena w formacie Omnibus (3 linie) */
.summary .gabex-price--full { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.summary .gabex-price--full .gxp-main { display: flex; align-items: baseline; gap: 8px; }
.summary .gxp-vat, .summary .gxp-vat * { font-family: var(--gx-fb) !important; font-weight: 400 !important; font-size: 13px !important; color: var(--gx-muted) !important; line-height: 1.3 !important; }
.summary .gxp-omnibus, .summary .gxp-omnibus * { font-family: var(--gx-fb) !important; font-weight: 400 !important; font-size: 12.5px !important; color: var(--gx-muted) !important; line-height: 1.3 !important; }
.summary .gxp-regular, .summary .gxp-regular * { font-family: var(--gx-fb) !important; font-weight: 400 !important; font-size: 13px !important; color: var(--gx-muted) !important; line-height: 1.3 !important; }
.summary .gxp-regular del { text-decoration: line-through; }
.summary .gxp-pct, .summary .gxp-regular .gxp-pct {
	display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 7px;
	background: var(--gx-red) !important; color: #fff !important; font-family: var(--gx-fh) !important; font-weight: 600 !important; font-size: 12px !important;
}
.single-product .summary .price { margin: 22px 0 6px; }
.single-product .summary .gabex-loco { margin: 0 0 6px; font-size: 13px; }
.single-product .summary form.cart { margin: 26px 0 0; }
.single-product .summary .gabex-help-box { margin: 14px 0 0; }
/* tabela atrybutow (jak w makiecie: Producent/Wymiary/...) */
.gx-attrs { margin-top: 28px; }
.gx-attrs table.woocommerce-product-attributes { width: 100%; border-collapse: collapse; font-size: 14px; }
.gx-attrs table.woocommerce-product-attributes th { width: 45%; text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gx-muted); padding: 10px 8px; border-bottom: 1px solid var(--gx-line); background: none; font-style: normal; }
.gx-attrs table.woocommerce-product-attributes td { padding: 10px 8px; border-bottom: 1px solid var(--gx-line); color: var(--gx-ink); font-size: 14px; font-style: normal; background: none; }
.gx-attrs table.woocommerce-product-attributes td p { margin: 0; }
/* cena z helpera pluginu (40px jak w makiecie) */
.single-product .summary .price .gabex-price, .summary .gabex-price { display: flex; align-items: baseline; gap: 8px; }
.single-product .summary .price .gabex-price__from, .summary .gabex-price__from { font-size: 14px !important; color: var(--gx-muted); }
.single-product .summary .price .gabex-price__value, .summary .gabex-price__value,
.single-product .summary .price .gabex-price__value *, .summary .gabex-price__value * { font-family: var(--gx-fh) !important; font-weight: 600 !important; font-size: 40px !important; line-height: 1 !important; color: var(--gx-ink) !important; }
/* cena promocyjna na czerwono */
.single-product .summary .price .gabex-price--sale .gabex-price__value, .summary .gabex-price--sale .gabex-price__value,
.single-product .summary .price .gabex-price--sale .gabex-price__value *, .summary .gabex-price--sale .gabex-price__value * { color: var(--gx-red) !important; }
.single-product .summary .price .gabex-price__unit, .summary .gabex-price__unit { font-size: 14px !important; color: var(--gx-muted); }
.single-product .summary p.price { font-size: 40px; }
/* wybór koloru */
.gabex-colors { margin: 20px 0 4px; }
.gabex-colors__label { display: block; font-family: var(--gx-fh); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gx-muted); margin-bottom: 10px; }
.gabex-colors__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.gabex-color-opt { cursor: pointer; }
/* kropka statusu przed tekstem: zielona = dostepny, czerwona = na zamowienie/brak */
.single-product .summary .gabex-stock::before {
	content: "" !important; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
	background: #1c7a3e; margin-right: 7px; flex: none;
}
.single-product .summary .gabex-stock--onbackorder::before,
.single-product .summary .gabex-stock--outofstock::before { background: var(--gx-red); }

/* ══ WŁASNY SZABLON KARTY (woocommerce/content-single-product.php) ══ */
.gx-pd { max-width: var(--gx-max); margin: 0 auto; padding: 32px clamp(1rem, 4vw, 1.5rem) 0; }
.gx-pd__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.gx-gal__main {
	position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: visible;
	border: 1px solid var(--gx-line); background: var(--gx-surface);
}
.gx-gal__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gx-gal__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.gx-gal__thumb { padding: 0; border: 1px solid var(--gx-line); background: var(--gx-surface); cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.gx-gal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .65; transition: opacity .15s ease; }
.gx-gal__thumb.is-active, .gx-gal__thumb:hover { border-color: var(--gx-red); }
.gx-gal__thumb.is-active img, .gx-gal__thumb:hover img { opacity: 1; }
.gx-pd__info { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
/* galeria przypieta przy scrollu przez dluga kolumne parametrow */
@media (min-width: 901px) { .gx-gal { position: sticky; top: 130px; } }
/* pasek sticky "Dodaj do wyceny" (pojawia sie, gdy oryginalny przycisk zniknie z ekranu) */
.gx-buybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
	background: #fff; border-top: 1px solid var(--gx-line);
	box-shadow: 0 -8px 24px color-mix(in srgb, var(--gx-ink) 10%, transparent);
	transform: translateY(110%); transition: transform .2s ease;
}
.gx-buybar.is-visible { transform: translateY(0); }
.gx-buybar__inner {
	max-width: var(--gx-max); margin: 0 auto; padding: 10px clamp(1rem, 4vw, 1.5rem);
	display: flex; align-items: center; gap: 18px;
}
.gx-buybar__name {
	font-family: var(--gx-fh); font-weight: 600; font-size: 15.5px; color: var(--gx-ink);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1;
}
.gx-buybar__price { font-family: var(--gx-fh); font-weight: 600; font-size: 19px; white-space: nowrap; }
.gx-buybar__btn {
	flex: none; height: 44px; padding: 0 26px; border: 1px solid var(--gx-red);
	background: var(--gx-red); color: #fff; cursor: pointer;
	font-family: var(--gx-fh); font-weight: 600; font-size: 15px;
}
.gx-buybar__btn:hover { background: var(--gx-red-700); border-color: var(--gx-red-700); }
@media (max-width: 900px) { .gx-buybar { display: none; } }
/* ikona powiekszenia na zdjeciu */
.gx-gal__zoom {
	position: absolute; right: 10px; top: 10px; width: 36px; height: 36px;
	display: grid; place-items: center; border: 1px solid var(--gx-line); background: rgba(255,255,255,.92);
	color: var(--gx-ink); font-size: 16px; cursor: pointer; z-index: 2;
}
.gx-gal__zoom:hover { color: var(--gx-red); border-color: var(--gx-red); }
/* lightbox */
.gx-lb {
	position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--gx-ink) 94%, transparent);
}
.gx-lb.is-open { display: flex; }
.gx-lb__img { max-width: min(92vw, 1400px); max-height: 88vh; object-fit: contain; background: #fff; border: 1px solid rgba(244,244,245,.2); }
.gx-lb__close {
	position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
	border: 1px solid rgba(244,244,245,.35); background: none; color: #f4f4f5; font-size: 18px; cursor: pointer;
}
.gx-lb__close:hover { border-color: #f4f4f5; }
.gx-lb__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px;
	border: 1px solid rgba(244,244,245,.35); background: none; color: #f4f4f5;
	font-family: var(--gx-fh); font-size: 30px; line-height: 1; cursor: pointer;
}
.gx-lb__nav:hover { border-color: #f4f4f5; }
.gx-lb__nav--prev { left: 22px; }
.gx-lb__nav--next { right: 22px; }
.gx-lb__count {
	position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
	font-family: var(--gx-fh); font-size: 14px; letter-spacing: .06em; color: rgba(244,244,245,.75);
}
@media (max-width: 680px) { .gx-lb__nav { width: 40px; height: 52px; } .gx-lb__nav--prev { left: 8px; } .gx-lb__nav--next { right: 8px; } }
.gx-pd__below { margin-top: 56px; }
.gx-pd .gx-crumbs { margin-bottom: 18px; }
@media (max-width: 900px) { .gx-pd__grid { grid-template-columns: 1fr; gap: 28px; } }
/* swatch = goly chip 56px jak w makiecie; nazwa wybranego koloru w etykiecie (JS) */
.gabex-colors .gabex-color-swatch, .gabex-color-swatch {
	width: auto !important; height: auto !important; padding: 0 !important;
	border: 1px solid var(--gx-line) !important; border-radius: 0 !important;
	background: #fff; gap: 0 !important; box-shadow: none !important;
}
.gabex-color-swatch img { width: 56px !important; height: 56px !important; object-fit: cover; display: block; border-radius: 0 !important; background: var(--gx-surface); }
.single-product .gabex-colors .gabex-color-name,
.single-product .gabex-colors .gabex-color-note { display: none !important; }
.gabex-color-opt input:checked + .gabex-color-swatch { border-color: var(--gx-red) !important; box-shadow: 0 0 0 1px var(--gx-red) !important; }
.gabex-color-opt:hover .gabex-color-swatch { border-color: var(--gx-red); }
.gabex-color-opt input:checked ~ .gabex-color-swatch,
.gabex-color-opt.is-active .gabex-color-swatch { border-color: var(--gx-red); box-shadow: 0 0 0 1px var(--gx-red); }
.gabex-color-name { display: block; font-size: 11.5px; color: var(--gx-muted); text-align: center; margin-top: 4px; max-width: 56px; }
.gabex-color-note { font-size: 12.5px; color: var(--gx-muted); }
/* koszyk: kolory NAD wierszem ilosc+przycisk (form jest kolumna, wiersz jest flex) */
.gabex-single-cart { display: flex; flex-direction: column; gap: 16px; margin: 22px 0 10px; }
.gabex-single-row { display: flex; gap: 12px; align-items: stretch; }
.gabex-single-row .quantity { display: flex; flex: none; height: 48px; align-items: stretch; overflow: hidden; border: 1px solid var(--gx-line); background: #fff; box-sizing: border-box; }
.gabex-single-row .quantity label, .gabex-single-row .quantity .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gabex-single-row .quantity .qty { width: 56px; height: auto; align-self: stretch; border: 0; border-inline: 1px solid var(--gx-line); text-align: center; font-family: var(--gx-fh); font-size: 17px; background: #fff; padding: 0; box-sizing: border-box; }
.gabex-single-row .button, .gabex-single-row .gabex-add-quote {
	flex: 1; height: 48px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--gx-red); color: #fff; border: 1px solid var(--gx-red);
	font-family: var(--gx-fh); font-weight: 600; font-size: 15.5px; border-radius: 0 !important;
}
.gabex-single-row .button:hover { background: var(--gx-red-700); border-color: var(--gx-red-700); color: #fff; }
/* przyciski − / + steppera (dokladane JS-em), pelna wysokosc kontenera */
.gx-qty-btn {
	width: 44px; height: auto; align-self: stretch; border: 0; background: transparent; cursor: pointer;
	font-family: var(--gx-fh); font-size: 18px; color: var(--gx-ink); line-height: 1;
}
.gx-qty-btn:hover { color: var(--gx-red); }
/* przycisk "Zapytaj doradce" pod CTA */
.gx-advisor {
	width: 100%; height: 44px; margin-top: 10px; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid var(--gx-line); color: var(--gx-ink);
	font-family: var(--gx-fh); font-weight: 600; font-size: 14.5px;
}
.gx-advisor:hover { border-color: var(--gx-ink); }
/* help box "Nie wiesz ile?" */
.gabex-help-box { background: #fff; border: 1px solid var(--gx-line); padding: 16px 18px; margin: 18px 0; font-size: 13.5px; }
.gabex-help-box__link { color: var(--gx-red-700); font-weight: 600; }
.gabex-help-box__link:hover { color: var(--gx-red); }
/* meta produktu (Kategorie/Znaczniki), wylaczone na zyczenie klienta */
.single-product .product_meta, .woocommerce-breadcrumb { display: none !important; }
/* zakładki */
.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 0; margin: 0 -20px; padding: 0; list-style: none; border-bottom: 1px solid var(--gx-line); }
.single-product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.single-product .woocommerce-tabs ul.tabs li a { display: inline-flex; padding: 14px 20px; font-family: var(--gx-fh); font-weight: 600; font-size: 15px; color: var(--gx-muted); text-decoration: none; border-bottom: 2px solid transparent; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--gx-ink); border-bottom-color: var(--gx-red); }
.single-product .woocommerce-tabs .panel { padding: 24px 0; }
.single-product .woocommerce-tabs .panel > h2:first-child { font-size: 22px; margin-top: 0; }

/* ══ SZLIF: strona wyceny (plugin gabex-quote) ══ */
/* Uklad: formularz "Dane do wyceny" POD lista produktow (nie obok) */
.gabex-quote { grid-template-columns: 1fr !important; gap: 32px !important; }
.gabex-quote__form-card { max-width: 860px; }
.gabex-quote__list, .gabex-quote__form-card { background: #fff; border: 1px solid var(--gx-line); border-radius: 0 !important; box-shadow: none; }

/* Marginesy i rytm pionowy strony wyceny */
.gabex-wycena-page .wp-block-post-title { margin: 0 0 12px; }
.gabex-wycena-page .gx-crumbs { margin-bottom: 14px; }
.gabex-trust-pills { margin: 0 0 26px; }
.gabex-steps { margin: 0 0 30px !important; }
.gabex-quote-notice { margin: 0 0 22px !important; }
/* lista pozycji dostala ramke, wiec wiersze potrzebuja wewnetrznego oddechu */
.gabex-quote__list { padding: 6px 22px !important; }
.gabex-quote__row { padding: 16px 0 !important; }
.gabex-quote__row:last-child { border-bottom: 0 !important; }
.gabex-quote__update { margin-top: 16px !important; }
/* karta formularza */
.gabex-quote__form-card { padding: 26px 28px 30px !important; }
.gabex-quote__form-card h2 { font-family: var(--gx-fh); font-weight: 600; font-size: 24px; margin: 0 0 18px; }
.gabex-quote__form label { margin-bottom: 14px !important; }
.gabex-quote__fieldset { margin: 0 0 10px !important; }
.gabex-quote__fieldset legend { margin-bottom: 10px; }
.gabex-quote__submit { margin-top: 12px !important; }
.gabex-transport-note { margin-top: 22px !important; border-radius: 0 !important; }
/* sekcja "Co sie stanie po wyslaniu" (na gorze strony, przed lista) */
/* margin-left/right zostaja (WP centruje przez auto), nadpisujemy tylko gore/dol */
.gabex-next-steps { margin-top: 0 !important; margin-bottom: 32px !important; padding: 24px 28px !important; }
.gabex-next-steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; list-style: none; counter-reset: gxstep; }
.gabex-next-steps__list li { counter-increment: gxstep; }
.gabex-next-steps__list li::before { content: counter(gxstep, decimal-leading-zero); display: block; font-family: var(--gx-fh); font-weight: 600; font-size: 30px; line-height: 1; color: var(--gx-red); margin-bottom: 8px; }
.gabex-next-steps__list li strong { display: block; font-family: var(--gx-fh); font-weight: 600; font-size: 17px; margin-bottom: 3px; }
.gabex-next-steps__list li span { font-size: 13.5px; color: var(--gx-muted); }
@media (max-width: 780px) { .gabex-next-steps__list { grid-template-columns: 1fr; gap: 16px; } }
.gabex-next-steps h2 { margin: 0 0 16px; }
.gabex-next-steps__list { margin: 0; }
@media (max-width: 680px) {
	.gabex-quote__list { padding: 2px 14px !important; }
	.gabex-quote__form-card { padding: 20px 16px 24px !important; }
	.gabex-next-steps { padding: 20px 16px !important; }
}
.gabex-quote__row { border-bottom: 1px solid var(--gx-line); }
.gabex-quote__thumb, .gabex-quote__thumb img { border-radius: 0 !important; }
.gabex-quote__name { font-family: var(--gx-fh); font-weight: 600; }
.gabex-quote__qty input { border: 1px solid var(--gx-line); border-radius: 0 !important; height: 38px; text-align: center; font-family: var(--gx-fh); }
.gabex-quote__remove { color: var(--gx-muted); }
.gabex-quote__remove:hover { color: var(--gx-red); }
.gabex-quote__submit, .gabex-quote__update { border-radius: 0 !important; font-family: var(--gx-fh); font-weight: 600; }
.gabex-quote-notice { border-radius: 0 !important; border: 1px solid var(--gx-line); background: #fff; padding: 12px 16px; }
.gabex-quote-notice--ok { border-color: #1a7f37; color: #1a7f37; }
.gabex-quote-notice--err { border-color: var(--gx-red); color: var(--gx-red); }
.gabex-quote__empty { background: #fff; border: 1px solid var(--gx-line); padding: 48px 28px; text-align: center; }

/* ══ SZLIF: komunikaty Woo, badge promocji, drobiazgi ══ */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border: 1px solid var(--gx-line); border-top: 2px solid var(--gx-red);
	background: #fff; color: var(--gx-ink); border-radius: 0 !important; font-size: 14px;
}
.woocommerce span.onsale, span.onsale {
	position: absolute; top: 0; left: 0; z-index: 2; min-height: 0; line-height: 1;
	background: var(--gx-red); color: #fff; border-radius: 0 !important;
	font-family: var(--gx-fh); font-weight: 600; font-size: 12px; letter-spacing: .04em;
	padding: 6px 10px; margin: 0;
}
.gabex-badge-availability { font-family: var(--gx-fh); font-weight: 600; font-size: 11.5px; letter-spacing: .04em; }
/* tytuły kart nie rozpychają siatki */
.gx-woo ul.products li.product .woocommerce-loop-product__title { min-height: 2.4em; }
/* breadcrumb: mniejszy odstęp pod topbarem */
.gx-main > .wp-block-group:first-child .gx-crumbs, main .gx-crumbs { margin-top: 4px; }

/* ─ Archiwa/sklep: nagłówek listy + odstęp ─ */
.woocommerce .gabex-archive-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin: 8px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--gx-line);
	font-family: var(--gx-fb);
}
/* opisy kategorii: pelna szerokosc contentu (auto-marginesy WP zostaja) */
.gabex-term-intro { color: var(--gx-muted); width: 100%; max-width: 1440px !important; margin: 0 auto 24px !important; font-size: 15px; }
.gabex-archive-desc { width: 100%; max-width: 1440px !important; margin: 40px auto 0 !important; border-top: 1px solid var(--gx-line); padding-top: 28px; }
.gabex-archive-desc h2 { font-family: var(--gx-fh); font-weight: 600; font-size: 24px; margin: 0 0 12px; }
.gabex-archive-desc h3 { font-family: var(--gx-fh); font-weight: 600; font-size: 19px; margin: 18px 0 8px; }
.gabex-archive-desc p { font-size: 14.5px; line-height: 1.7; color: color-mix(in srgb, var(--gx-ink) 72%, transparent); margin: 0 0 12px; }

/* ── LISTA PRODUKTÓW: sidebar filtrów + siatka ── */
.gx-list { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.gx-list__aside { position: sticky; top: 96px; }
.gx-filters { background: #fff; border: 1px solid var(--gx-line); padding: 22px 20px; display: flex; flex-direction: column; gap: 22px; }
.gx-filters__group + .gx-filters__group { border-top: 1px solid var(--gx-line); padding-top: 18px; }
.gx-filters__h { font-family: var(--gx-fh); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.gx-filters__colors { display: flex; flex-wrap: wrap; gap: 10px; }
.gx-swatch { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; width: 58px; }
.gx-swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.gx-swatch__chip { width: 40px; height: 40px; border: 1px solid var(--gx-line); background: var(--gx-surface) center/cover no-repeat; }
.gx-swatch.is-active .gx-swatch__chip, .gx-swatch:hover .gx-swatch__chip { border-color: var(--gx-red); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--gx-red); }
.gx-swatch__name { font-size: 11.5px; color: var(--gx-muted); text-align: center; }
.gx-swatch.is-active .gx-swatch__name { color: var(--gx-red-700); }
.gx-radio { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; margin-bottom: 9px; }
.gx-radio:last-child { margin-bottom: 0; }
.gx-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.gx-radio__dot { width: 16px; height: 16px; flex: none; border: 1.5px solid var(--gx-line); border-radius: 50%; }
.gx-radio__dot--sq { border-radius: 0; }
.gx-radio:hover .gx-radio__dot { border-color: var(--gx-red); }
.gx-radio input:checked + .gx-radio__dot { border-color: var(--gx-red); background: var(--gx-red); box-shadow: inset 0 0 0 3px #fff; }
.gx-radio input:checked + .gx-radio__dot--sq { box-shadow: inset 0 0 0 3px #fff; }
.gx-filters__actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.gx-btn--block { width: 100%; }
.gx-filters__clear { font-size: 13px; color: var(--gx-muted); text-decoration: underline; text-underline-offset: 2px; }
.gx-filters__clear:hover { color: var(--gx-red); }
@media (max-width: 900px) { .gx-list { grid-template-columns: 1fr; } .gx-list__aside { position: static; } }

/* ── Strona 404 (blueprint, z humorem) ── */
.gx-404 { max-width: 720px; margin: 0 auto; text-align: center; }
.gx-404__digits { display: flex; justify-content: center; gap: 22px; margin-bottom: 34px; }
.gx-404__digit {
	position: relative; width: 96px; height: 96px; display: grid; place-items: center;
	background: #fff; border: 1px solid var(--gx-line);
	font-family: var(--gx-fh); font-weight: 600; font-size: 56px; line-height: 1; color: var(--gx-ink);
}
.gx-404__digit--red { background: var(--gx-red); border-color: var(--gx-red); color: #fff; transform: rotate(-4deg); }
.gx-404__digit:first-child { transform: rotate(2deg); }
.gx-404__digit:last-child { transform: rotate(3deg); }
.gx-404__title { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.375rem); line-height: 1.1; margin: 0 0 12px; }
.gx-404__lead { font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--gx-ink) 72%, transparent); max-width: 54ch; margin: 0 auto 26px; }
.gx-404__search { display: flex; max-width: 460px; margin: 0 auto 18px; border: 1px solid var(--gx-line); background: #fff; }
.gx-404__search input[type="search"] { flex: 1; border: 0; background: #fff; height: 46px; padding: 0 16px; font: inherit; font-size: 15px; color: var(--gx-ink); box-sizing: border-box; min-width: 0; }
.gx-404__search input[type="search"]:focus { outline: none; }
.gx-404__search button { border: 0; height: 46px; padding: 0 22px; background: var(--gx-red); color: #fff; cursor: pointer; font-family: var(--gx-fh); font-weight: 600; font-size: 15px; }
.gx-404__search button:hover { background: var(--gx-red-700); }
.gx-404__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.gx-404__products .gx-head { justify-content: center; }
@media (max-width: 560px) { .gx-404__digit { width: 72px; height: 72px; font-size: 40px; } }

/* ── Rozwijane kategorie nad filtrami ── */
.gx-cattree { position: relative; background: #fff; border: 1px solid var(--gx-line); padding: 22px 20px; margin-bottom: 20px; }
.gx-cattree__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gx-cattree__item + .gx-cattree__item { border-top: 1px solid color-mix(in srgb, var(--gx-ink) 8%, transparent); }
.gx-cattree__row { display: flex; align-items: center; gap: 8px; }
.gx-cattree__link { flex: 1; padding: 9px 0; font-family: var(--gx-fh); font-weight: 600; font-size: 15px; color: var(--gx-ink); text-decoration: none; }
.gx-cattree__link:hover, .gx-cattree__link.is-active { color: var(--gx-red); }
.gx-cattree__toggle { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--gx-muted); display: grid; place-items: center; }
.gx-cattree__toggle svg { width: 15px; height: 15px; transition: transform .15s ease; }
.gx-cattree__toggle:hover { color: var(--gx-red); }
.gx-cattree__item.is-open .gx-cattree__toggle svg { transform: rotate(180deg); }
.gx-cattree__kids { display: none; list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; border-left: 1px solid var(--gx-line); }
.gx-cattree__item.is-open .gx-cattree__kids { display: block; }
.gx-cattree__kid { display: block; padding: 5px 0; font-size: 13.5px; color: color-mix(in srgb, var(--gx-ink) 72%, transparent); text-decoration: none; }
.gx-cattree__kid:hover, .gx-cattree__kid.is-active { color: var(--gx-red); }

/* ── Opinie klientów ([gabex_reviews]), restyle 1:1 z makietą ── */
.gabex-reviews__title { font-family: var(--gx-fh) !important; font-weight: 600 !important; font-size: 34px !important; letter-spacing: -.015em; text-align: left !important; margin: 0 0 22px !important; }
.gabex-reviews__list { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; list-style: none; margin: 0 !important; padding: 0 !important; }
.gabex-review { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.gabex-review__quote {
	position: relative; margin: 0 !important; padding: 26px 28px !important; height: 100%;
	background: #fff !important; border: 1px solid var(--gx-line) !important; border-radius: 0 !important; box-shadow: none !important;
	display: flex; flex-direction: column; gap: 14px;
}
.gabex-stars { display: inline-flex; gap: 3px; }
.gabex-stars__star svg { width: 14px; height: 14px; fill: color-mix(in srgb, var(--gx-ink) 18%, transparent); }
.gabex-stars__star.is-on svg { fill: var(--gx-red) !important; }
.gabex-review__text { font-size: 15px !important; line-height: 1.6 !important; margin: 0 !important; flex: 1; color: var(--gx-ink); text-wrap: pretty; }
.gabex-review__meta { font-size: 12.5px !important; color: var(--gx-muted) !important; display: flex; gap: 6px; align-items: baseline; }
.gabex-review__author { font-style: normal !important; font-weight: 400 !important; color: var(--gx-muted) !important; }
.gabex-review__author::after { content: " ·"; }
.gabex-review__date { color: var(--gx-muted) !important; }
.gabex-reviews__source {
	display: flex !important; align-items: center; gap: 8px; margin: 18px 0 0 !important;
	font-size: 12.5px !important; color: var(--gx-muted) !important; justify-content: flex-start !important;
}
.gabex-reviews__source svg { width: 15px; height: 15px; flex: none; }
.gabex-reviews__source a { color: var(--gx-red-700); text-decoration: none; }
.gabex-reviews__source a:hover { color: var(--gx-red); }
@media (max-width: 900px) { .gabex-reviews__list { grid-template-columns: 1fr !important; } }

/* ── Popup „Dodano do wyceny" (plugin), restyle na blueprint ── */
.gabex-popup { border-radius: 0 !important; box-shadow: 0 12px 32px color-mix(in srgb, var(--gx-ink) 22%, transparent) !important; border: 1px solid var(--gx-line); }
.gabex-popup__check { border-radius: 0 !important; background: var(--gx-red) !important; width: 32px !important; height: 32px !important; }
.gabex-popup__title { font-family: var(--gx-fh) !important; font-weight: 600 !important; font-size: 20px !important; }
.gabex-popup__img { border-radius: 0 !important; border: 1px solid var(--gx-line); }
.gabex-popup__name { font-family: var(--gx-fh) !important; font-weight: 600 !important; font-size: 16px; }
.gabex-popup__count strong, .gabex-popup__color strong { color: var(--gx-red) !important; }
.gabex-popup__btn { border-radius: 0 !important; font-family: var(--gx-fh) !important; font-weight: 600 !important; padding: .7rem 1rem !important; }
.gabex-popup__btn--primary { background: var(--gx-red) !important; border-color: var(--gx-red) !important; }
.gabex-popup__btn--primary:hover { background: var(--gx-red-700) !important; border-color: var(--gx-red-700) !important; }
.gabex-popup__btn--ghost { color: var(--gx-ink) !important; border: 1px solid var(--gx-line) !important; }
.gabex-popup__btn--ghost:hover { border-color: var(--gx-ink) !important; }
.gabex-popup__close:hover { color: var(--gx-red) !important; }

/* ── LISTA/SKLEP przebudowa 1:1 z makietą ── */
.gx-lhead { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 8px; }
.gx-lhead__title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.625rem) !important; line-height: 1.05; margin: 0 !important; }
.gx-lhead__note { font-size: 14px; color: var(--gx-muted); padding-bottom: 8px; }
/* pigułki kolorów w sidebarze (tag-outline z makiety) */
.gx-filters__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-fpill { cursor: pointer; }
.gx-fpill input { position: absolute; opacity: 0; width: 0; height: 0; }
.gx-fpill span {
	display: inline-flex; align-items: center; padding: 3px 10px; font-size: 11px; letter-spacing: .02em;
	border: 1px solid var(--gx-red); color: var(--gx-red); background: none;
}
.gx-fpill:hover span { background: color-mix(in srgb, var(--gx-red) 8%, transparent); }
.gx-fpill.is-active span, .gx-fpill input:checked + span { background: var(--gx-red); color: #fff; }
.gx-filters__sel { font-size: 12.5px; margin-top: 10px; color: var(--gx-muted); }
/* karty produktów (article.card.blueprint z makiety) */
.gx-plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gx-pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gx-line); }
.gx-pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--gx-line); background: var(--gx-surface); }
.gx-pcard__off {
	position: absolute; top: 0; left: 0; z-index: 2;
	background: var(--gx-red); color: #fff; padding: 5px 9px;
	font-family: var(--gx-fh); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; line-height: 1;
}
.gx-pcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gx-pcard:hover .gx-pcard__media img { transform: scale(1.03); }
.gx-pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.gx-pcard__avail { align-self: flex-start; padding: 3px 10px; font-size: 11px; letter-spacing: .02em; background: #ececee; color: #424244; }
.gx-pcard__avail--outofstock, .gx-pcard__avail--onbackorder { background: color-mix(in srgb, var(--gx-red) 10%, #fff); color: var(--gx-red-700); }
/* tytul: zawsze rowne 2 linie (dluzsze przyciete z wielokropkiem), wyrownuje karty w rzedzie */
.gx-pcard__name {
	font-family: var(--gx-fh); font-weight: 600; font-size: 17.5px; line-height: 1.22; color: var(--gx-ink); text-decoration: none;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: calc(2 * 1.22em);
}
.gx-pcard__name:hover { color: var(--gx-red); }
.gx-pcard__meta { font-size: 12.5px; color: var(--gx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-pcard__price { margin-top: auto; font-family: var(--gx-fh); font-weight: 600; font-size: 21px; color: var(--gx-ink); min-height: 26px; display: flex; align-items: baseline; }
.gx-pcard__price .gabex-price__from, .gx-pcard__price .gabex-price__unit { font-size: 12px; color: var(--gx-muted); font-weight: 400; font-family: var(--gx-fb); }
/* przecena: stara cena przekreslona (jak w makiecie Promocji) */
.gabex-price__old, .gabex-price__old * { font-family: var(--gx-fb) !important; font-weight: 400 !important; font-size: 13px !important; color: color-mix(in srgb, var(--gx-ink) 45%, transparent) !important; text-decoration: line-through; line-height: 1 !important; }
.gx-pcard__price .gabex-price { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.single-product .summary .price .gabex-price__old, .single-product .summary .price .gabex-price__old * { font-size: 16px !important; }
.gx-pcard__btn {
	display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 38px;
	background: var(--gx-red); color: #fff; border: 1px solid var(--gx-red); cursor: pointer;
	font-family: var(--gx-fh); font-weight: 600; font-size: 14px; text-decoration: none; border-radius: 0 !important;
}
.gx-pcard__btn:hover { background: var(--gx-red-700); border-color: var(--gx-red-700); color: #fff; }
.gx-plist__empty { background: #fff; border: 1px solid var(--gx-line); padding: 40px 28px; text-align: center; color: var(--gx-muted); }
/* pętle Woo (related, [products] na home) używają tej samej karty, ul.products jako grid */
ul.products { display: grid !important; gap: 20px; list-style: none; margin: 0 0 8px; padding: 0; width: 100%; }
ul.products::before, ul.products::after { content: none !important; }
ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
ul.products { align-items: stretch; }
ul.products li.gx-pcard { width: auto !important; float: none !important; margin: 0 !important; height: 100%; }
.gx-pcard__media { flex: none; }
@media (max-width: 1100px) { ul.products.columns-4, ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { ul.products.columns-4, ul.products.columns-3, ul.products.columns-2 { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .gx-plist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gx-plist { grid-template-columns: 1fr; } }

/* ── Tabela generyczna (dostawa, kalkulator, produkt) ── */
.gx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gx-table th { text-align: left; font-weight: 600; color: var(--gx-ink); padding: 10px 8px; border-bottom: 1px solid var(--gx-line); vertical-align: top; width: 48%; font-family: var(--gx-fb); }
.gx-table td { padding: 10px 8px; border-bottom: 1px solid var(--gx-line); color: var(--gx-muted); }

/* ── STRONA: Dostawa i palety ── */
.gx-dostawa__title { font-size: clamp(2rem, 1.5rem + 2.2vw, 2.875rem); line-height: 1.04; margin: 0 0 12px; max-width: 20ch; }
.gx-dostawa__lead { font-size: 16px; max-width: 58ch; color: color-mix(in srgb, var(--gx-ink) 72%, transparent); }
.gx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gx-line); border: 1px solid var(--gx-line); margin-top: 36px; }
.gx-step { background: #fff; padding: 28px 26px; }
.gx-step__num { font-family: var(--gx-fh); font-weight: 600; font-size: 42px; line-height: 1; color: var(--gx-red); }
.gx-step__h { font-size: 22px; margin: 12px 0 8px; }
.gx-step__p { font-size: 14px; margin: 0; color: color-mix(in srgb, var(--gx-ink) 70%, transparent); }
.gx-dostawa__tables { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.gx-dostawa__h2 { font-size: 30px; margin: 0 0 16px; }
.gx-faq { margin-top: 48px; max-width: 820px; }
.gx-faq__item { background: #fff; border: 1px solid var(--gx-line); padding: 18px 22px; margin-bottom: 10px; }
.gx-faq__item summary { font-family: var(--gx-fh); font-weight: 600; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.gx-faq__item summary::-webkit-details-marker { display: none; }
.gx-faq__item summary span { color: var(--gx-red); }
.gx-faq__item[open] summary span { transform: rotate(45deg); }
.gx-faq__item p { margin: 12px 0 0; font-size: 14.5px; color: color-mix(in srgb, var(--gx-ink) 72%, transparent); }
@media (max-width: 820px) { .gx-steps { grid-template-columns: 1fr; } .gx-dostawa__tables { grid-template-columns: 1fr; } }

/* ── STRONA: Kalkulator ── */
.gx-kalk__title { font-size: clamp(2rem, 1.5rem + 2.2vw, 2.875rem); line-height: 1.04; margin: 0 0 12px; max-width: 22ch; }
.gx-kalk__lead { font-size: 16px; max-width: 60ch; color: color-mix(in srgb, var(--gx-ink) 72%, transparent); }
.gx-kalk__panel { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--gx-line); margin-top: 32px; }
.gx-kalk__form { padding: 36px 40px; border-right: 1px solid var(--gx-line); display: flex; flex-direction: column; gap: 18px; }
.gx-field label { display: block; font-size: 12px; margin-bottom: 6px; color: color-mix(in srgb, var(--gx-ink) 70%, transparent); }
.gx-input { width: 100%; max-width: 200px; height: 44px; padding: 6px 12px; font: inherit; font-size: 17px; background: var(--gx-bg); border: 1px solid var(--gx-line); color: var(--gx-ink); }
.gx-input:focus { border-color: var(--gx-red); outline: none; }
.gx-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--gx-line); }
.gx-seg__opt { appearance: none; background: transparent; border: 0; padding: 9px 14px; font: inherit; font-size: 13px; cursor: pointer; color: var(--gx-ink); }
.gx-seg__opt + .gx-seg__opt { border-left: 1px solid var(--gx-line); }
.gx-seg__opt.is-active { background: var(--gx-red); color: #fff; font-family: var(--gx-fh); font-weight: 600; }
.gx-kalk__params { margin-top: 4px; }
.gx-kalk__hint { font-size: 12.5px; margin: 0; color: var(--gx-muted); }
.gx-kalk__result { padding: 36px 40px; background: var(--gx-bg); display: flex; flex-direction: column; }
.gx-kalk__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gx-line); border: 1px solid var(--gx-line); }
.gx-kalk__cell { background: #fff; padding: 20px; }
.gx-kalk__cell--wide { grid-column: 1 / -1; }
.gx-kalk__lab { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gx-muted); }
.gx-kalk__val { display: block; font-family: var(--gx-fh); font-weight: 600; font-size: 36px; line-height: 1.1; }
.gx-kalk__val--accent { color: var(--gx-red); }
.gx-kalk__note { display: block; font-size: 12.5px; color: color-mix(in srgb, var(--gx-ink) 60%, transparent); margin-top: 4px; }
.gx-kalk__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
@media (max-width: 820px) { .gx-kalk__panel { grid-template-columns: 1fr; } .gx-kalk__form { border-right: 0; border-bottom: 1px solid var(--gx-line); } }

/* ══ WYCENA przebudowana 1:1 z makietą (markup gxq w pluginie) ══ */
.gxq-title { font-size: clamp(2rem, 1.5rem + 2vw, 2.625rem); line-height: 1.05; margin: 0 0 8px; }
.gxq-lead { font-size: 15.5px; color: color-mix(in srgb, var(--gx-ink) 68%, transparent); margin: 0 0 32px; }
.gxq-lead span { display: block; max-width: 62ch; }
.gxq { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; }
.gxq__left { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.gxq__list { position: relative; background: #fff; border: 1px solid var(--gx-line); }
.gxq__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gxq__table thead th {
	text-align: left; font-family: var(--gx-fb); font-weight: 500; font-size: 11px;
	letter-spacing: .08em; text-transform: uppercase; color: var(--gx-muted);
	padding: 14px; border-bottom: 1px solid var(--gx-line);
}
.gxq__col-qty { width: 130px; } .gxq__col-total { width: 120px; } .gxq__col-x { width: 44px; } .gxq__col-img { width: 72px; }
.gxq__timg img, .gxq__timg-empty { display: block; width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--gx-line); background: var(--gx-surface); border-radius: 0 !important; }
.gxq__table tbody td { padding: 14px; border-bottom: 1px solid color-mix(in srgb, var(--gx-ink) 8%, transparent); vertical-align: middle; }
.gxq__name a { font-family: var(--gx-fh); font-weight: 600; font-size: 16px; color: var(--gx-ink); text-decoration: none; }
.gxq__name a:hover { color: var(--gx-red); }
.gxq__meta { font-size: 12.5px; color: var(--gx-muted); }
.gxq__stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--gx-line); background: #fff; }
.gxq__step { width: 34px; height: 32px; border: 0; background: none; cursor: pointer; font-family: var(--gx-fh); font-size: 15px; color: var(--gx-ink); }
.gxq__step:hover { color: var(--gx-red); }
.gxq__qty { width: 40px; height: 32px; border: 0; border-inline: 1px solid var(--gx-line); text-align: center; font-size: 14px; background: #fff; padding: 0; -moz-appearance: textfield; }
.gxq__qty::-webkit-outer-spin-button, .gxq__qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gxq__total { font-family: var(--gx-fh); font-weight: 600; font-size: 17px; }
.gxq__remove { border: 0; background: none; cursor: pointer; color: var(--gx-muted); font-size: 15px; padding: 6px; }
.gxq__remove:hover { color: var(--gx-red); }
.gxq__sumrow { display: flex; justify-content: space-between; align-items: baseline; padding: 18px; border-top: 1px solid var(--gx-line); }
.gxq__sumrow > span:first-child { font-size: 13.5px; color: var(--gx-muted); }
.gxq__sum { font-family: var(--gx-fh); font-weight: 600; font-size: 30px; }
.gxq__empty { padding: 56px 32px; text-align: center; }
.gxq__empty h3 { font-size: 22px; margin: 0 0 8px; }
.gxq__empty p { font-size: 14.5px; color: color-mix(in srgb, var(--gx-ink) 62%, transparent); max-width: 40ch; margin: 0 auto 18px; }
.gxq__browse { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; background: #fff; border: 1px solid var(--gx-line); color: var(--gx-ink); font-family: var(--gx-fh); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.gxq__browse:hover { border-color: var(--gx-ink); color: var(--gx-ink); }
.gxq__aside { position: relative; background: #fff; border: 1px solid var(--gx-line); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.gxq__aside-title { font-size: 24px; margin: 0; }
.gxq__field label { display: block; font-size: 12px; margin-bottom: 5px; color: color-mix(in srgb, var(--gx-ink) 70%, transparent); }
.gxq__field input, .gxq__field textarea { box-sizing: border-box; width: 100%; min-height: 40px; padding: 8px 10px; font: inherit; font-size: 14px; background: var(--gx-bg); border: 1px solid var(--gx-line); color: var(--gx-ink); }
/* jednolity box-sizing dla pol formularzy (motyw nie ma globalnego border-box) */
.gx-input, .gx-input--full, .gx-kontakt__form input, .gx-kontakt__form textarea { box-sizing: border-box; }
.gxq__field textarea { resize: vertical; }
.gxq__field input:focus, .gxq__field textarea:focus { border-color: var(--gx-red); outline: none; }
.gxq__zip { max-width: 140px; }
.gxq__submit { height: 48px; border: 1px solid var(--gx-red); background: var(--gx-red); color: #fff; cursor: pointer; font-family: var(--gx-fh); font-weight: 600; font-size: 15.5px; }
.gxq__submit:hover { background: var(--gx-red-700); border-color: var(--gx-red-700); }
.gxq__hint { font-size: 12px; color: var(--gx-muted); }
/* checkboxy zgod (RODO/marketing) pod przyciskiem */
.gxq-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.gxq-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.gxq-check__box { width: 17px; height: 17px; flex: none; margin-top: 2px; border: 1.5px solid var(--gx-line); background: #fff; display: grid; place-items: center; }
.gxq-check:hover .gxq-check__box { border-color: var(--gx-red); }
.gxq-check input:checked + .gxq-check__box { border-color: var(--gx-red); background: var(--gx-red); }
.gxq-check input:checked + .gxq-check__box::after { content: "✓"; color: #fff; font-size: 12px; line-height: 1; }
.gxq-check input:focus-visible + .gxq-check__box { outline: 2px solid var(--gx-red); outline-offset: 2px; }
.gxq-check__text { font-size: 12.5px; line-height: 1.5; color: color-mix(in srgb, var(--gx-ink) 78%, transparent); }
.gxq-check__text a { color: var(--gx-red-700); text-decoration: underline; text-underline-offset: 2px; }
.gxq-check__text a:hover { color: var(--gx-red); }
/* klauzula RODO na dole formularza */
.gxq__rodo { font-size: 11.5px; line-height: 1.5; color: var(--gx-muted); border-top: 1px solid var(--gx-line); padding-top: 12px; }
.gxq__rodo a { color: var(--gx-muted); text-decoration: underline; text-underline-offset: 2px; }
.gxq__rodo a:hover { color: var(--gx-red); }
/* Sposob odbioru pod produktami: radia + tooltipy info */
.gxq__delivery { position: relative; background: #fff; border: 1px solid var(--gx-line); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.gxq__delivery-title { font-family: var(--gx-fh); font-weight: 600; font-size: 16px; margin: 0 0 2px; }
.gxq-opt { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14.5px; }
.gxq-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.gxq-opt__dot { width: 16px; height: 16px; flex: none; border: 1.5px solid var(--gx-line); border-radius: 50%; }
.gxq-opt:hover .gxq-opt__dot { border-color: var(--gx-red); }
.gxq-opt input:checked + .gxq-opt__dot { border-color: var(--gx-red); background: var(--gx-red); box-shadow: inset 0 0 0 3px #fff; }
.gxq-info-wrap { position: relative; display: inline-flex; }
.gxq-info {
	display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px;
	border: 1px solid var(--gx-muted); border-radius: 50%; color: var(--gx-muted);
	font-family: var(--gx-fh); font-size: 11px; font-weight: 600; line-height: 1; cursor: help; user-select: none;
}
.gxq-info:hover, .gxq-info:focus { border-color: var(--gx-red); color: var(--gx-red); outline: none; }
.gxq-tip {
	position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
	width: 280px; padding: 12px 14px; z-index: 50;
	background: var(--gx-ink); color: #f4f4f5; font-size: 12.5px; line-height: 1.5;
	opacity: 0; visibility: hidden; transition: opacity .12s ease;
	pointer-events: none;
}
.gxq-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--gx-ink); }
.gxq-info-wrap:hover .gxq-tip, .gxq-info:focus + .gxq-tip { opacity: 1; visibility: visible; }
@media (max-width: 680px) { .gxq-tip { left: auto; right: -10px; transform: none; width: min(280px, 78vw); } .gxq-tip::after { left: auto; right: 14px; transform: none; } }

.gxq-sent { position: relative; background: #fff; border: 1px solid var(--gx-line); padding: 48px 32px; text-align: center; max-width: 560px; }
.gxq-sent__check { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; background: var(--gx-red); color: #fff; font-size: 22px; }
.gxq-sent h3 { font-size: 24px; margin: 0 0 8px; }
.gxq-sent p { font-size: 14.5px; color: color-mix(in srgb, var(--gx-ink) 65%, transparent); margin: 0; }
@media (max-width: 900px) { .gxq { grid-template-columns: 1fr; } }

/* ══ REALIZACJE przebudowane 1:1 z makietą ══ */
.gx-rhead { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 24px; }
.gx-rhead__title { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 2.875rem); line-height: 1.04; margin: 0 0 12px; }
.gx-rhead__lead { font-size: 16px; max-width: 52ch; color: color-mix(in srgb, var(--gx-ink) 72%, transparent); margin: 0; }
.gabex-realizacje-filters ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; }
.gabex-filter-pill {
	display: inline-flex; align-items: center; padding: 3px 10px; font-size: 11px; letter-spacing: .02em;
	border: 1px solid var(--gx-red) !important; border-radius: 0 !important; color: var(--gx-red); text-decoration: none; background: none;
	font-family: var(--gx-fb) !important; font-weight: 400;
}
.gabex-filter-pill:hover { background: color-mix(in srgb, var(--gx-red) 8%, transparent); color: var(--gx-red); }
.gabex-filter-pill.is-active { background: var(--gx-red); color: #fff; }
.gx-rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gx-rcard { position: relative; margin: 0; background: #fff; border: 1px solid var(--gx-line); }
.gx-rcard__media { display: block; height: 240px; overflow: hidden; background: var(--gx-surface); }
.gx-rcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gx-rcard:hover .gx-rcard__media img { transform: scale(1.03); }
.gx-rcard__cap { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.gx-rcard__title { font-family: var(--gx-fh); font-weight: 600; font-size: 19px; color: var(--gx-ink); text-decoration: none; }
.gx-rcard__title:hover { color: var(--gx-red); }
.gx-rcard__mat { font-size: 13px; color: color-mix(in srgb, var(--gx-ink) 58%, transparent); }
.gx-rcta { position: relative; margin-top: 48px; padding: 30px 34px; background: #fff; border: 1px solid var(--gx-line); display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.gx-rcta__title { font-size: 25px; margin: 0 0 6px; }
.gx-rcta__desc { margin: 0; font-size: 14.5px; color: color-mix(in srgb, var(--gx-ink) 68%, transparent); }
.gx-rcta .gx-btn { margin-left: auto; height: 46px; }
@media (max-width: 1000px) { .gx-rgrid { grid-template-columns: repeat(2, 1fr); } .gx-rhead { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 640px) { .gx-rgrid { grid-template-columns: 1fr; } .gx-rcta .gx-btn { margin-left: 0; } }

/* ══ ODDZIAŁY (shortcode gabex_oddzialy), restyle na blueprint 1:1 z makietą ══ */
.gabex-branches__title { font-family: var(--gx-fh) !important; font-weight: 600 !important; font-size: 34px !important; letter-spacing: -.015em; margin: 0 0 6px !important; text-align: left !important; }
.gabex-branches__lead { font-size: 14.5px !important; color: color-mix(in srgb, var(--gx-ink) 65%, transparent) !important; margin: 0 0 26px !important; text-align: left !important; }
.gabex-branches__grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; list-style: none; margin: 0 !important; padding: 0 !important; }
.gabex-branch { background: #fff !important; border: 1px solid var(--gx-line) !important; border-radius: 0 !important; box-shadow: none !important; overflow: hidden; display: flex; flex-direction: column; padding: 0 !important; }
.gabex-branch__photo { height: 170px; overflow: hidden; }
.gabex-branch__photo img, .gabex-branch__img { width: 100%; height: 170px !important; object-fit: cover; display: block; border-radius: 0 !important; }
.gabex-branch__body { padding: 22px 24px !important; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gabex-branch__name { display: flex; flex-direction: column; gap: 6px; margin: 0 !important; font-family: var(--gx-fh); }
.gabex-branch__num {
	font-family: var(--gx-fh); font-weight: 600; font-size: 12px !important; letter-spacing: .14em !important;
	text-transform: uppercase; color: var(--gx-red-700) !important;
	background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important;
}
.gabex-branch__name { font-weight: 600; font-size: 22px; color: var(--gx-ink); }
.gabex-branch__contact { font-style: normal; }
.gabex-branch__row { display: flex !important; align-items: baseline; gap: 0 !important; margin: 0 0 2px !important; font-size: 14px; }
.gabex-branch__row svg { display: none !important; }
.gabex-branch__row span { color: color-mix(in srgb, var(--gx-ink) 62%, transparent); font-size: 13.5px; }
.gabex-branch__row a { color: var(--gx-red-700); text-decoration: none; }
.gabex-branch__row a:hover { color: var(--gx-red); }
.gabex-branch__map { margin-top: auto !important; border-top: 1px solid var(--gx-line); padding-top: 12px; }
.gabex-branch__map-toggle {
	display: flex !important; align-items: center; gap: 6px; cursor: pointer; list-style: none;
	font-family: var(--gx-fh); font-weight: 600; font-size: 13.5px; letter-spacing: .02em; color: var(--gx-red-700);
}
.gabex-branch__map-toggle::-webkit-details-marker { display: none; }
.gabex-branch__map-toggle svg:first-child { display: none !important; }
.gabex-branch__chev { width: 14px; height: 14px; color: var(--gx-red-700); transition: transform .15s ease; }
.gabex-branch__map[open] .gabex-branch__chev { transform: rotate(180deg); }
.gabex-branch__map-panel { margin-top: 12px; }
.gabex-branch__map-img { height: 150px !important; width: 100%; object-fit: cover; border: 1px solid var(--gx-line) !important; border-radius: 0 !important; }
.gabex-branch__maps-btn {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%;
	height: 40px; margin-top: 10px !important; background: #fff !important; border: 1px solid var(--gx-line) !important;
	border-radius: 0 !important; color: var(--gx-ink) !important; font-family: var(--gx-fh); font-weight: 600; font-size: 13.5px; text-decoration: none;
}
.gabex-branch__maps-btn:hover { border-color: var(--gx-ink) !important; }
.gabex-branch__maps-btn svg { width: 14px; height: 14px; }
@media (max-width: 1000px) { .gabex-branches__grid { grid-template-columns: 1fr !important; } }

/* ── Paginacja (WooCommerce w [gabex_wc_archive]), kwadratowe, równe kafelki ── */
.gabex-archive-pagination { margin-top: 32px; }
.woocommerce nav.woocommerce-pagination, .gabex-archive-pagination nav.woocommerce-pagination { text-align: center; }
.gabex-archive-pagination ul.page-numbers,
.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center;
	list-style: none; margin: 0; padding: 0; border: 0;
}
.gabex-archive-pagination ul.page-numbers li,
.woocommerce nav.woocommerce-pagination ul li { margin: 0; border: 0; overflow: visible; }
.gabex-archive-pagination .page-numbers,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 10px; margin: 0;
	border: 1px solid var(--gx-line); background: #fff;
	font-family: var(--gx-fh); font-weight: 600; font-size: 15px; line-height: 1;
	color: var(--gx-ink); text-decoration: none; border-radius: 0 !important;
}
.gabex-archive-pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers.current {
	border-color: var(--gx-red); color: var(--gx-red); background: #fff;
}
.gabex-archive-pagination a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover {
	border-color: var(--gx-ink); color: var(--gx-ink);
}

/* ── STRONA: Kontakt (2-kol: dane + formularz) ── */
.gx-kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.gx-kontakt__title { font-size: clamp(2rem, 1.5rem + 2.2vw, 2.875rem); line-height: 1.04; margin: 0 0 12px; max-width: 18ch; }
.gx-kontakt__lead { font-size: 16px; max-width: 48ch; color: color-mix(in srgb, var(--gx-ink) 72%, transparent); margin: 0 0 30px; }
.gx-kontakt__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gx-line); border: 1px solid var(--gx-line); }
.gx-kontakt__cell { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.gx-kontakt__cell--wide { grid-column: 1 / -1; }
.gx-kontakt__lab { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gx-muted); margin-bottom: 4px; }
.gx-kontakt__big { font-family: var(--gx-fh); font-weight: 600; font-size: 24px; color: var(--gx-ink); text-decoration: none; }
.gx-kontakt__big:hover { color: var(--gx-red); }
.gx-kontakt__sm { font-size: 14px; color: var(--gx-red-700); text-decoration: none; }
.gx-kontakt__sm:hover { color: var(--gx-red); }
.gx-kontakt__branch { font-size: 14.5px; color: color-mix(in srgb, var(--gx-ink) 82%, transparent); }
.gx-kontakt__branch strong { font-family: var(--gx-fh); font-weight: 600; }
.gx-kontakt__form { background: #fff; border: 1px solid var(--gx-line); padding: 30px 30px 32px; display: flex; flex-direction: column; gap: 14px; }
.gx-kontakt__form-title { font-size: 27px; margin: 0; }
.gx-input--full { max-width: none; height: auto; min-height: 44px; }
textarea.gx-input--full { min-height: 120px; resize: vertical; }
.gx-kontakt__msg { font-size: 13.5px; margin: 0; }
.gx-kontakt__msg.is-ok { color: #1a7f37; }
.gx-kontakt__msg.is-err { color: var(--gx-red); }
.gx-kontakt__note { font-size: 12px; color: var(--gx-muted); }
@media (max-width: 900px) { .gx-kontakt { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .gx-kontakt__cards { grid-template-columns: 1fr; } }

/* sticky widzety: nad paskiem "Dodaj do wyceny" gdy ten jest widoczny */
body.gx-buybar-open .gabex-sticky { bottom: 84px !important; }

/* sticky widzety: same ikonki na mniejszych ekranach (kwadraty blueprint) */
@media (max-width: 1366px) {
	.gabex-sticky {
		left: auto !important; right: 14px !important; bottom: 14px !important; top: auto !important;
		width: auto !important; display: flex !important; flex-direction: column !important; gap: 10px !important;
		padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important;
	}
	.gabex-sticky__item {
		width: 48px !important; height: 48px !important; min-height: 48px !important; flex: none !important; padding: 0 !important; margin: 0 !important;
		display: flex !important; align-items: center !important; justify-content: center !important;
		border-radius: 0 !important; border: 1px solid var(--gx-line) !important; background: #fff !important;
		color: var(--gx-ink) !important; box-shadow: 0 4px 14px color-mix(in srgb, var(--gx-ink) 16%, transparent) !important;
	}
	.gabex-sticky__item:hover { border-color: var(--gx-red) !important; color: var(--gx-red) !important; }
	.gabex-sticky__item svg { width: 21px !important; height: 21px !important; margin: 0 !important; flex: none; }
	.gabex-sticky__label { display: none !important; }
	.gabex-sticky__quote { position: relative !important; background: var(--gx-red) !important; border-color: var(--gx-red) !important; color: #fff !important; }
	.gabex-sticky__quote:hover { background: var(--gx-red-700) !important; color: #fff !important; }
	.gabex-sticky__quote .gabex-quote-count {
		display: flex !important; position: absolute; top: -6px; right: -6px;
		min-width: 18px; height: 18px; padding: 0 4px; border-radius: 0 !important;
		background: var(--gx-ink) !important; color: #fff !important; font-size: 11px; line-height: 1;
		align-items: center; justify-content: center; font-family: var(--gx-fh); font-weight: 600;
	}
	.gabex-sticky__quote .gabex-quote-count.is-empty { display: none !important; }
}

/* tooltipy widzetow sticky (wysuwane w lewo) */
.gabex-sticky__item { position: relative; }
.gabex-sticky__item::after {
	content: attr(data-tip);
	position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
	width: max-content; max-width: 240px; padding: 9px 12px;
	background: var(--gx-ink); color: #f4f4f5; font-size: 12.5px; line-height: 1.45; font-weight: 400;
	font-family: var(--gx-fb); text-align: left; white-space: normal;
	opacity: 0; visibility: hidden; transition: opacity .12s ease; pointer-events: none; z-index: 90;
}
.gabex-sticky__item::before {
	content: ""; position: absolute; right: calc(100% + 4px); top: 50%; transform: translateY(-50%);
	border: 6px solid transparent; border-left-color: var(--gx-ink);
	opacity: 0; visibility: hidden; transition: opacity .12s ease; pointer-events: none; z-index: 90;
}
.gabex-sticky__item:hover::after, .gabex-sticky__item:focus-visible::after,
.gabex-sticky__item:hover::before, .gabex-sticky__item:focus-visible::before { opacity: 1; visibility: visible; }
