.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto; margin: 0; float: none; }
/*
 * TEN SAM RESET BEZ WYMOGU `.woocommerce` (zgloszenie Alexa 17.09: "na wersji mobilnej
 * przycisk dodaj do koszyka wyglada zle, robi sie z niego podwojna linia tekstu").
 *
 * Siatka na /sklep/ NIE lezy wewnatrz elementu z klasa `.woocommerce`, wiec regula wyzej
 * jej nie dotyczyla. Zostawala domyslna szerokosc WooCommerce `width: 48%`, przez co
 * na telefonie karta miala 160 px zamiast pelnych 334 px kolumny. W tak waskiej karcie
 * nie miescil sie ani napis "Zobacz zawartosc" (lamal sie na trzy linie, 55 px wysokosci),
 * ani "Dodaj do koszyka" (dwie linie), a okladka produktu byla nieczytelna.
 *
 * Selektor jest dlugi CELOWO. WooCommerce ustawia te szerokosc regula
 * `.woocommerce ul.products[class*=columns-] li.product` z arkusza smallscreen, ktora ma
 * wysoka wage. Krotsza wersja tej poprawki przegrywala i wygladala, jakby byla wgrana,
 * chociaz nic nie zmieniala - dlatego dopasowujemy sie do niej co do wagi i stajemy pozniej.
 */
body.woocommerce ul.products[class*="columns-"] > li.product,
body.woocommerce-page ul.products[class*="columns-"] > li.product,
body ul.xs-shop-product-grid[class*="columns-"] > li.product { width: auto; max-width: none; margin: 0; float: none; clear: none; }
.post-type-archive-product .xs-header .xs-container,
.post-type-archive-product .xs-shop-hero .xs-container,
.post-type-archive-product .xs-shop-top-filters,
.post-type-archive-product .xs-shop-layout,
.post-type-archive-product .xs-shop-trust-bottom,
.post-type-archive-product .xs-shop-pagination,
.post-type-archive-product .xs-shop-package-banner .xs-container,
.tax-product_cat .xs-header .xs-container,
.tax-product_cat .xs-shop-hero .xs-container,
.tax-product_cat .xs-shop-top-filters,
.tax-product_cat .xs-shop-layout,
.tax-product_cat .xs-shop-trust-bottom,
.tax-product_cat .xs-shop-pagination,
.tax-product_cat .xs-shop-package-banner .xs-container {
	width: min(1510px, calc(100% - 56px));
}
.xs-shop-hero {
	position: relative;
	padding: 34px 0 56px;
	background:
		linear-gradient(90deg, rgba(7, 16, 20, .98), rgba(7, 16, 20, .82) 52%, rgba(7, 16, 20, .96)),
		repeating-linear-gradient(35deg, rgba(183, 224, 0, .045) 0 1px, transparent 1px 34px),
		linear-gradient(120deg, #071014, #10202a);
	color: var(--xs-text-main);
	overflow: hidden;
}
.xs-shop-hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 410px 270px;
	gap: 28px;
	align-items: center;
	min-height: 260px;
}
.xs-shop-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	align-items: center;
	margin-bottom: 16px;
	color: #c5ceca;
	font-size: 12px;
}
.xs-shop-breadcrumbs a:hover { color: var(--xs-green-light); }
.xs-shop-hero h1 { margin: 0 0 14px; font-size: clamp(46px, 6vw, 66px); line-height: .98; text-transform: uppercase; }
.xs-shop-hero p { max-width: 690px; margin: 0; color: #eef3ef; font-size: 17px; line-height: 1.48; }
.xs-shop-trust { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 28px; }
.xs-shop-trust span { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; align-items: center; min-width: 150px; }
.xs-shop-trust-icon { grid-row: span 2; width: 25px; height: 25px; color: #9ba8a6; }
.xs-shop-trust strong { font-size: 12px; line-height: 1.2; }
.xs-shop-trust small { color: #c9d1cd; font-size: 11px; }
.xs-shop-hero-art { align-self: stretch; display: flex; align-items: end; justify-content: center; min-width: 0; }
.xs-shop-hero-art img { width: 112%; max-width: 470px; transform: translateY(24px); filter: drop-shadow(0 24px 42px rgba(0, 0, 0, .48)); }
.xs-builder-cta {
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 8px;
	padding: 24px;
	background: rgba(7, 16, 20, .78);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
}
.xs-builder-cta h2 { margin: 0 0 16px; color: var(--xs-text-main); text-transform: uppercase; font-size: 17px; line-height: 1.15; }
.xs-builder-cta ul { display: grid; gap: 9px; margin: 0 0 18px; padding: 0; list-style: none; color: #f0f4ef; font-size: 13px; font-weight: 700; }
.xs-builder-cta li { display: flex; align-items: center; gap: 9px; }
.xs-builder-check { width: 15px; height: 15px; color: var(--xs-text-main); flex: none; }
.xs-shop-top-filters {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
	align-items: center;
	/* Bylo -34px: pasek wjezdzal w dol ciemnego hero, gdy stal tuz po nim. Od chwili, gdy
	   miedzy hero a filtrami stanela sekcja "Od czego chcesz zaczac", ujemny odstep
	   przykrywal dolna krawedz jej kart (zgloszenie Alexa 17.09: "filtry sie rozjechaly
	   i nachodza na sekcje"). Teraz zwykly odstep. */
	margin-top: 18px;
	padding: 16px 20px;
	border: 1px solid var(--xs-border);
	border-radius: 7px;
	background: #fff;
	box-shadow: var(--xs-shadow-card);
}
/* Zdanie prowadzace nad filtrami (podrecznik 5.1) idzie w pelnej szerokosci - w waskiej kolumnie
   lamalo sie na osiem linii i rozjezdzalo pasek. */
.xs-shop-top-filters strong { grid-column: 1 / -1; text-transform: none; font-size: 14px; line-height: 1.45; font-weight: 800; }
.xs-shop-top-filters label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; align-items: center; min-height: 42px; padding: 0 12px; border: 1px solid #dfe1dd; border-radius: 5px; background: #fbfbf8; font-size: 12px; }
.xs-shop-top-filters span { font-weight: 900; color: var(--xs-text-dark); }
.xs-shop-top-filters select { min-width: 0; border: 0; background: transparent; color: #6a7274; }
/* Bylo bezwarunkowe outline:none - ktos poruszajacy sie klawiatura nie widzial, gdzie stoi
   (audyt 2026-08-23, punkt 10). Zdejmujemy obramowanie tylko przy kliknieciu myszka. */
.xs-shop-top-filters select:focus { outline: none; }
.xs-shop-top-filters select:focus-visible { outline: 2px solid var(--xs-green); outline-offset: 2px; border-radius: 3px; }
.xs-shop-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; padding: 24px 0 18px; }
.xs-filter-panel { border: 1px solid var(--xs-border); border-radius: 7px; background: var(--xs-white); padding: 18px 18px 20px; align-self: start; }
/* Kolumna filtrow sticky na desktopie (na mobile to wysuwany panel - patrz @max-1100) */
@media (min-width: 1101px) {
	.xs-filter-panel { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; }
}
.xs-filter-close { display: none; }
.xs-filter-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.xs-filter-title h2 { margin: 0; font-size: 15px; line-height: 1.15; text-transform: uppercase; white-space: nowrap; }
.xs-filter-title a, .xs-filter-title .xs-filter-clear { flex: none; color: #a4aaa9; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.xs-filter-title a:hover, .xs-filter-title .xs-filter-clear:hover { color: var(--xs-green-dark); }
.xs-filter-title .xs-filter-clear { border: 0; background: transparent; padding: 0; cursor: pointer; font-family: inherit; text-decoration: underline; }
.xs-shop-product-grid.is-loading { opacity: .45; pointer-events: none; transition: opacity .15s ease; }
.xs-no-products-cell { grid-column: 1 / -1; }
.xs-filter-group { border: 0; border-top: 1px solid var(--xs-border); border-radius: 0; background: transparent; padding: 0; }
.xs-filter-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.xs-filter-group summary::-webkit-details-marker { display: none; }
.xs-filter-group summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #9aa0a2; border-bottom: 2px solid #9aa0a2; transform: rotate(45deg); transition: transform .2s ease; margin-right: 3px; margin-top: -3px; }
.xs-filter-group[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.xs-filter-items { padding-bottom: 14px; display: grid; gap: 2px; }
.xs-filter-check { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 5px 0; color: #4b5254; font-size: 14px; }
.xs-filter-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.xs-check-box { width: 18px; height: 18px; flex: none; border: 1px solid var(--xs-border); border-radius: 4px; background: #fff; display: grid; place-items: center; transition: background .15s ease, border-color .15s ease; }
.xs-check-box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .15s ease; margin-top: -2px; }
.xs-filter-check input:checked + .xs-check-box { background: var(--xs-green); border-color: var(--xs-green); }
.xs-filter-check input:checked + .xs-check-box::after { transform: rotate(-45deg) scale(1); }
.xs-check-label { flex: 1; }
.xs-check-count { color: #9aa0a2; font-size: 13px; }
.xs-price-filter { padding: 6px 0 16px; }
.xs-price-range { width: 100%; accent-color: var(--xs-green); }
.xs-price-vals { display: flex; justify-content: space-between; font-size: 12px; color: #4b5254; margin-top: 8px; }
.xs-price-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.xs-price-boxes span { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border: 1px solid #dfe1dd; border-radius: 5px; color: #747c7e; }
.xs-shop-result-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 14px; }
.xs-shop-result-bar > strong { text-transform: uppercase; font-size: 14px; }
.xs-filter-toggle { display: none; }
.xs-shop-sort { display: flex; align-items: center; justify-content: end; gap: 0; font-size: 12px; }
.xs-shop-sort span { margin-right: 10px; color: #5f6667; }
.xs-shop-sort a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid #dfe1dd; border-left: 0; background: #fff; font-weight: 800; }
.xs-shop-sort a:first-of-type { border-left: 1px solid #dfe1dd; border-radius: 5px 0 0 5px; }
.xs-shop-sort a:last-child { border-radius: 0 5px 5px 0; }
.xs-shop-sort a.is-active { background: #071014; color: var(--xs-text-main); border-color: #071014; }
.xs-shop-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.xs-shop-product-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--xs-border); border-radius: 7px; background: #fff; overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.xs-shop-product-card:hover { transform: translateY(-2px); border-color: rgba(143,174,46,.65); box-shadow: var(--xs-shadow-card); }
.xs-shop-product-media { position: relative; display: block; padding: 40px 6px 10px; background: radial-gradient(circle at 50% 28%, rgba(255,255,255,.04), transparent 32%), linear-gradient(145deg, #101a18 0%, #071014 58%, #111813 100%); overflow: hidden; }
.xs-shop-product-media::before {
	content: "";
	position: absolute;
	inset: 44px 18px 18px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 6px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
}
.xs-shop-product-media img, .xs-shop-product-media .xs-placeholder { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; min-height: 0; border-radius: 0; background: transparent; }
.xs-shop-product-media .xs-placeholder { padding: 24px 14px 18px; }
.xs-shop-badge { position: absolute; z-index: 2; display: inline-flex; min-height: 23px; align-items: center; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; font-size: 10px; font-weight: 900; }
.xs-shop-badge-primary { left: 10px; top: 10px; background: rgba(11,16,18,.9); color: var(--xs-green-light); }
.xs-shop-badge-dark { right: 10px; top: 10px; background: rgba(11, 16, 18, .9); color: #cfd6d2; }
.xs-shop-strip-icon { width: 13px; height: 13px; color: var(--xs-muted); }
.xs-shop-product-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px 14px 16px; }
.xs-shop-product-body h2 { min-height: 42px; margin: 0; font-size: 15px; line-height: 1.35; }
.xs-shop-product-body p { min-height: 42px; margin: 0; color: #5f6667; font-size: 12.5px; line-height: 1.45; }
.xs-shop-product-body .xs-price { margin-top: auto; font-size: 18px; font-weight: 900; color: var(--xs-text-dark); }
.xs-shop-product-body .xs-btn {
	gap: 7px;
	min-height: 38px;
	margin-top: 2px;
	padding: 10px 12px;
	font-size: 11px;
	line-height: 1;
}
.xs-shop-product-body .xs-btn-icon {
	width: 20px;
	height: 20px;
	margin-right: .5rem;
	filter: brightness(0) saturate(100%);
}
.xs-shop-product-body .xs-btn-icon[src] {
	max-width: 20px;
}
.xs-shop-trust-bottom { padding: 0 0 18px; }
.xs-shop-trust-bottom .xs-trust-bar {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border: 1px solid #dfe1dd;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(15, 16, 18, .08);
	overflow: hidden;
}
.xs-shop-trust-bottom .xs-trust-item {
	min-height: 76px;
	display: grid;
	grid-template-columns: 38px 1fr;
	column-gap: 11px;
	align-items: center;
	padding: 14px 22px;
	border-right: 1px solid #dfe1dd;
	background: #fff;
}
.xs-shop-trust-bottom .xs-trust-item:last-child {
	border-right: 0;
}
.xs-shop-trust-bottom .xs-trust-item span {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: var(--xs-green);
}
.xs-shop-trust-bottom .xs-trust-icon {
	width: 30px;
	height: 30px;
	stroke-width: 1.7;
}
.xs-shop-trust-bottom .xs-trust-item strong {
	align-self: end;
	color: var(--xs-text-dark);
	font-size: 13px;
	line-height: 1.15;
}
.xs-shop-trust-bottom .xs-trust-item small {
	align-self: start;
	color: #5f6566;
	font-size: 12px;
	line-height: 1.2;
}
.xs-shop-pagination { display: flex; justify-content: center; gap: 10px; padding: 0 0 24px; flex-wrap: wrap; }
/* Celuj w KAZDY element paginacji WordPressa (paginate_links: <a> = linki, <span class="current"> = aktywna). */
.xs-shop-pagination .page-numbers { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid #dfe1dd; border-radius: 7px; background: #fff; font-weight: 900; color: var(--xs-text-dark); text-decoration: none; box-sizing: border-box; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.xs-shop-pagination a.page-numbers:hover { border-color: #071014; }
.xs-shop-pagination .page-numbers.current { background: #071014; color: #fff; border-color: #071014; }
.xs-shop-pagination .page-numbers.dots { border-color: transparent; background: transparent; }
.xs-package-banner { background: linear-gradient(90deg, #182608, #071014); color: var(--xs-text-main); padding: 22px 0; }
.xs-package-banner .xs-container { display: grid; grid-template-columns: 160px 1fr auto; gap: 26px; align-items: center; }
.xs-package-banner .xs-placeholder { min-height: 100px; }
.xs-shop-package-banner { margin: 0 0 0; padding: 0 0 28px; background: transparent; }
.xs-shop-package-banner .xs-container {
	min-height: 120px;
	padding: 24px 34px;
	border-radius: 8px;
	background:
		repeating-linear-gradient(35deg, rgba(183, 224, 0, .055) 0 1px, transparent 1px 32px),
		linear-gradient(90deg, #182608, #071014);
	overflow: hidden;
}
.xs-shop-package-banner h2 { margin: 0 0 6px; text-transform: uppercase; }
.xs-shop-package-banner p { margin: 0; color: #d9dfdc; }
.xs-shop-bundle-media img { width: 150px; max-height: 115px; object-fit: contain; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .42)); }

.xs-product-hero { padding: 32px 0 54px; }
.xs-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
/* Kolumna ze zdjeciem stoi w miejscu, kolumna z cena i opisem przewija sie obok.
   Gdy opis sie konczy, cala sekcja jedzie w dol razem (top = wysokosc przyklejonego naglowka). */
@media (min-width: 901px) {
	.xs-product-layout .xs-product-gallery { position: sticky; top: 104px; align-self: start; }
}
.xs-product-gallery, .xs-product-summary, .xs-product-bottom-grid > * {
	border: 1px solid var(--xs-line-dark);
	border-radius: var(--xs-radius-md);
	background: rgba(255, 255, 255, .03);
	padding: 18px;
}
.xs-product-gallery img, .xs-product-gallery .xs-placeholder { width: 100%; border-radius: var(--xs-radius-md); }
.xs-format-row, .xs-badge-row, .xs-microcopy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.xs-format-row span, .xs-microcopy span { border: 1px solid var(--xs-line-dark); border-radius: var(--xs-radius-sm); padding: 8px 10px; color: #d7dedb; font-size: 12px; }
.xs-product-summary h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.06; margin: 14px 0; }
.xs-single-price { font-size: 34px; font-weight: 900; color: var(--xs-white); margin: 18px 0; }
.xs-meta-box { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; padding: 16px; border: 1px solid var(--xs-line-dark); border-radius: var(--xs-radius-sm); }
.xs-add-cart-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xs-buy-note { margin: 10px 0 0; color: #b9c2be; font-size: 12.5px; line-height: 1.45; }
.xs-why-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--xs-line-dark); }
.xs-why-block h2 { margin: 0 0 12px; font-size: 17px; text-transform: uppercase; }
.xs-product-bottom-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 18px; }
.xs-btn-secondary { background: transparent; color: var(--xs-text-main); border: 1.5px solid rgba(255,255,255,.35); }
.xs-btn-secondary:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); color: var(--xs-text-main); box-shadow: none; transform: none; }
/* Dodaj do koszyka (karta produktu): po najechaniu tlo zielone, ikona i tekst czarne. */
.xs-btn-secondary.single_add_to_cart_button { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.xs-btn-secondary.single_add_to_cart_button:hover { background: var(--xs-green); border-color: var(--xs-green); color: #10130a; }
.xs-btn-secondary.single_add_to_cart_button:hover .xs-btn-icon { filter: brightness(0) saturate(100%); }
.xs-trust-signals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.xs-trust-signals span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #9aa8a5; }
.xs-trust-icon { width: 13px; height: 13px; flex: none; color: #b7e000; }
/* ---- Pasek zakupu przyklejony do dolu ekranu (komputer i telefon) ----
   Wchodzi dopiero gdy glowny "Kup teraz" wyjedzie poza ekran i chowa sie nad stopka (steruje JS
   klasa .xs-visible). Dzieki temu klient, ktory doczytal cala karte, kupuje bez wracania na gore. */
.xs-sticky-buybar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; padding: 12px 0; background: #050c0f; border-top: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 -10px 30px rgba(0, 0, 0, .55); }
.xs-sticky-buybar.xs-visible { display: block; }
.xs-sticky-inner { width: min(1580px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.xs-sticky-name { color: #fff; font-weight: 800; font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.xs-sticky-price { margin-left: auto; font-size: 22px; font-weight: 900; color: var(--xs-green-light); white-space: nowrap; }
.xs-sticky-price del { color: #8a918f; font-size: 14px; font-weight: 700; margin-right: 6px; }
.xs-sticky-actions { display: flex; gap: 10px; flex: none; }
.xs-sticky-actions .xs-btn { min-height: 0; padding: 12px 22px; font-size: 14px; white-space: nowrap; }

/* ---- Listy na karcie produktu: mala szara kropka + wciecie (dalsze linie pozycji wyrownane pod
       tekstem, nie pod kropka). Ptaszki zostaja WYLACZNIE w liscie korzysci pod cena produktu
       (klasa xs-check-list) - na reszcie karty bylo ich za duzo. Kropka celowo szara, nie limonkowa:
       limonka w kilkunastu miejscach na jednym ekranie jebie w oczy. ---- */
.xs-plain-list { margin: 18px 0 0; padding: 0; list-style: none; }
.xs-plain-list li { position: relative; padding-left: 20px; margin: 9px 0; color: #d3d9d6; font-size: 14px; line-height: 1.5; }
.xs-plain-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .34); }

/* ---- Opis produktu: 3 czytelne czesci, kazda w jednej kolumnie (koniec z kolumna obok kolumny) ---- */
.xs-product-sections { max-width: 1080px; margin: 40px auto 0; display: grid; gap: 26px; }
.xs-prod-group { border: 1px solid var(--xs-line-dark); border-radius: var(--xs-radius-md); background: rgba(255, 255, 255, .03); padding: 28px 30px; }
.xs-prod-group-title { margin: 0; font-size: 21px; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.xs-prod-group-title::after { content: ""; display: block; width: 54px; height: 3px; border-radius: 2px; background: var(--xs-green-light); margin-top: 12px; }
.xs-prod-group-body { display: grid; gap: 26px; margin-top: 22px; }
.xs-prod-sec h3 { margin: 0 0 10px; font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: .03em; text-transform: uppercase; color: var(--xs-green-light); }
.xs-prod-sec p { margin: 0 0 10px; color: #d3d9d6; font-size: 14.5px; line-height: 1.65; }
.xs-prod-sec p:last-child { margin-bottom: 0; }
.xs-prod-sec .xs-plain-list { margin: 0; }
@media (max-width: 760px) {
	.xs-prod-group { padding: 22px 18px; }
	.xs-prod-group-title { font-size: 18px; }
}

.xs-cart-page, .xs-checkout-page { padding: 34px 0; }
.xs-cart-layout, .xs-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.xs-checkout-layout { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; }
.xs-summary-wrap { position: sticky; top: 100px; align-self: start; }
.xs-cart-items, .xs-checkout-form { display: grid; gap: 14px; }
.xs-checkout-help { margin: -4px 0 14px; color: #566060; font-size: 13px; line-height: 1.5; }
.xs-cart-row { display: grid; grid-template-columns: 92px 1fr auto auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-md); background: var(--xs-white); }
.xs-cart-row img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--xs-radius-sm); }
.xs-cart-row h2 { margin: 0; font-size: 18px; }
.xs-cart-row p { margin: 4px 0 0; color: var(--xs-muted); }
.xs-remove { color: #a01818; font-weight: 900; }
.xs-coupon-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-md); }
.xs-coupon-row input { min-height: 42px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-sm); padding: 0 12px; }
.xs-summary-card { align-self: start; }
.xs-summary-card table { width: 100%; border-collapse: collapse; }
.xs-summary-card th, .xs-summary-card td { padding: 10px 0; border-bottom: 1px solid var(--xs-border); text-align: left; }
.wc-proceed-to-checkout a.checkout-button { width: 100%; background: var(--xs-orange); color: #fff; border-radius: var(--xs-radius-sm); padding: 14px; text-align: center; font-weight: 900; text-transform: uppercase; display: block; }
.wc-proceed-to-checkout a.checkout-button:hover { background: #e15910; color: #fff; }

.xs-checkout-panel h2 { display: flex; align-items: center; gap: 10px; }
.xs-checkout-panel h2 span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--xs-bg-panel-2); color: var(--xs-text-main); }
.xs-checkout-payment-strip { margin: 0 0 16px; }
.xs-checkout-payment-strip .xs-payments span { border-color: var(--xs-border); background: #f8f9f3; }
.xs-checkout-payment-strip .xs-payment-icon { filter: none; }

/* === Checkout: sekcja platnosci - nadpisanie domyslnego fioletu WooCommerce === */
.woocommerce-checkout #payment,
.woocommerce #payment { background: var(--xs-offwhite); border-radius: var(--xs-radius-md); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--xs-border); padding: 4px 0; }
.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li label { color: var(--xs-text-dark); }
.woocommerce-checkout #payment input[type="radio"]:checked + label { color: var(--xs-text-dark); font-weight: 800; }
.woocommerce-checkout #payment div.payment_box { background: #f8f9f3; color: var(--xs-text-dark); border-radius: var(--xs-radius-sm); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #f8f9f3; }

/* Przycisk "Kupuje i place" (place order) - pomaranczowy marki */
.woocommerce-checkout #payment #place_order,
.woocommerce #place_order,
button#place_order { background: var(--xs-orange); color: #fff; border: 0; border-radius: var(--xs-radius-sm); padding: 14px 22px; font-weight: 900; text-transform: uppercase; }
.woocommerce-checkout #payment #place_order:hover,
button#place_order:hover { background: #e15910; color: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	min-height: 44px;
	border: 1px solid var(--xs-border);
	border-radius: var(--xs-radius-sm);
	padding: 10px 12px;
}
.xs-checkout-summary { background: #071014; color: var(--xs-text-main); border-color: var(--xs-line-dark); }
.xs-checkout-summary th, .xs-checkout-summary td { border-color: var(--xs-line-dark); }
.xs-summary-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.xs-summary-head h2 { margin: 0; }
.xs-summary-head a { color: var(--xs-green-light); font-size: 12px; white-space: nowrap; }
.xs-digital-box { margin-top: 16px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--xs-radius-sm); background: var(--xs-white); color: var(--xs-text-dark); }
.xs-digital-box h3 { margin: 0 0 6px; }
.xs-digital-feats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 13px; }
.xs-digital-feats li { display: flex; align-items: center; gap: 10px; }
.xs-digi-icon { width: 26px; height: 26px; flex: none; color: var(--xs-green); }
.xs-digital-feats span { display: flex; flex-direction: column; font-size: 12px; color: var(--xs-muted); line-height: 1.3; }
.xs-digital-feats strong { font-size: 13px; color: var(--xs-text-dark); }
/* Sticky pasek platnosci - tylko przy ukladzie jednokolumnowym (tablet/mobile); na desktopie ukryty (jest #place_order + sticky podsumowanie) */
.xs-sticky-pay { position: sticky; bottom: 0; z-index: 20; display: none; justify-content: space-between; gap: 18px; align-items: center; margin-top: 22px; padding: 16px; border-radius: var(--xs-radius-md) var(--xs-radius-md) 0 0; background: #071014; color: var(--xs-text-main); }
.xs-sticky-pay .xs-btn { white-space: nowrap; }

/* Kupon w podsumowaniu zamowienia (zamiast domyslnego toggla WooCommerce) */
.xs-checkout-coupon { margin: 4px 0 2px; }
.xs-checkout-coupon label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; color: var(--xs-text-main); }
.xs-checkout-coupon-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.xs-checkout-coupon-row input { min-height: 42px; border: 1px solid var(--xs-line-dark); border-radius: var(--xs-radius-sm); padding: 0 12px; font-size: 14px; background: rgba(255,255,255,.06); color: var(--xs-text-main); }
.xs-checkout-coupon-row input::placeholder { color: #8b9691; }
.xs-checkout-coupon-row .xs-btn-ghost { padding: 0 16px; border: 1px solid rgba(255,255,255,.2); color: var(--xs-text-main); background: transparent; border-radius: var(--xs-radius-sm); font-weight: 800; cursor: pointer; }
.xs-checkout-coupon-row .xs-btn-ghost:hover { background: var(--xs-green-light); color: #10130a; }

.xs-thankyou-hero { padding: 62px 0; text-align: center; background: linear-gradient(120deg, #071014, #122b28); color: var(--xs-text-main); }
.xs-success-mark { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 999px; background: var(--xs-green-light); color: #10130a; font-size: 44px; font-weight: 900; }
.xs-thankyou-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding: 34px 0; }
.xs-download-card { border: 1px solid var(--xs-border); border-radius: var(--xs-radius-md); background: var(--xs-white); padding: 22px; }
.xs-download-row { display: grid; grid-template-columns: 86px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--xs-border); }
.xs-download-row img { width: 86px; height: 86px; object-fit: cover; border-radius: var(--xs-radius-sm); }
/* USUNIETO: rozwijane pole szukania w headerze na stronach WC/konta rozwalalo uklad
   i robilo menu niespojne ze strona glowna. Header ma byc IDENTYCZNY wszedzie
   (ikona lupy jak na stronie glownej - default .xs-search input{display:none} w main.css). */
.woocommerce-account .xs-header .xs-container {
	width: min(1360px, calc(100% - 80px));
}
.xs-account-shell {
	background: #f7f8f5;
}
.xs-account-top {
	min-height: 250px;
	background:
		radial-gradient(circle at 12% 75%, rgba(255,255,255,.04), transparent 32%),
		repeating-linear-gradient(35deg, rgba(183, 224, 0, .045) 0 1px, transparent 1px 34px),
		linear-gradient(120deg, #071014, #10191d);
	color: var(--xs-text-main);
	overflow: hidden;
}
.xs-account-top-grid {
	min-height: 250px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 520px;
	gap: 36px;
	align-items: center;
}
.xs-account-breadcrumbs {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 14px;
	color: #c8d0cc;
	font-size: 12px;
}
.xs-account-breadcrumbs a:hover {
	color: var(--xs-green-light);
}
.xs-account-hero-copy h1 {
	margin: 0 0 12px;
	text-transform: uppercase;
	font-size: clamp(42px, 5vw, 58px);
	line-height: .98;
}
.xs-account-hero-copy h1 span {
	color: var(--xs-green-light);
}
.xs-account-hero-copy p {
	max-width: 560px;
	margin: 0;
	color: #f2f5ef;
	font-size: 18px;
	line-height: 1.45;
}
.xs-account-hero-media {
	align-self: stretch;
	display: flex;
	align-items: end;
	justify-content: end;
}
.xs-account-hero-media img {
	width: auto;
	max-width: 540px;
	max-height: 250px;
	transform: translateY(12px);
	filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .48));
}
.xs-account-layout {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 24px 0 18px;
}
.xs-account-sidebar {
	min-height: 1040px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 7px;
	background:
		linear-gradient(180deg, #0b1519, #061014);
	color: var(--xs-text-main);
	box-shadow: 0 12px 28px rgba(6, 16, 20, .18);
	overflow: hidden;
}
.xs-account-nav {
	display: grid;
	padding: 12px 0;
}
.xs-account-nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 18px;
	color: #e3e9e5;
	font-size: 14px;
	font-weight: 600;
	border-left: 3px solid transparent;
}
.xs-account-nav a:hover,
.xs-account-nav a.is-active {
	background: rgba(183, 224, 0, .12);
	color: var(--xs-green-light);
	border-left-color: var(--xs-green-light);
}
.xs-account-nav-icon {
	width: 19px;
	height: 19px;
	flex: none;
	color: currentColor;
}
.xs-account-help {
	margin: 34px 10px 0;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 6px;
	background: rgba(255, 255, 255, .045);
}
.xs-account-help strong {
	display: block;
	margin-bottom: 10px;
	text-transform: uppercase;
	font-size: 12px;
}
.xs-account-help p {
	margin: 0 0 14px;
	color: #d1d8d5;
	font-size: 12px;
	line-height: 1.45;
}
.xs-account-help .xs-btn {
	width: 100%;
	min-height: 36px;
	font-size: 11px;
}
.xs-account-content {
	min-width: 0;
}
.woocommerce-account .xs-account-content.woocommerce-MyAccount-content {
	float: none;
	width: auto;
}
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
	display: none;
}
.xs-account-dashboard {
	display: grid;
	gap: 20px;
	min-width: 0;
}
.xs-account-stat-grid {
	display: grid;
	/* Bylo sztywne repeat(4, ...) - na 360 px kafle wychodzily za ekran (audyt V3, rozdz. 19). */
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
	min-width: 0;
}
.xs-account-stat,
.xs-account-card {
	border: 1px solid #dedfdc;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(15, 16, 18, .05);
}
.xs-account-stat {
	position: relative;
	display: grid;
	grid-template-columns: 48px 1fr;
	column-gap: 14px;
	align-items: start;
	min-height: 118px;
	padding: 22px 20px 16px;
	color: var(--xs-text-dark);
}
.xs-account-stat-icon {
	grid-row: span 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: var(--xs-bg-panel-2);
	color: var(--xs-text-main);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.xs-account-stat-svg {
	width: 20px;
	height: 20px;
}
.xs-account-stat-label {
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
}
.xs-account-stat strong {
	display: block;
	margin-top: 2px;
	font-size: 30px;
	line-height: 1;
}
.xs-account-stat small {
	align-self: end;
	color: #5d6567;
	font-size: 13px;
}
.xs-account-panels {
	display: grid;
	/* Dwie kolumny tylko wtedy, gdy jest na nie miejsce. */
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	min-width: 0;
}
.xs-account-card {
	padding: 20px;
}
.xs-account-card h2,
.xs-account-section-head h2 {
	margin: 0;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 1.2;
}
.xs-last-order-body {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 18px;
	padding-top: 18px;
	margin-top: 14px;
	border-top: 1px solid #dedfdc;
}
.xs-order-thumb img,
.xs-order-thumb .xs-placeholder {
	width: 112px;
	height: 132px;
	min-height: 0;
	padding: 0;
	object-fit: cover;
	border-radius: 3px;
	background: #071014;
}
.xs-last-order h3 {
	margin: 18px 0 2px;
	font-size: 15px;
}
.xs-last-order p {
	margin: 0 0 10px;
	color: #5f6667;
	font-size: 13px;
}
.xs-last-order strong {
	display: block;
	margin-bottom: 14px;
	font-size: 17px;
}
.xs-order-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.xs-order-meta span {
	padding: 4px 8px;
	border-radius: 999px;
	background: #daf3c3;
	color: #247a1d;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 900;
}
.xs-order-meta small {
	color: #7a8284;
	font-size: 11px;
}
.xs-account-line-btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 38px;
	width: 100%;
	margin-top: 16px;
	border: 1px solid #d8dad5;
	border-radius: 5px;
	background: #fff;
	color: var(--xs-text-dark);
	font-size: 12px;
	font-weight: 900;
}
.xs-account-line-btn:hover {
	border-color: var(--xs-green);
	color: var(--xs-green-dark);
}
.xs-download-list {
	margin-top: 14px;
	border-top: 1px solid #dedfdc;
}
.xs-download-item {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) 94px;
	gap: 14px;
	align-items: center;
	min-height: 64px;
	border-bottom: 1px solid #e5e6e2;
}
.xs-file-icon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 34px;
	color: #e2463f;
}
.xs-file-svg {
	width: 27px;
	height: 27px;
}
.xs-download-item strong {
	display: block;
	font-size: 13px;
	line-height: 1.2;
}
.xs-download-item small {
	color: #697173;
	font-size: 12px;
}
.xs-download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 32px;
	border: 1px solid #d8dad5;
	border-radius: 5px;
	background: #fff;
	color: var(--xs-text-dark);
	font-size: 12px;
	font-weight: 800;
}
.xs-download-svg {
	width: 14px;
	height: 14px;
}
.xs-account-more {
	display: flex;
	justify-content: center;
	margin-top: 14px;
	color: #4e5658;
	font-size: 13px;
	font-weight: 700;
}
.xs-account-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}
.xs-account-section-head a {
	color: #5f6667;
	font-size: 12px;
	font-weight: 700;
}
.xs-account-package-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	min-width: 0;
}
.xs-account-package {
	display: flex;
	flex-direction: column;
	padding: 12px;
	border: 1px solid #dedfdc;
	border-radius: 6px;
}
.xs-package-head {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}
.xs-package-thumb img,
.xs-package-thumb .xs-placeholder {
	width: 62px;
	height: 42px;
	min-height: 0;
	padding: 0;
	object-fit: cover;
	border-radius: 3px;
	background: #071014;
	font-size: 10px;
}
.xs-package-head h3 {
	margin: 0;
	text-transform: uppercase;
	font-size: 12px;
}
.xs-package-head small {
	color: #5f6667;
	font-size: 11px;
}
.xs-package-head > span {
	align-self: start;
	padding: 3px 7px;
	border-radius: 999px;
	background: #d9f5c8;
	color: #287a22;
	text-transform: uppercase;
	font-size: 9px;
	font-weight: 900;
}
.xs-account-package ul {
	flex: 1;
	display: grid;
	align-content: start;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	color: #4f5759;
	font-size: 12px;
}
.xs-account-package li {
	display: flex;
	gap: 8px;
	align-items: center;
}
.xs-account-package .xs-account-line-btn {
	margin-top: auto;
}
.xs-package-file {
	width: 14px;
	height: 14px;
	flex: none;
	color: #7b8587;
}
.xs-account-bottom-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	min-width: 0;
}
.xs-purchase-list {
	display: grid;
	gap: 9px;
}
.xs-purchase-item {
	display: grid;
	grid-template-columns: 54px minmax(170px, 1fr) auto 86px;
	gap: 10px;
	align-items: center;
}
.xs-purchase-thumb img,
.xs-purchase-thumb .xs-placeholder {
	width: 54px;
	height: 38px;
	min-height: 0;
	padding: 0;
	object-fit: cover;
	border-radius: 3px;
	background: #071014;
	font-size: 9px;
}
.xs-purchase-item strong {
	display: block;
	font-size: 12px;
	line-height: 1.2;
}
.xs-purchase-item small {
	color: #747c7e;
	font-size: 10px;
}
.xs-purchase-item > span {
	font-size: 12px;
	font-weight: 900;
	white-space: nowrap;
}
.xs-recommend-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.xs-recommend-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #dedfdc;
	border-radius: 6px;
	overflow: hidden;
}
.xs-recommend-media {
	position: relative;
	display: block;
	background: #071014;
}
.xs-recommend-media img,
.xs-recommend-media .xs-placeholder {
	width: 100%;
	aspect-ratio: 16 / 10;
	min-height: 0;
	padding: 10px;
	object-fit: contain;
	border-radius: 0;
	background: #071014;
}
.xs-recommend-media .xs-badge {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 1;
}
.xs-recommend-card > div {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 12px;
}
.xs-recommend-card h3 {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.25;
}
.xs-recommend-card p {
	margin: 0 0 8px;
	color: #5f6667;
	font-size: 12px;
	line-height: 1.35;
}
.xs-recommend-card strong {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
}
.xs-recommend-card .xs-account-line-btn {
	margin-top: auto;
}

@media (max-width: 1100px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.xs-shop-hero-grid, .xs-product-layout, .xs-cart-layout, .xs-checkout-layout, .xs-thankyou-layout { grid-template-columns: 1fr; }
	.xs-shop-layout { grid-template-columns: 1fr; }
	.xs-summary-wrap { position: static; }
	.xs-sticky-pay { display: flex; }
	.xs-filter-panel { display: none; position: fixed; inset: 0 0 0 auto; width: min(360px, 92vw); z-index: 40; overflow: auto; border-radius: 0; box-shadow: -18px 0 46px rgba(0, 0, 0, .34);
		/* `align-self: start` z ukladu desktopowego zostawial panelowi wysokosc tresci
		   (604 px na ekranie 900 px) i pod nim przeswitywala lista produktow. */
		align-self: stretch; height: 100dvh; }
	.xs-filter-panel.is-open { display: block; }
	.xs-filter-close { display: inline-grid; width: 38px; height: 38px; place-items: center; }
	/* Ponizej 1101 px kolumna filtrow chowa sie w wysuwany panel, ale przycisk, ktory go
	   otwiera, mial `display: none` bez zadnego wyjatku - na tablecie i telefonie filtrow
	   NIE DALO SIE otworzyc wcale (znalezione 17.09 przy zgloszeniu o rozjechanych filtrach). */
	.xs-filter-toggle { display: inline-flex; justify-self: start; }
	/* Przyciemnienie tla pod wysunietym panelem - bez niego panel wisial nad trescia
	   i nie bylo widac, ze reszta strony jest nieaktywna. */
	.xs-filter-zaslona { display: none; position: fixed; inset: 0; z-index: 39; background: rgba(4, 8, 6, .55); }
	.xs-filter-zaslona.is-open { display: block; }
	.xs-product-bottom-grid, .xs-dashboard-cards, .xs-account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.woocommerce ul.products, .xs-package-banner .xs-container, .xs-meta-box, .xs-add-cart-form, .xs-cart-row, .xs-download-row, .xs-account-hero { grid-template-columns: 1fr; }
	/* Telefon: na pasku nie miesci sie nazwa produktu ani drugi przycisk - zostaje cena + "Kup teraz". */
	.xs-sticky-buybar { padding: 10px 0; }
	.xs-sticky-inner { width: calc(100% - 28px); gap: 12px; }
	.xs-sticky-name, .xs-sticky-add { display: none; }
	.xs-sticky-price { font-size: 18px; margin-left: 0; }
	.xs-sticky-actions { margin-left: auto; }
	.xs-sticky-actions .xs-btn { padding: 11px 20px; }
	.xs-product-hero { padding-bottom: 90px; }
	.xs-sticky-pay { display: grid; }

	/* Telefon: pasek sortowania to rzad przyciskow, ktory sie nie zawija. Kolumna wynikow
	   dostawala od niego minimalna szerokosc ~571 px i CALA strona /sklep/ przewijala sie
	   w bok (zmierzone na 390 px: dokument 600 px). Kolumna moze sie kurczyc (minmax 0),
	   a sortowanie schodzi do wlasnego wiersza i zawija sie. */
	.xs-shop-layout { grid-template-columns: minmax(0, 1fr); }
	.xs-shop-results { min-width: 0; }
	.xs-shop-result-bar { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.xs-shop-sort { flex-wrap: wrap; justify-content: flex-start; row-gap: 8px; }
	.xs-shop-sort a { min-height: 36px; padding: 0 12px; }
}

/* === KOSZYK 1:1 (mockup PLIKI-OPERACYJNE/koszyk) === */
.xs-cart-page h1 { margin: 6px 0 20px; }
.xs-trust-3 { grid-template-columns: repeat(3, 1fr); }
.xs-cart-trust-top { margin-bottom: 26px; }
.xs-cart-items { display: grid; gap: 16px; align-content: start; }

.xs-cart-table { border: 1px solid var(--xs-border); border-radius: var(--xs-radius-md); background: var(--xs-white); overflow: hidden; }
.xs-cart-thead { display: grid; grid-template-columns: 84px minmax(0, 1fr) 92px 74px 96px 44px; gap: 16px; align-items: center; padding: 13px 20px; background: #f6f7f2; border-bottom: 1px solid var(--xs-border); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--xs-muted); }
.xs-cart-thead span:first-child { grid-column: 1 / 3; }
.xs-cart-thead span:last-child { text-align: center; }

.xs-cart-row2 { display: grid; grid-template-columns: 84px minmax(0, 1fr) 92px 74px 96px 44px; gap: 16px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--xs-border); }
.xs-cart-row2:last-of-type { border-bottom: 0; }
.xs-cart-thumb { display: block; }
.xs-cart-thumb img { width: 84px; height: 84px; object-fit: contain; background: #071014; border-radius: var(--xs-radius-sm); padding: 6px; }
.xs-cart-info h2 { margin: 0; font-size: 16px; line-height: 1.25; }
.xs-cart-info h2 a { color: var(--xs-text-dark); }
.xs-cart-info p { margin: 5px 0 0; color: var(--xs-muted); font-size: 13px; line-height: 1.4; }
.xs-cart-format { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--xs-text-dark); }
.xs-cart-format-icon { width: 16px; height: 16px; color: var(--xs-muted); }
.xs-cart-lang { font-size: 13px; color: var(--xs-text-dark); }
.xs-cart-price { font-size: 15px; font-weight: 800; color: var(--xs-text-dark); white-space: nowrap; }
.xs-cart-remove { display: inline-grid; place-items: center; width: 36px; height: 36px; margin: 0 auto; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-sm); color: var(--xs-muted); transition: color .15s, border-color .15s, background .15s; }
.xs-cart-remove:hover { color: #a01818; border-color: #e6b8b8; background: #fbf1f1; }
.xs-cart-remove-icon { width: 17px; height: 17px; }

.xs-btn-ghost { min-height: 0; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-sm); background: var(--xs-white); color: var(--xs-text-dark); font-weight: 700; font-size: 14px; text-transform: none; }
.xs-btn-ghost:hover { border-color: var(--xs-green-text); color: var(--xs-green-text); box-shadow: none; transform: none; }
.xs-cart-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.xs-cart-clear .xs-btn-icon { width: 16px; height: 16px; margin: 0; }
.xs-cart-clear:hover { border-color: #e6b8b8; color: #a01818; }
.xs-cart-update-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.xs-cart-summary { align-self: start; position: sticky; top: 100px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-md); background: var(--xs-white); padding: 22px; box-shadow: var(--xs-shadow-card); }
.xs-cart-summary h2 { margin: 0 0 16px; font-size: 19px; }
.xs-cart-sumrows { display: grid; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--xs-border); }
.xs-cart-sumrow { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--xs-text-dark); }
.xs-cart-sumrow > span:first-child { color: var(--xs-muted); }
.xs-cart-sum-discount > span:last-child { color: var(--xs-green-text); font-weight: 700; }
.xs-cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.xs-cart-total span { font-size: 16px; font-weight: 800; color: var(--xs-text-dark); }
.xs-cart-total strong { font-size: 26px; font-weight: 900; color: var(--xs-text-dark); white-space: nowrap; }
.xs-cart-vat { margin: 4px 0 0; font-size: 12px; color: var(--xs-muted); }
.xs-cart-coupon { margin-top: 20px; }
.xs-cart-coupon label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--xs-text-dark); }
.xs-cart-coupon-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.xs-cart-coupon-row input { min-height: 44px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-sm); padding: 0 12px; font-size: 14px; background: var(--xs-white); }
.xs-cart-coupon-row .xs-btn-ghost { padding: 0 16px; }
/* Glowny przycisk koszyka - pomaranczowy kolor marki, ten sam co "Kupuje i place" w kasie.
   Bylo #6f8b0e (oliwkowa zielen) i gubilo sie na tle karty podsumowania. */
.xs-cart-checkout { min-height: 0; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 16px; padding: 18px; border-radius: var(--xs-radius-sm); background: var(--xs-orange); color: #fff; font-weight: 900; font-size: 17px; letter-spacing: .3px; text-transform: uppercase; box-shadow: 0 4px 14px rgba(251, 106, 31, .32); }
.xs-cart-checkout:hover { background: #e05713; color: #fff; box-shadow: 0 6px 18px rgba(251, 106, 31, .45); transform: none; }
.xs-cart-checkout span { transition: transform .15s; }
.xs-cart-checkout:hover span { transform: translateX(4px); }
.xs-cart-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 10px; font-size: 13px; font-weight: 700; color: var(--xs-text-dark); }
.xs-cart-secure-icon { width: 16px; height: 16px; color: var(--xs-green); }
.xs-cart-payments { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.xs-cart-payments span { display: inline-grid; place-items: center; height: 26px; }
.xs-cart-payments .xs-payment-icon { height: 24px; width: auto; filter: none; }
.xs-cart-digital { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(143, 174, 46, .4); border-radius: var(--xs-radius-sm); background: rgba(143, 174, 46, .09); }
.xs-cart-digital-icon { width: 28px; height: 28px; flex: none; color: var(--xs-green-dark); }
.xs-cart-digital strong { display: block; font-size: 14px; color: var(--xs-text-dark); }
.xs-cart-digital small { font-size: 12px; color: var(--xs-muted); }

.xs-cart-reco { margin-top: 42px; }
.xs-cart-reco-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.xs-cart-reco-head h2 { margin: 0; font-size: 22px; }
.xs-cart-reco-head p { margin: 4px 0 0; color: var(--xs-muted); font-size: 14px; }
.xs-cart-reco-all { color: var(--xs-green-dark); font-weight: 700; font-size: 14px; white-space: nowrap; }
.xs-cart-reco-all:hover { text-decoration: underline; }
.xs-cart-reco-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.xs-cart-reco-card { display: flex; flex-direction: column; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-md); background: var(--xs-white); padding: 14px; }
.xs-cart-reco-top { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.xs-cart-reco-media { display: block; }
.xs-cart-reco-media img, .xs-cart-reco-media .xs-placeholder { width: 84px; height: 104px; min-height: 0; object-fit: contain; background: #071014; border-radius: var(--xs-radius-sm); padding: 6px; }
.xs-cart-reco-media .xs-placeholder-mark { width: 26px; height: 26px; font-size: 17px; }
.xs-cart-reco-media .xs-placeholder strong { font-size: 7px; -webkit-line-clamp: 2; }
.xs-cart-reco-media .xs-placeholder small,
.xs-cart-reco-media .xs-placeholder i { display: none; }
.xs-cart-reco-body h3 { margin: 0; font-size: 14px; line-height: 1.25; }
.xs-cart-reco-body h3 a { color: var(--xs-text-dark); }
.xs-cart-reco-body p { margin: 6px 0 8px; color: var(--xs-muted); font-size: 12px; line-height: 1.35; }
.xs-cart-reco-body .xs-price { display: block; font-size: 15px; font-weight: 800; color: var(--xs-text-dark); }
.xs-btn-reco { min-height: 0; display: block; width: 100%; margin-top: auto; padding: 11px; text-align: center; border: 1.5px solid var(--xs-green); border-radius: var(--xs-radius-sm); background: var(--xs-white); color: var(--xs-green-dark); font-weight: 800; font-size: 13px; text-transform: none; }
.xs-btn-reco:hover { background: var(--xs-green); color: #fff; box-shadow: none; transform: none; }

.xs-cart-trust-bottom { margin-top: 38px; }

@media (max-width: 1100px) {
	.xs-cart-summary { position: static; }
	.xs-cart-reco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.xs-trust-3 { grid-template-columns: 1fr; }
	.xs-cart-thead { display: none; }
	.xs-cart-row2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
	.xs-cart-thumb img { width: 64px; height: 64px; }
	.xs-cart-info { flex: 1 1 55%; }
	.xs-cart-format, .xs-cart-lang { display: none; }
	.xs-cart-price { margin-left: auto; }
	.xs-cart-actions { flex-direction: column; }
	.xs-cart-actions .xs-btn-ghost { justify-content: center; }
	.xs-cart-reco-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.xs-checkout-page .xs-sticky-pay { display: none; }
	.xs-checkout-help { font-size: 12px; line-height: 1.45; }
	.xs-checkout-panel { padding: 18px 14px; }
	.xs-checkout-panel h2 { font-size: 18px; }
	.xs-checkout-payment-strip .xs-payments { gap: 6px; }
	.xs-checkout-payment-strip .xs-payments span { width: 42px; height: 30px; padding: 4px 6px; }
	.xs-checkout-payment-strip .xs-payment-icon[src*="paypal"] { max-width: 23px; height: 23px; }
	.woocommerce-checkout #payment #place_order { width: 100%; }
	.xs-cart-reco-head { align-items: flex-start; flex-direction: column; }
	.xs-cart-reco-all { white-space: normal; }
}

/* === PODZIEKOWANIE ZA ZAMOWIENIE (thankyou) 1:1 (mockup zamowienie-podziekowanie) === */
.woocommerce-order-received { background: #0a0e0d; }

.xs-ty-hero { position: relative; overflow: hidden; padding: 34px 0 40px; background: radial-gradient(120% 150% at 14% -10%, #17301f 0%, #0a0e0d 58%); border-bottom: 1px solid rgba(255, 255, 255, .06); color: var(--xs-text-main); }
.xs-ty-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin: 0 0 30px; padding: 0; list-style: none; }
.xs-ty-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #6c7a72; }
.xs-ty-steps li.is-done { color: #cfe0c8; }
.xs-ty-steps li.is-active { color: var(--xs-green-light); }
.xs-ty-step-icon { width: 20px; height: 20px; }
.xs-ty-hero-main { display: flex; align-items: center; gap: 24px; }
.xs-ty-check { display: grid; place-items: center; width: 84px; height: 84px; flex: none; border-radius: 999px; background: var(--xs-green-light); color: #0a0e0d; box-shadow: 0 0 0 10px rgba(183, 224, 0, .12); }
.xs-ty-check-icon { width: 46px; height: 46px; stroke-width: 3; }
.xs-ty-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.08; color: #fff; }
.xs-ty-hero h1 em { font-style: normal; color: var(--xs-green-light); }
.xs-ty-hero-main p { margin: 12px 0 0; max-width: 620px; color: #b9c2bd; font-size: 15px; line-height: 1.5; }

.xs-ty-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; padding: 32px 0; align-items: start; }
.xs-ty-orders, .xs-ty-files, .xs-ty-info { border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--xs-radius-md); background: #0e1412; color: var(--xs-text-main); }
.xs-ty-orders { padding: 24px; }
.xs-ty-orders-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.xs-ty-orders-head h2, .xs-ty-files h2, .xs-ty-info h2 { margin: 0; font-size: 18px; color: #fff; }
.xs-ty-onum { margin: 8px 0 2px; font-size: 13px; color: #b9c2bd; }
.xs-ty-onum strong { color: #fff; }
.xs-ty-odate { margin: 0; font-size: 12px; color: #7f8a84; }
.xs-ty-orders-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.xs-ty-status { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; background: rgba(255, 255, 255, .08); color: #cbd3ce; }
.xs-ty-status.is-paid { background: rgba(183, 224, 0, .16); color: var(--xs-green-light); }
.xs-ty-amount { font-size: 13px; color: #b9c2bd; }
.xs-ty-amount strong { color: #fff; }
.xs-ty-order-rows { display: grid; }
.xs-ty-order-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.xs-ty-order-row:last-child { border-bottom: 0; padding-bottom: 0; }
.xs-ty-thumb img { width: 76px; height: 76px; object-fit: contain; background: #05080a; border-radius: var(--xs-radius-sm); padding: 6px; }
.xs-ty-order-info h3 { margin: 0; font-size: 15px; color: #fff; }
.xs-ty-order-info p { margin: 5px 0 8px; font-size: 12px; color: #9aa3a0; line-height: 1.4; }
.xs-ty-formats { display: flex; flex-wrap: wrap; gap: 6px; }
.xs-ty-chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .14); font-size: 11px; font-weight: 700; color: #cbd3ce; }
.xs-ty-order-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 150px; }
.xs-ty-dl { min-height: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: var(--xs-green-light); color: #0a0e0d; font-weight: 800; font-size: 13px; text-transform: none; border-radius: var(--xs-radius-sm); }
.xs-ty-dl:hover { background: #c6f000; color: #0a0e0d; box-shadow: none; transform: none; }
.xs-ty-dl .xs-btn-icon { width: 15px; height: 15px; margin: 0; }
.xs-ty-account-link { text-align: center; font-size: 12px; color: #9aa3a0; }
.xs-ty-account-link:hover { color: var(--xs-green-light); }

.xs-ty-side { display: grid; gap: 18px; }
.xs-ty-files, .xs-ty-info { padding: 22px; }
.xs-ty-files-sub { margin: 4px 0 16px; font-size: 12px; color: #9aa3a0; }
.xs-ty-file-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.xs-ty-file-row { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--xs-radius-sm); background: rgba(255, 255, 255, .02); }
.xs-ty-file-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #cbd3ce; }
.xs-ty-file-icon.is-pdf { color: #ff6b5e; background: rgba(255, 107, 94, .12); }
.xs-ty-file-icon.is-xls { color: #57c97a; background: rgba(87, 201, 122, .12); }
.xs-ty-file-icon.is-img { color: #5aa9ff; background: rgba(90, 169, 255, .12); }
.xs-ty-file-icon.is-zip { color: #d9b45a; background: rgba(217, 180, 90, .12); }
.xs-ty-fi { width: 17px; height: 17px; }
.xs-ty-file-row strong { font-size: 13px; color: #fff; }
.xs-ty-file-count { text-align: right; font-size: 12px; color: #9aa3a0; }
.xs-ty-zip { min-height: 0; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; background: var(--xs-green-light); color: #0a0e0d; font-weight: 800; font-size: 14px; text-transform: none; border-radius: var(--xs-radius-sm); }
.xs-ty-zip:hover { background: #c6f000; color: #0a0e0d; box-shadow: none; transform: none; }
.xs-ty-zip .xs-btn-icon { width: 16px; height: 16px; margin: 0; }
.xs-ty-files-total { margin: 12px 0 0; text-align: center; font-size: 12px; color: #9aa3a0; }
.xs-ty-files-empty { margin: 0 0 16px; font-size: 13px; color: #9aa3a0; line-height: 1.5; }

.xs-ty-info-list { list-style: none; margin: 0; padding: 0; display: grid; }
.xs-ty-info-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.xs-ty-info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.xs-ty-info-row:first-child { padding-top: 0; }
.xs-ty-info-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--xs-muted); }
.xs-ty-ii { width: 18px; height: 18px; }
.xs-ty-info-row strong { display: block; font-size: 14px; color: #fff; }
.xs-ty-info-row small { font-size: 12px; color: #9aa3a0; }
.xs-ty-info-act { color: #9aa3a0; }
.xs-ty-info-act:hover { color: var(--xs-green-light); }
.xs-ty-ext { width: 17px; height: 17px; }

.xs-ty-reco { padding: 18px 0 30px; }
.xs-ty-reco h2 { margin: 0 0 18px; font-size: 22px; color: #fff; }
.xs-ty-reco .xs-product-card { background: #0e1412; border: 1px solid rgba(255, 255, 255, .09); }
.xs-ty-reco .xs-product-body h3 a { color: #fff; }
.xs-ty-reco .xs-product-body .xs-price { color: #fff; }

.xs-ty-cta { border-top: 1px solid rgba(255, 255, 255, .06); background: radial-gradient(120% 170% at 88% 50%, #17301f 0%, #0a0e0d 55%); }
.xs-ty-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px 0; }
.xs-ty-cta-copy { display: flex; align-items: center; gap: 16px; }
.xs-ty-cta-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--xs-muted); }
.xs-ty-cta-i { width: 26px; height: 26px; }
.xs-ty-cta-copy h2 { margin: 0; font-size: 20px; color: #fff; }
.xs-ty-cta-copy p { margin: 4px 0 0; font-size: 13px; color: #b9c2bd; }
.xs-ty-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.xs-ty-cta-actions .xs-btn { text-transform: none; }
.xs-ty-cta-primary { min-height: 0; display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; background: var(--xs-green-light); color: #0a0e0d; font-weight: 800; border-radius: var(--xs-radius-sm); }
.xs-ty-cta-primary:hover { background: #c6f000; color: #0a0e0d; box-shadow: none; transform: none; }
.xs-ty-cta-primary span { transition: transform .15s; }
.xs-ty-cta-primary:hover span { transform: translateX(4px); }

@media (max-width: 1100px) {
	.xs-ty-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.xs-ty-hero-main { flex-direction: column; text-align: center; }
	.xs-ty-hero-main p { margin-left: auto; margin-right: auto; }
	.xs-ty-order-row { grid-template-columns: 60px 1fr; }
	.xs-ty-order-actions { grid-column: 1 / -1; flex-direction: row; min-width: 0; }
	.xs-ty-order-actions .xs-ty-dl { flex: 1; }
	.xs-ty-orders-head { flex-direction: column; }
	.xs-ty-orders-meta { align-items: flex-start; }
	.xs-ty-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* === MOJE KONTO: MOJE ZAMOWIENIA (endpoint orders) === */
.xs-orders { display: grid; gap: 16px; }
.xs-orders-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.xs-orders-tabs { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.xs-orders-tabs a { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #5f6667; background: #eef0ea; }
.xs-orders-tabs a:hover { background: #e3e6dd; color: var(--xs-text-dark); }
.xs-orders-tabs a.is-active { background: #0e1412; color: #fff; }
.xs-orders-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.xs-orders-stat { display: flex; align-items: center; gap: 10px; }
.xs-orders-stat-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 999px; background: var(--xs-bg-panel-2); color: var(--xs-text-main); }
.xs-os-svg { width: 17px; height: 17px; }
.xs-orders-stat small { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #7f8785; }
.xs-orders-stat strong { font-size: 16px; color: var(--xs-text-dark); }

.xs-orders-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.xs-orders-search { position: relative; flex: 1 1 320px; display: flex; align-items: center; }
.xs-orders-search-icon { position: absolute; left: 12px; width: 16px; height: 16px; color: #8a918f; pointer-events: none; }
.xs-orders-search input { width: 100%; min-height: 44px; padding: 0 14px 0 36px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-sm); background: #fff; font-size: 14px; }
.xs-orders-daterange { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 44px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-sm); background: #fff; font-size: 13px; color: #5f6667; }
.xs-orders-date-icon { width: 16px; height: 16px; color: #8a918f; }
.xs-orders-sort { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #5f6667; }
.xs-orders-sort select { min-height: 44px; padding: 0 30px 0 12px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-sm); background: #fff; font-size: 13px; font-weight: 700; color: var(--xs-text-dark); }

.xs-orders-table { border: 1px solid #dedfdc; border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 8px 20px rgba(15, 16, 18, .05); }
.xs-orders-thead, .xs-orders-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) 130px 96px 112px 158px; gap: 14px; align-items: center; }
.xs-orders-thead { padding: 14px 22px; background: #f6f7f2; border-bottom: 1px solid #dedfdc; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #7f8785; }
.xs-orders-row { padding: 16px 22px; border-bottom: 1px solid #ececea; }
.xs-orders-row:last-child { border-bottom: 0; }
.xs-orders-num strong { display: block; font-size: 14px; color: var(--xs-text-dark); }
.xs-orders-num small { font-size: 12px; color: #8a918f; }
.xs-orders-prod { display: flex; align-items: center; gap: 12px; min-width: 0; }
.xs-orders-thumb img, .xs-orders-thumb .xs-placeholder { width: 46px; height: 46px; min-height: 0; padding: 4px; object-fit: contain; border-radius: 6px; background: #071014; }
.xs-orders-prod strong { display: block; font-size: 13px; color: var(--xs-text-dark); line-height: 1.25; }
.xs-orders-prod small { font-size: 12px; color: #8a918f; }
.xs-orders-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.xs-orders-badge.is-done { background: rgba(143, 174, 46, .16); color: #4f6d13; }
.xs-orders-badge.is-progress { background: rgba(224, 165, 46, .16); color: #9a6c15; }
.xs-orders-badge.is-cancel { background: rgba(192, 57, 43, .12); color: #a3352b; }
.xs-orders-amount { font-size: 14px; font-weight: 800; color: var(--xs-text-dark); }
.xs-orders-invoice a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--xs-text-dark); }
.xs-orders-invoice a:hover { color: var(--xs-green-dark); }
.xs-orders-inv-icon { width: 15px; height: 15px; }
.xs-orders-action { text-align: right; }
.xs-orders-action a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--xs-green-dark); }
.xs-orders-action a span { transition: transform .15s; }
.xs-orders-action a:hover span { transform: translateX(3px); }

.xs-orders-empty { display: grid; justify-items: center; gap: 10px; padding: 48px 24px; text-align: center; border: 1px solid #dedfdc; border-radius: 8px; background: #fff; }
.xs-orders-empty-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 999px; background: var(--xs-bg-panel-2); color: var(--xs-muted); }
.xs-orders-empty h3 { margin: 6px 0 0; font-size: 18px; }
.xs-orders-empty p { margin: 0 0 8px; color: #5f6566; font-size: 14px; }
.xs-orders-empty .xs-btn { text-transform: none; }

@media (max-width: 1000px) {
	.xs-orders-thead { display: none; }
	.xs-orders-row { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
	.xs-orders-prod { grid-column: 1 / -1; order: -1; }
	.xs-orders-action { text-align: left; }
}

/* === MOJE KONTO: PLIKI DO POBRANIA (endpoint downloads) === */
.xs-dl { display: grid; gap: 16px; }
.xs-dl-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.xs-dl-stat { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; padding: 16px; border: 1px solid #dedfdc; border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(15, 16, 18, .05); color: var(--xs-text-dark); }
.xs-dl-stat-icon { grid-row: span 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }
.xs-dl-stat-icon.is-total { border-radius: 999px; background: var(--xs-bg-panel-2); color: var(--xs-muted); }
.xs-dl-stat-icon.is-pdf { background: rgba(224, 80, 63, .13); color: #e0503f; }
.xs-dl-stat-icon.is-xls { background: rgba(63, 157, 92, .15); color: #3f9d5c; }
.xs-dl-stat-icon.is-img { background: rgba(61, 132, 214, .15); color: #3d84d6; }
.xs-dl-stat-icon.is-zip { background: rgba(181, 138, 31, .18); color: #b58a1f; }
.xs-dl-stat-svg { width: 19px; height: 19px; }
.xs-dl-stat-label { align-self: center; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #7f8785; line-height: 1.2; }
.xs-dl-stat strong { font-size: 26px; line-height: 1; margin-top: 2px; }
.xs-dl-stat small { color: #5d6567; font-size: 12px; font-weight: 700; }

.xs-dl-toolbar { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.xs-dl-search { position: relative; flex: 1 1 300px; display: flex; align-items: center; }
.xs-dl-search-icon { position: absolute; left: 12px; width: 16px; height: 16px; color: #8a918f; pointer-events: none; }
.xs-dl-search input { width: 100%; min-height: 44px; padding: 0 14px 0 36px; border: 1px solid var(--xs-border); border-radius: var(--xs-radius-sm); background: #fff; font-size: 14px; }
.xs-dl-select { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #7f8785; }
.xs-dl-select select { min-height: 44px; padding: 0 28px 0 12px; border: 1px solid var(--xs-border); border-radius: 6px; background: #fff; font-size: 13px; color: var(--xs-text-dark); }
.xs-dl-select select:disabled { color: #9aa09d; background: #f4f5f1; }
.xs-dl-all-btn { margin-left: auto; min-height: 44px; padding: 0 18px; border: 1px solid var(--xs-border); border-radius: 6px; background: #fff; color: var(--xs-text-dark); font-weight: 700; font-size: 14px; text-transform: none; }
.xs-dl-all-btn:hover { border-color: var(--xs-green); color: var(--xs-green-dark); box-shadow: none; transform: none; }
.xs-dl-all-btn .xs-btn-icon { width: 16px; height: 16px; margin: 0; }

.xs-dl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.xs-dl-all, .xs-dl-recent { padding: 20px; }
.xs-dl-all h2, .xs-dl-recent h2 { margin: 0 0 16px; }
.xs-dl-thead, .xs-dl-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 92px 108px 116px; gap: 12px; align-items: center; }
.xs-dl-thead { padding: 0 0 10px; border-bottom: 1px solid #e3e4e1; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #8a918f; }
.xs-dl-row { padding: 14px 0; border-bottom: 1px solid #ececea; }
.xs-dl-row:last-child { border-bottom: 0; padding-bottom: 0; }
.xs-dl-file { display: flex; align-items: center; gap: 10px; min-width: 0; }
.xs-dl-file-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 8px; }
.xs-dl-file-icon.is-pdf { background: rgba(224, 80, 63, .13); color: #e0503f; }
.xs-dl-file-icon.is-xls { background: rgba(63, 157, 92, .15); color: #3f9d5c; }
.xs-dl-file-icon.is-img { background: rgba(61, 132, 214, .15); color: #3d84d6; }
.xs-dl-file-icon.is-zip { background: rgba(181, 138, 31, .18); color: #b58a1f; }
.xs-dl-fi { width: 17px; height: 17px; }
.xs-dl-file strong { display: block; font-size: 13px; color: var(--xs-text-dark); line-height: 1.25; }
.xs-dl-file small { font-size: 11px; color: #8a918f; }
.xs-dl-chip { display: inline-flex; padding: 4px 9px; border-radius: 5px; font-size: 11px; font-weight: 800; background: #eef0ea; color: #5f6667; }
.xs-dl-chip.is-pdf { background: rgba(224, 80, 63, .12); color: #c0402f; }
.xs-dl-chip.is-xls { background: rgba(63, 157, 92, .14); color: #337a48; }
.xs-dl-chip.is-img { background: rgba(61, 132, 214, .14); color: #2f6bb0; }
.xs-dl-chip.is-zip { background: rgba(181, 138, 31, .16); color: #92700f; }
.xs-dl-size, .xs-dl-date { font-size: 13px; color: #5f6667; }
.xs-dl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; border-radius: 6px; background: var(--xs-green-light); color: #10130a; font-weight: 800; font-size: 12px; }
.xs-dl-btn:hover { background: #c6f000; }
.xs-dl-btn-icon { width: 14px; height: 14px; }

.xs-dl-recent-list { display: grid; }
.xs-dl-recent-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #ececea; }
.xs-dl-recent-item:last-child { border-bottom: 0; padding-bottom: 0; }
.xs-dl-recent-item strong { display: block; font-size: 12px; color: var(--xs-text-dark); line-height: 1.25; }
.xs-dl-recent-item small { font-size: 11px; color: #8a918f; }
.xs-dl-recent-item time { font-size: 11px; color: #8a918f; white-space: nowrap; }
.xs-dl-recent-empty { color: #8a918f; font-size: 13px; }

.xs-dl-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 20px; text-align: center; }
.xs-dl-empty-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--xs-bg-panel-2); color: var(--xs-muted); }
.xs-dl-empty h3 { margin: 6px 0 0; font-size: 17px; }
.xs-dl-empty p { margin: 0 0 8px; color: #5f6566; font-size: 14px; }
.xs-dl-empty .xs-btn { text-transform: none; }

@media (max-width: 1200px) {
	.xs-dl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
	.xs-dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.xs-dl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.xs-dl-thead { display: none; }
	.xs-dl-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
	.xs-dl-file { grid-column: 1 / -1; }
	.xs-dl-date { display: none; }
}

/* === MOJE KONTO: DANE KONTA (endpoint edit-account) === */
.xs-dk { display: grid; gap: 16px; }
.xs-dk-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.xs-dk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.xs-dk-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.xs-dk-card-head h3 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--xs-text-dark); }
.xs-dk-edit-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--xs-border); border-radius: 6px; background: #fff; color: var(--xs-text-dark); font-size: 12px; font-weight: 700; cursor: pointer; }
.xs-dk-edit-btn:hover { border-color: var(--xs-green); color: var(--xs-green-dark); }

.xs-dk-profile-body { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.xs-dk-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: #0e1412; color: var(--xs-text-main); font-weight: 900; font-size: 18px; flex: none; }
.xs-dk-profile-body > div { flex: 1; min-width: 100px; }
.xs-dk-profile-body > div strong { display: block; font-size: 16px; }
.xs-dk-profile-body > div small { color: #8a918f; font-size: 12px; }
.xs-dk-verified { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(143, 174, 46, .16); color: #4f6d13; font-size: 11px; font-weight: 800; }
.xs-dk-verified-icon { width: 14px; height: 14px; }

.xs-dk-security-body { display: flex; align-items: center; gap: 14px; }
.xs-dk-security-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(143, 174, 46, .14); color: var(--xs-green-dark); flex: none; }
.xs-dk-security-svg { width: 22px; height: 22px; }
.xs-dk-security-body strong { display: block; font-size: 14px; }
.xs-dk-security-body small { color: #8a918f; font-size: 12px; }

.xs-dk-view { display: grid; gap: 12px; }
.xs-dk-row { display: grid; gap: 2px; }
.xs-dk-row > span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #8a918f; }
.xs-dk-row > strong { font-size: 14px; color: var(--xs-text-dark); font-weight: 600; }
.xs-dk-dots { letter-spacing: 3px; }
.xs-dk-info { display: flex; gap: 10px; padding: 12px 14px; border-radius: 8px; background: #eef4fb; border: 1px solid #d6e6f5; margin-top: 4px; }
.xs-dk-info-icon { width: 18px; height: 18px; flex: none; color: #3d84d6; margin-top: 1px; }
.xs-dk-info span { display: flex; flex-direction: column; font-size: 12px; color: #5a6b7a; line-height: 1.4; }
.xs-dk-info strong { color: #2f5b85; font-size: 12px; }

.xs-dk-fields { display: none; gap: 12px; }
.xs-dk-card.is-editing .xs-dk-view { display: none; }
.xs-dk-card.is-editing .xs-dk-fields { display: grid; }
.xs-dk-fields label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; color: #5f6667; }
.xs-dk-fields input, .xs-dk-fields select { min-height: 44px; padding: 0 12px; border: 1px solid var(--xs-border); border-radius: 6px; background: #fff; font-size: 14px; font-weight: 400; color: var(--xs-text-dark); }
.xs-dk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.xs-dk-save { display: flex; justify-content: flex-end; }
.xs-dk-save-btn { min-height: 0; display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; background: var(--xs-green-light); color: #10130a; font-weight: 800; text-transform: none; border-radius: 6px; }
.xs-dk-save-btn:hover { background: #c6f000; color: #10130a; box-shadow: none; transform: none; }
.xs-dk-save-btn .xs-btn-icon { width: 16px; height: 16px; margin: 0; }

@media (max-width: 900px) {
	.xs-dk-top, .xs-dk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.xs-dk-two { grid-template-columns: 1fr; }
}

/* === MOJE KONTO: PLATNOSCI I FAKTURY (endpoint payment-methods) === */
.xs-pf { display: grid; gap: 16px; }
.xs-pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.xs-pf-stat { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; padding: 16px; border: 1px solid #dedfdc; border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(15, 16, 18, .05); }
.xs-pf-stat-icon { grid-row: span 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--xs-bg-panel-2); color: var(--xs-muted); }
.xs-pf-stat-svg { width: 19px; height: 19px; }
.xs-pf-stat-label { align-self: center; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #7f8785; line-height: 1.2; }
.xs-pf-stat strong { font-size: 22px; line-height: 1; margin-top: 2px; color: var(--xs-text-dark); }
.xs-pf-stat a { font-size: 12px; font-weight: 700; color: var(--xs-green-dark); }

.xs-pf-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 16px; align-items: start; }
.xs-pf-methods, .xs-pf-invoices { padding: 20px; }
.xs-pf-methods h2 { margin: 0 0 16px; }
.xs-pf-method-list { display: grid; gap: 10px; margin-bottom: 16px; }
.xs-pf-method { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e3e4e1; border-radius: 8px; }
.xs-pf-method-icon { display: inline-grid; place-items: center; width: 46px; height: 30px; }
.xs-pf-method-icon .xs-payment-icon { height: 22px; width: auto; filter: none; }
.xs-pf-method-info strong { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--xs-text-dark); }
.xs-pf-default { padding: 2px 8px; border-radius: 999px; background: rgba(143, 174, 46, .16); color: #4f6d13; font-size: 10px; font-weight: 800; }
.xs-pf-method-info small { font-size: 12px; color: #8a918f; letter-spacing: 1px; }
.xs-pf-method-extra { font-size: 12px; color: #5f6667; }
.xs-pf-method-menu { color: #b0b5b2; font-weight: 900; font-size: 20px; line-height: 1; }
.xs-pf-add { min-height: 0; width: 100%; padding: 12px; border: 1px dashed var(--xs-border); border-radius: 8px; background: #fff; color: var(--xs-text-dark); font-weight: 700; font-size: 13px; text-transform: none; }
.xs-pf-add:hover { border-color: var(--xs-green); color: var(--xs-green-dark); box-shadow: none; transform: none; }
.xs-pf-add .xs-btn-icon { width: 15px; height: 15px; margin: 0; }

.xs-pf-invoices .xs-account-section-head { margin-bottom: 14px; }
.xs-pf-thead, .xs-pf-row { display: grid; grid-template-columns: minmax(0, 1.4fr) 100px 84px 104px 124px; gap: 10px; align-items: center; }
.xs-pf-thead { padding: 0 0 10px; border-bottom: 1px solid #e3e4e1; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #8a918f; }
.xs-pf-row { padding: 13px 0; border-bottom: 1px solid #ececea; }
.xs-pf-row:last-child { border-bottom: 0; padding-bottom: 0; }
.xs-pf-fv { font-size: 12px; font-weight: 700; color: var(--xs-text-dark); }
.xs-pf-date { font-size: 13px; color: #5f6667; }
.xs-pf-amount { font-size: 13px; font-weight: 800; color: var(--xs-text-dark); }
.xs-pf-badge { display: inline-flex; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #eef0ea; color: #5f6667; }
.xs-pf-badge.is-paid { background: rgba(143, 174, 46, .16); color: #4f6d13; }
.xs-pf-download { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--xs-border); border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--xs-text-dark); }
.xs-pf-download:hover { border-color: var(--xs-green); color: var(--xs-green-dark); }
.xs-pf-dl-icon { width: 14px; height: 14px; }
.xs-pf-empty { color: #8a918f; font-size: 14px; }

@media (max-width: 1000px) {
	.xs-pf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.xs-pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.xs-pf-thead { display: none; }
	.xs-pf-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
	.xs-pf-fv { grid-column: 1 / -1; }
	.xs-pf-download { grid-column: 2; grid-row: 2 / 4; }
}

/* === MOJE KONTO: USTAWIENIA (endpoint edit-address) === */
.xs-set { display: grid; gap: 16px; }
.xs-set-head { margin: 0; }
.xs-set-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.xs-set-card { padding: 20px; }
.xs-set-card h3 { margin: 0 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--xs-text-dark); }
.xs-set-card > p { margin: 0 0 6px; color: #8a918f; font-size: 12px; }
.xs-set-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid #ececea; }
.xs-set-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #f1f3ee; color: #5f6667; flex: none; }
.xs-set-svg { width: 17px; height: 17px; }
.xs-set-copy { min-width: 0; }
.xs-set-copy strong { display: block; font-size: 13px; color: var(--xs-text-dark); }
.xs-set-copy small { font-size: 11px; color: #8a918f; line-height: 1.35; }
.xs-set-select { min-height: 38px; padding: 0 26px 0 10px; border: 1px solid var(--xs-border); border-radius: 6px; background: #fff; font-size: 12px; color: var(--xs-text-dark); max-width: 140px; }
.xs-set-btn { display: inline-flex; align-items: center; white-space: nowrap; padding: 8px 14px; border: 1px solid var(--xs-border); border-radius: 6px; background: #fff; color: var(--xs-text-dark); font-size: 12px; font-weight: 700; }
.xs-set-btn:hover { border-color: var(--xs-green); color: var(--xs-green-dark); }
.xs-set-btn.is-danger { border-color: #e3b3ad; color: #c0392b; }
.xs-set-btn.is-danger:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

.xs-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.xs-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.xs-switch-slider { position: absolute; inset: 0; border-radius: 999px; background: #cfd3cd; transition: .2s; cursor: pointer; }
.xs-switch-slider::before { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 999px; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.xs-switch input[type="checkbox"]:checked ~ .xs-switch-slider { background: var(--xs-green); }
.xs-switch input[type="checkbox"]:checked ~ .xs-switch-slider::before { transform: translateX(18px); }

.xs-set-save { display: flex; justify-content: flex-end; }
.xs-set-save-btn { min-height: 0; display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; background: var(--xs-green-light); color: #10130a; font-weight: 800; text-transform: none; border-radius: 6px; }
.xs-set-save-btn:hover { background: #c6f000; color: #10130a; box-shadow: none; transform: none; }
.xs-set-save-btn .xs-btn-icon { width: 16px; height: 16px; margin: 0; }

@media (max-width: 1100px) {
	.xs-set-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.xs-set-grid { grid-template-columns: 1fr; }
}

/* === KARTA PRODUKTU: podtytul / ocena / cena z rabatem === */
.xs-single-sub { margin: 6px 0 12px; max-width: 520px; color: #c8d0cc; font-size: 15px; line-height: 1.5; }
.xs-single-rating { display: flex; align-items: center; gap: 8px; color: #d9dfdc; font-size: 14px; }
.xs-single-rating .xs-stars { color: var(--xs-green-light); letter-spacing: 2px; }
.xs-single-rating strong { color: #fff; }
.xs-single-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.xs-single-now { font-size: 34px; font-weight: 900; color: var(--xs-orange); }
.xs-single-now del { color: #8a918f; font-size: 20px; font-weight: 700; }
.xs-single-off { align-self: center; padding: 3px 10px; border-radius: 6px; background: var(--xs-orange); color: #fff; font-size: 14px; font-weight: 800; }
.xs-single-was { font-size: 20px; color: #8a918f; text-decoration: line-through; font-weight: 700; }
/* Omnibus: najnizsza cena z 30 dni przed obnizka - wymog przy komunikowaniu promocji */
.xs-omnibus-note { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #6b736f; }
.xs-omnibus-note b, .xs-omnibus-note strong { color: #3d443f; font-weight: 600; }

/* ---- Karta produktu: czytelnosc sekcji na ciemnym tle ---- */
.xs-product-bottom-grid > * { color: #e7ece9; }
.xs-product-bottom-grid h2, .xs-addons h2 { color: #fff; font-size: 18px; margin: 0 0 6px; }
.xs-product-bottom-grid .xs-side-card { background: rgba(255, 255, 255, .03); border: 1px solid var(--xs-line-dark); box-shadow: none; }
.xs-product-bottom-grid .xs-side-card, .xs-product-bottom-grid details, .xs-product-bottom-grid summary, .xs-product-bottom-grid details p { background: transparent; }
.xs-product-bottom-grid .xs-side-card { background: rgba(255, 255, 255, .03); }
/* FAQ = czysty akordeon: bez ramek wokol kazdego pytania (globalna regula "details" z main.css
   dawala ramke + zaokraglenie + duzy padding, przez co sasiednie pytania sklejaly sie w slupek
   nachodzacych na siebie pudelek). Zostaje sama cienka linia miedzy pytaniami. */
.xs-product-bottom-grid details { border: 0; border-bottom: 1px solid var(--xs-line-dark); border-radius: 0; padding: 0; margin: 0; }
.xs-product-bottom-grid details:last-of-type { border-bottom: 0; }
.xs-product-bottom-grid summary { list-style: none; cursor: pointer; padding: 15px 0; color: #eef2f0; font-size: 13.5px; font-weight: 700; line-height: 1.4; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.xs-product-bottom-grid summary:hover { color: var(--xs-green-light); }
.xs-product-bottom-grid summary::-webkit-details-marker { display: none; }
.xs-product-bottom-grid summary::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid #9aa0a2; border-bottom: 2px solid #9aa0a2; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.xs-product-bottom-grid details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.xs-product-bottom-grid details p { color: #aab2af; font-size: 12.5px; margin: 0 0 14px; line-height: 1.55; }
.xs-product-bottom-grid .xs-side-card p { color: #d3d9d6; font-size: 13.5px; margin: 8px 0; }
.xs-product-bottom-grid .xs-side-card p a { color: #fff; text-decoration: none; font-weight: 600; }
.xs-product-bottom-grid .xs-side-card p a:hover { color: var(--xs-green-light); }
.xs-product-bottom-grid .xs-side-card .xs-price, .xs-product-bottom-grid .xs-side-card p strong { color: var(--xs-green-light); }

/* ---- Dodatki do zamowienia: karuzela produktow ---- */
/* Naglowek sekcji wysrodkowany w poziomie; strzalki odsuniete na prawa krawedz, zeby nie zbijaly
   tekstu z osi. Na waskim ekranie strzalki wracaja pod tekst, tez wysrodkowane. */
.xs-addons-head { position: relative; text-align: center; margin-bottom: 16px; padding: 0 100px; }
.xs-addons-head h2 { margin: 0; }
.xs-addons-sub { color: #aab2af; font-size: 13px; margin: 6px auto 0; max-width: 640px; }
.xs-addons-nav { position: absolute; right: 0; bottom: 0; display: flex; gap: 8px; flex-shrink: 0; }
.xs-addons-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--xs-line-dark); background: rgba(255, 255, 255, .05); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.xs-addons-arrow:hover { background: var(--xs-green-light); color: #10130a; border-color: transparent; }
.xs-addons-arrow-icon { width: 18px; height: 18px; }
/* Kafelek ma ZAWSZE te sama szerokosc, niezaleznie od liczby produktow (2 produkty nie moga sie
   rozciagac na pol strony). Gdy kafelkow jest malo - wysrodkowane; gdy duzo - przewijane od lewej. */
.xs-addons-track { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; justify-content: safe center; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 4px; scrollbar-width: none; }
.xs-addons-track::-webkit-scrollbar { display: none; }
.xs-addon-card { scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid var(--xs-line-dark); border-radius: var(--xs-radius-md); background: rgba(255, 255, 255, .03); overflow: hidden; transition: border-color .18s ease, transform .18s ease; }
.xs-addon-card:hover { border-color: rgba(143, 174, 46, .6); transform: translateY(-2px); }
.xs-addon-card-thumb {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	background:
		repeating-linear-gradient(35deg, rgba(183,224,0,.045) 0 1px, transparent 1px 26px),
		linear-gradient(135deg, #111916, #071014);
}
.xs-addon-card-thumb.xs-has-cover {
	background-image:
		var(--xs-cover),
		repeating-linear-gradient(35deg, rgba(183,224,0,.045) 0 1px, transparent 1px 26px),
		linear-gradient(135deg, #111916, #071014);
	background-position: center;
	background-repeat: no-repeat, repeat, no-repeat;
	background-size: contain, auto, auto;
}
.xs-addon-card-thumb img, .xs-addon-card-thumb .xs-placeholder { width: 100%; height: 100%; object-fit: contain; display: block; }
.xs-addon-card-body { display: flex; flex-direction: column; gap: 8px; padding: 12px; flex: 1; }
.xs-addon-card-name { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.3; min-height: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xs-addon-card-name:hover { color: var(--xs-green-light); }
.xs-addon-card-price { color: var(--xs-green-light); font-weight: 900; font-size: 16px; }
.xs-addon-card-price del { color: #8a918f; font-weight: 700; font-size: 12px; margin-right: 4px; }
.xs-addon-card-btn { margin-top: auto; min-height: 40px; justify-content: center; }
/* Ikona koszyka na limonkowym przycisku: czarna (jak tekst) i wieksza - domyslny filtr robil ja limonkowa = niewidoczna */
.xs-addon-card-btn .xs-btn-icon { width: 20px; height: 20px; margin-right: .5rem; filter: brightness(0) saturate(100%); }
@media (max-width: 760px) {
	.xs-addons-track { grid-auto-columns: 200px; }
	.xs-addons-head { padding: 0; }
	.xs-addons-nav { position: static; justify-content: center; margin-top: 14px; }
}

/* ===== MOJE KONTO: logowanie / rejestracja (form-login override) ===== */
.xs-auth-page { color: #1c1f22; }
.xs-auth-hero { background: radial-gradient(circle at 20% 0%, #0e1412 0%, #071014 60%); color: #eef3ea; padding: 46px 0 40px; text-align: center; }
.xs-auth-hero-inner .xs-account-breadcrumbs { justify-content: center; color: #9fb0a4; font-size: 12px; }
.xs-auth-hero-inner .xs-account-breadcrumbs a { color: #b7c6ba; }
.xs-auth-hero-inner .xs-account-breadcrumbs span { margin: 0 6px; }
.xs-auth-hero h1 { margin: 12px 0 8px; font-size: 34px; letter-spacing: .01em; }
.xs-auth-hero h1 span { color: var(--xs-green-light); }
.xs-auth-hero p { margin: 0 auto; max-width: 640px; font-size: 14.5px; color: #c3cfc6; line-height: 1.6; }
.xs-auth-wrap { padding: 34px 0 48px; }
.xs-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 940px; margin: 0 auto; align-items: start; }
.xs-auth-grid--single { grid-template-columns: 1fr; max-width: 460px; }
.xs-auth-card { padding: 28px 26px; }
.xs-auth-card--register { background: linear-gradient(180deg, #fbfdf6, #f4f8ea); border-color: #d8e6b6; }
.xs-auth-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.xs-auth-card-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: #0e1412; color: var(--xs-text-main); }
.xs-auth-card-icon--accent { background: var(--xs-green-light); color: #10130a; }
.xs-auth-svg { width: 22px; height: 22px; }
.xs-auth-card-head h2 { margin: 0; font-size: 20px; color: var(--xs-text-dark); }
.xs-auth-card-head p { margin: 3px 0 0; font-size: 13px; color: #5f6566; }
.xs-auth-form { display: block; }
.xs-auth-row { margin: 0 0 15px; display: block; }
.xs-auth-row label { display: block; font-size: 13px; font-weight: 600; color: #2a2f2c; margin-bottom: 6px; }
.xs-auth-row label .required { color: var(--xs-orange); }
.xs-auth-input { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #d7dad2; border-radius: 9px; background: #fff; font-size: 14px; color: #1c1f22; transition: border-color .15s, box-shadow .15s; }
.xs-auth-input:focus { outline: none; border-color: var(--xs-green); box-shadow: 0 0 0 3px rgba(143,174,46,.18); }
.xs-auth-input::placeholder { color: #9aa09b; }
.xs-auth-pass { position: relative; display: block; }
.xs-auth-pass .xs-auth-input { padding-right: 44px; }
.xs-auth-pass-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; border: none; background: none; color: #8a908b; cursor: pointer; border-radius: 8px; }
.xs-auth-pass-toggle:hover { color: var(--xs-green-dark); background: rgba(143,174,46,.10); }
.xs-auth-pass-toggle.is-on { color: var(--xs-green-dark); }
.xs-auth-eye { width: 18px; height: 18px; }
.xs-auth-form-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; font-size: 13px; }
.xs-auth-remember { display: flex; align-items: center; gap: 7px; color: #4a504c; cursor: pointer; }
.xs-auth-remember input { accent-color: var(--xs-green); }
.xs-auth-lost { color: var(--xs-green-dark); text-decoration: underline; text-underline-offset: 2px; }
.xs-auth-lost:hover { color: var(--xs-green); }
.xs-auth-submit { width: 100%; justify-content: center; text-transform: none; font-weight: 800; }
.xs-auth-submit--register { background: #0e1412; color: #fff; }
.xs-auth-submit--register:hover { background: #1a221e; }
.xs-auth-benefits { list-style: none; margin: 0 0 20px; padding: 14px 16px; display: grid; gap: 10px; background: rgba(255,255,255,.6); border: 1px solid #e4edcf; border-radius: 10px; }
.xs-auth-benefits li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #3a403b; }
.xs-auth-benefit-ic { width: 17px; height: 17px; flex: none; color: var(--xs-green-dark); }
.xs-auth-note { font-size: 13px; color: #5f6566; margin: 0 0 14px; }
.xs-auth-consent { font-size: 12px; color: #5f6566; line-height: 1.5; margin: 0 0 16px; }
.xs-auth-consent a { color: var(--xs-green-dark); text-decoration: underline; }
.xs-auth-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 30px auto 0; max-width: 940px; font-size: 13px; color: #5f6560; }
.xs-auth-trust span { display: inline-flex; align-items: center; gap: 8px; }
.xs-auth-trust-ic { width: 17px; height: 17px; color: var(--xs-green-dark); }
/* social login (OAuth) - gotowe pod przyszle przyciski */
.xs-auth-divider { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; color: #9aa09b; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.xs-auth-divider::before, .xs-auth-divider::after { content: ""; flex: 1; height: 1px; background: #e1e3de; }
.xs-auth-social { display: grid; gap: 10px; margin-bottom: 16px; }
.xs-auth-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px 14px; border: 1px solid #d7dad2; border-radius: 9px; background: #fff; font-size: 14px; font-weight: 600; color: #1c1f22; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.xs-auth-social-btn:hover { border-color: #b9beb3; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.xs-auth-social-btn img, .xs-auth-social-btn svg { width: 18px; height: 18px; }
.xs-auth-captcha { margin: 2px 0 16px; }
.xs-auth-captcha .cf-turnstile { display: flex; justify-content: center; }
.xs-auth-alert { margin: 0 0 16px; padding: 13px 16px; border: 1px solid #f0c2a8; border-left: 4px solid var(--xs-orange); border-radius: 10px; background: #fff6f1; }
.xs-auth-alert p { margin: 0; font-size: 13.5px; color: #7a3a17; }
@media (max-width: 760px) {
	.xs-auth-grid { grid-template-columns: 1fr; max-width: 460px; }
	.xs-auth-hero h1 { font-size: 27px; }
	.xs-auth-trust { gap: 14px 20px; }
}

/* Informacja o fakturze w KSeF - pokazuje sie po zaznaczeniu "Chce fakture VAT". */
.xs-invoice-note { margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid var(--xs-orange); border-radius: 0 8px 8px 0; background: #fff7f2; color: #4a504c; font-size: 13px; line-height: 1.55; }

/* Kasa: checkbox zgody na natychmiastowe dostarczenie tresci cyfrowej (plugin xsurvival-core) */
.xs-digital-consent, .xs-terms-consent { margin: 4px 0 16px !important; padding: 14px 16px; border: 1px solid #e1e3de; border-radius: 10px; background: #fafbf8; }
.xs-digital-consent label.checkbox, .xs-terms-consent label.checkbox { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 12.5px; line-height: 1.55; color: #4a504c; margin: 0; }
.xs-digital-consent input[type="checkbox"], .xs-terms-consent input[type="checkbox"] { margin: 2px 0 0; width: 17px; height: 17px; flex: none; accent-color: var(--xs-green); cursor: pointer; }
.xs-digital-consent a, .xs-terms-consent a { color: var(--xs-orange); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.xs-digital-consent a:hover, .xs-terms-consent a:hover, .xs-digital-consent a:focus-visible, .xs-terms-consent a:focus-visible { color: #fff; background: var(--xs-orange); border-radius: 3px; text-decoration: none; }
.xs-digital-consent strong, .xs-terms-consent strong { color: #2a2f2c; }
.xs-digital-consent .required, .xs-digital-consent abbr.required, .xs-terms-consent .required, .xs-terms-consent abbr.required { color: var(--xs-orange); font-weight: 700; border: none; text-decoration: none; }

/* ============================================================
   PUSTY KOSZYK - markowy empty-state (override cart-empty.php)
   ============================================================ */
.xs-cart-empty {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 12px;
	max-width: 620px;
	margin: 8px auto 40px;
	padding: 48px 32px;
	background: #fff;
	border: 1px solid #dedfdc;
	border-radius: 14px;
	box-shadow: 0 18px 40px -28px rgba(16, 19, 10, .5);
}
.xs-cart-empty-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 999px;
	background: var(--xs-bg-panel-2);
	color: var(--xs-muted);
}
.xs-cart-empty-cart { width: 34px; height: 34px; }
.xs-cart-empty h2 { margin: 6px 0 0; font-size: 24px; }
.xs-cart-empty p { margin: 0; max-width: 460px; color: #5f6566; font-size: 15px; line-height: 1.55; }
.xs-cart-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.xs-cart-empty-actions .xs-btn { text-transform: none; }
.xs-cart-empty-reco { margin: 8px 0 36px; }
.xs-cart-empty-reco .xs-section-title { margin-bottom: 20px; }
.xs-cart-trust-bottom { margin-top: 8px; }

/* ============================================================
   KOMUNIKATY WOOCOMMERCE (notices) - jednolite markowe UI
   Dotyczy: blad logowania, kupon, pusty stan, zapisy konta,
   dodanie do koszyka itd. Wycentrowane w kontenerze, karta z
   ikona i kolorem - zamiast golego pelnoszerokosciowego tekstu.
   ============================================================ */
.woocommerce-notices-wrapper {
	width: min(1180px, calc(100% - 48px));
	margin: 20px auto 0;
}
.woocommerce-notices-wrapper:empty { margin: 0; }
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
ul.woocommerce-error {
	position: relative;
	list-style: none;
	margin: 0 0 16px;
	padding: 16px 20px 16px 54px;
	border: 1px solid #dedfdc;
	border-left: 4px solid var(--xs-green);
	border-radius: 10px;
	background: #fff;
	color: #1c1f22;
	font-size: 14.5px;
	line-height: 1.5;
	box-shadow: 0 10px 26px -20px rgba(16, 19, 10, .55);
}
/* Ikona przez maske (dziedziczy kolor z background-color) */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 16px;
	width: 22px;
	height: 22px;
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}
.woocommerce-message { border-left-color: var(--xs-green); }
.woocommerce-message::before {
	-webkit-mask-image: url(../img/icons/ui/check-circle.svg);
	mask-image: url(../img/icons/ui/check-circle.svg);
	background-color: var(--xs-green-dark);
}
.woocommerce-error,
ul.woocommerce-error { border-left-color: #d64545; }
.woocommerce-error::before {
	-webkit-mask-image: url(../img/icons/ui/x.svg);
	mask-image: url(../img/icons/ui/x.svg);
	background-color: #d64545;
}
.woocommerce-info { border-left-color: var(--xs-orange); }
.woocommerce-info::before {
	-webkit-mask-image: url(../img/icons/ui/help-circle.svg);
	mask-image: url(../img/icons/ui/help-circle.svg);
	background-color: var(--xs-orange);
}
/* Lista bledow WC (ul>li) - kazdy blad w jednej karcie */
ul.woocommerce-error li { margin: 0; padding: 0; list-style: none; }
ul.woocommerce-error li + li { margin-top: 8px; }
/* Przyciski wewnatrz komunikatu (np. "Zobacz koszyk", "Wroc do sklepu") */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	float: right;
	margin: -2px 0 0 16px;
	padding: 8px 16px;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--xs-green-light), var(--xs-green));
	color: #10130a;
	font-weight: 800;
	font-size: 12.5px;
	text-transform: none;
	text-decoration: none;
	line-height: 1.2;
}
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
	color: var(--xs-green-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}
@media (max-width: 600px) {
	.woocommerce-message .button,
	.woocommerce-info .button,
	.woocommerce-error .button { float: none; display: inline-block; margin: 10px 0 0; }
}

/* ============================================================
   SZCZEGOLY ZAMOWIENIA (view-order) - markowy widok
   Status banner + stylowanie domyslnych tabel WooCommerce
   (pobrania / szczegoly / adres) pod marke. Zascopowane do
   .xs-account-content, zeby nie ruszac reszty serwisu.
   ============================================================ */
.xs-vieworder-status {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
	margin: 0 0 24px;
	border: 1px solid #dedfdc;
	border-left: 4px solid var(--xs-green);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 30px -24px rgba(16, 19, 10, .55);
}
.xs-vieworder-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: #eef1e6;
	color: #55632c;
	font-weight: 800;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .03em;
	white-space: nowrap;
}
.xs-vieworder-status.is-paid .xs-vieworder-badge { background: linear-gradient(180deg, var(--xs-green-light), var(--xs-green)); color: #10130a; }
.xs-vieworder-status-text { display: flex; flex-direction: column; gap: 2px; }
.xs-vieworder-status-text strong { font-size: 17px; color: #1c1f22; }
.xs-vieworder-status-text span { font-size: 13.5px; color: #5f6566; }

.xs-vieworder-notes { margin: 0 0 24px; }
.xs-account-block-title,
.xs-account-content .woocommerce-order-details__title,
.xs-account-content .woocommerce-order-downloads__title,
.xs-account-content .woocommerce-column__title {
	margin: 26px 0 14px;
	font-size: 18px;
	font-weight: 800;
	color: #1c1f22;
}
.xs-account-content .woocommerce-order-details__title:first-child,
.xs-account-content .woocommerce-order-downloads__title:first-child { margin-top: 0; }
.xs-vieworder-notes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xs-vieworder-notes-list li { padding: 12px 16px; border: 1px solid #e1e3de; border-radius: 10px; background: #fbfbf9; }
.xs-vieworder-note-date { display: block; font-size: 12px; color: #8a918f; margin-bottom: 4px; }
.xs-vieworder-note-body p { margin: 0; font-size: 14px; color: #3a3f3b; }

/* Tabele zamowienia (order-details + downloads) - karta zamiast szarego shop_table */
.xs-account-content .shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 0 8px;
	border: 1px solid #dedfdc;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	font-size: 14.5px;
}
.xs-account-content .shop_table thead th {
	background: #10130a;
	color: #fff;
	text-align: left;
	font-weight: 700;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: 13px 18px;
}
.xs-account-content .shop_table tbody td,
.xs-account-content .shop_table tbody th {
	padding: 13px 18px;
	border-top: 1px solid #eceee8;
	color: #2a2f2c;
	vertical-align: middle;
}
.xs-account-content .shop_table tbody tr:first-child td,
.xs-account-content .shop_table tbody tr:first-child th { border-top: none; }
.xs-account-content .shop_table tbody a { color: #1c1f22; font-weight: 600; text-decoration: none; }
.xs-account-content .shop_table tbody a:hover { color: var(--xs-green-dark); }
.xs-account-content .shop_table td.product-total,
.xs-account-content .shop_table td.download-remaining,
.xs-account-content .shop_table th[scope="row"] { font-weight: 700; }
.xs-account-content .shop_table tfoot th,
.xs-account-content .shop_table tfoot td {
	padding: 13px 18px;
	border-top: 1px solid #eceee8;
	background: #fbfbf9;
	font-weight: 700;
	color: #1c1f22;
}
.xs-account-content .shop_table tfoot tr:last-child th,
.xs-account-content .shop_table tfoot tr:last-child td { color: var(--xs-green-dark); font-size: 15.5px; }

/* Przyciski wewnatrz zamowienia: "Pobierz", "Zamow jeszcze raz", akcje */
.xs-account-content .shop_table .button,
.xs-account-content .order-again .button,
.xs-account-content .woocommerce-order-details .button,
.xs-account-content .shop_table .button.alt,
.xs-account-content .woocommerce-order-details .button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 18px;
	border: none;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--xs-green-light), var(--xs-green)) !important;
	color: #10130a !important;
	font-weight: 800;
	font-size: 13px;
	text-transform: none;
	text-decoration: none;
	line-height: 1.2;
	transition: filter .15s ease;
}
.xs-account-content .shop_table .button:hover,
.xs-account-content .order-again .button:hover,
.xs-account-content .woocommerce-order-details .button:hover,
.xs-account-content .shop_table .button.alt:hover,
.xs-account-content .woocommerce-order-details .button.alt:hover {
	background: #10130a !important;
	color: var(--xs-green-light) !important;
	filter: none;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -8px rgba(16, 19, 10, .55);
}
.xs-account-content .order-again { margin: 16px 0 8px; }

/* Adres / dane klienta */
.xs-account-content .woocommerce-customer-details { margin-top: 8px; }
.xs-account-content .woocommerce-customer-details address {
	padding: 16px 18px;
	border: 1px solid #dedfdc;
	border-radius: 12px;
	background: #fff;
	font-style: normal;
	line-height: 1.7;
	color: #2a2f2c;
	font-size: 14.5px;
}
.xs-account-content .woocommerce-customer-details .woocommerce-customer-details--email,
.xs-account-content .woocommerce-customer-details .woocommerce-customer-details--phone { display: flex; align-items: center; gap: 8px; color: #55605a; }

/* Ustawienia SLIM - 2 karty, wezsza siatka */
.xs-set-grid--slim { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; }
@media (max-width: 760px) { .xs-set-grid--slim { grid-template-columns: 1fr; } }


/* ===================================================================
   AUDYT 2026-07-14: opinie + podobne produkty + bramka logowania
   =================================================================== */

/* --- Karta produktu: formularz opinii (comments_template WooCommerce) --- */
.xs-side-card #reviews { margin: 0; }
.xs-side-card .woocommerce-Reviews-title { font-size: 15px; margin: 0 0 12px; color: #cfd6d2; }
.xs-side-card .commentlist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.xs-side-card .commentlist li { background: #0e1412; border: 1px solid #223028; border-radius: 8px; padding: 12px 14px; }
.xs-side-card .comment-form { display: grid; gap: 14px; }
.xs-side-card .comment-notes { color: #8a938e; font-size: 12.5px; margin: 0; }
.xs-side-card .comment-form label { display: block; font-size: 12.5px; font-weight: 700; color: #cfd6d2; margin-bottom: 5px; }
.xs-side-card .comment-form input[type="text"],
.xs-side-card .comment-form input[type="email"],
.xs-side-card .comment-form textarea {
  width: 100%; box-sizing: border-box; background: #0a0f0d; border: 1px solid #2a3a30; border-radius: 8px;
  padding: 11px 13px; color: #eef2ef; font: inherit; font-size: 14px;
}
.xs-side-card .comment-form input:focus,
.xs-side-card .comment-form textarea:focus { outline: none; border-color: var(--xs-green-light); box-shadow: 0 0 0 3px rgba(183,224,0,.15); }
.xs-side-card .comment-form textarea { min-height: 96px; resize: vertical; }
.xs-side-card .comment-form-rating { margin: 0; }
.xs-side-card .comment-form-rating > label { margin-bottom: 6px; }
.xs-side-card p.stars a { color: var(--xs-green-light); }
.xs-side-card p.stars a::before { color: var(--xs-green-light); }
.xs-side-card .comment-form .form-submit { margin: 0; }
.xs-side-card #submit {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--xs-green-light); color: #10160a; border: 0; border-radius: 8px;
  padding: 11px 22px; font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: .3px;
}
.xs-side-card #submit:hover { filter: brightness(1.05); }
.xs-side-card .woocommerce-noreviews,
.xs-side-card .woocommerce-verification-required { color: #8a938e; font-size: 13px; }

/* --- Karta produktu: podobne produkty (kompaktowa lista z miniatura) --- */
.xs-similar-list { display: grid; gap: 10px; margin-top: 4px; }
.xs-similar-item { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid #223028; border-radius: 8px; text-decoration: none; transition: border-color .15s, background .15s; }
.xs-similar-item:hover { border-color: var(--xs-green-light); background: #0e1412; }
.xs-similar-thumb { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: #0a0f0d; }
.xs-similar-thumb img, .xs-similar-thumb .xs-placeholder { width: 100%; height: 100%; object-fit: contain; display: block; }
.xs-similar-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.xs-similar-name { font-size: 13px; font-weight: 700; color: #eef2ef; line-height: 1.25; }
.xs-similar-price { font-size: 13px; font-weight: 800; color: var(--xs-green-light); }
.xs-similar-price del { color: #5f6566; font-weight: 500; margin-right: 5px; }
.xs-similar-price ins { text-decoration: none; }

/* --- Bramka logowania na stronie potwierdzenia (domyslny form WooCommerce, NIE nasz custom .xs-auth-form) --- */
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) {
  max-width: 460px; margin: 24px auto; background: #0e1412; border: 1px solid #223028; border-radius: 12px; padding: 26px 26px 30px;
}
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) .form-row { margin: 0 0 14px; display: block; }
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) label { display: block; font-size: 13px; font-weight: 700; color: #cfd6d2; margin-bottom: 6px; }
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) input[type="text"],
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) input[type="password"],
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) input[type="email"] {
  width: 100%; box-sizing: border-box; background: #0a0f0d; border: 1px solid #2a3a30; border-radius: 8px; padding: 12px 14px; color: #eef2ef; font: inherit;
}
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) input:focus { outline: none; border-color: var(--xs-green-light); box-shadow: 0 0 0 3px rgba(183,224,0,.15); }
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: var(--xs-green-light); color: #10160a; border: 0; border-radius: 8px; padding: 12px 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px;
}
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) button:hover { filter: brightness(1.05); }
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #8a938e; margin: 4px 0 12px; }
.woocommerce-order-received .woocommerce-form-login:not(.xs-auth-form) .lost_password a { color: var(--xs-green-light); font-size: 12.5px; }

/* Sklad pakietu w kolumnie zakupu (pod "Dla kogo") - konwertuje, wiec ma byc widoczny od razu. */
.xs-hero-bundle .xs-bundle-list { margin: 8px 0 10px; }
.xs-hero-bundle .xs-bundle-list li { display: flex; justify-content: space-between; gap: 10px; }
.xs-hero-bundle .xs-bundle-price { color: var(--xs-green); font-weight: 600; white-space: nowrap; }
.xs-hero-bundle .xs-bundle-note { margin: 10px 0 6px; font-size: 14px; line-height: 1.5; }
.xs-hero-bundle .xs-bundle-hint { margin: 0; font-size: 13px; opacity: .75; }

/* Galeria produktu: duze zdjecie + pasek klikalnych miniatur (jak w normalnym sklepie). */
.xs-product-gallery .xs-gallery-main { border-radius: 14px; overflow: hidden; background: #0d1512; }
.xs-product-gallery .xs-gallery-main img { display: block; width: 100%; height: auto; }
/* Caly blok galerii (okladka + podglady stron) nizszy o ~50px - szerokosc kolumny bez zmian. */
.xs-product-gallery .xs-gallery-main img,
.xs-product-gallery > img,
.xs-product-gallery .xs-placeholder { max-height: 600px; width: auto; max-width: 100%; margin-left: auto; margin-right: auto; }
.xs-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 12px 0 0; }
.xs-gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; background: #0d1512;
	cursor: pointer; overflow: hidden; line-height: 0; transition: border-color .15s, transform .15s; }
.xs-gallery-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.xs-gallery-thumb:hover { transform: translateY(-2px); border-color: rgba(183, 224, 0, .55); }
.xs-gallery-thumb.is-active { border-color: var(--xs-green); }
.xs-gallery-thumb:focus-visible { outline: 2px solid var(--xs-green); outline-offset: 2px; }
@media (max-width: 640px) { .xs-gallery-thumbs { grid-template-columns: repeat(4, 1fr); } }

/* Powiekszanie zdjecia produktu (lightbox) z krzyzykiem, strzalkami i ESC. */
.xs-gallery-main { cursor: zoom-in; position: relative; }
.xs-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(4, 8, 6, .93);
	display: flex; align-items: center; justify-content: center; padding: 40px; }
.xs-lightbox[hidden] { display: none; }
.xs-lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; width: auto; height: auto;
	border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.xs-lightbox-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px;
	border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 30px;
	line-height: 1; cursor: pointer; transition: background .15s; }
.xs-lightbox-close:hover { background: var(--xs-green); color: #101410; }
.xs-lightbox-nav { border: 0; background: rgba(255,255,255,.08); color: #fff; width: 52px; height: 52px;
	border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; margin: 0 14px; transition: background .15s; }
.xs-lightbox-nav:hover { background: var(--xs-green); color: #101410; }
@media (max-width: 640px) { .xs-lightbox { padding: 16px; } .xs-lightbox-nav { display: none; } }

/* Galeria: duze zdjecie + PIONOWY pasek miniatur PO PRAWEJ stronie. */
.xs-gallery-stage { display: grid; grid-template-columns: 1fr 104px; gap: 12px; align-items: start; }
.xs-gallery-stage .xs-gallery-main { margin: 0; }
.xs-gallery-stage .xs-gallery-thumbs { display: flex; flex-direction: column; gap: 10px; margin: 0;
	max-height: 100%; overflow-y: auto; padding-right: 2px; }
.xs-gallery-stage .xs-gallery-thumbs::-webkit-scrollbar { width: 6px; }
.xs-gallery-stage .xs-gallery-thumbs::-webkit-scrollbar-thumb { background: #2b332c; border-radius: 3px; }
@media (max-width: 780px) {
	.xs-gallery-stage { grid-template-columns: 1fr; }
	.xs-gallery-stage .xs-gallery-thumbs { flex-direction: row; overflow-x: auto; }
	.xs-gallery-stage .xs-gallery-thumb { flex: 0 0 84px; }
}

/* Oszczednosc w pakiecie - glowny argument zakupowy, ma bic po oczach. */
.xs-bundle-save { margin: 14px 0 10px; padding: 14px 16px; border-radius: 12px;
	background: linear-gradient(180deg, rgba(183,224,0,.12), rgba(183,224,0,.04));
	border: 1px solid rgba(183,224,0,.35); }
.xs-bundle-save-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.xs-bundle-save-badge { display: inline-block; padding: 5px 12px; border-radius: 999px;
	background: var(--xs-orange, #fb6a1f); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .01em; }
.xs-bundle-save-amount { font-weight: 700; font-size: 16px; color: var(--xs-green); }
.xs-bundle-save-rows { display: flex; gap: 22px; flex-wrap: wrap; }
.xs-bundle-save-row { display: flex; flex-direction: column; gap: 2px; }
.xs-bundle-save-row em { font-style: normal; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.xs-bundle-save-row s { font-size: 17px; opacity: .6; }
.xs-bundle-save-row.is-now strong { font-size: 24px; font-weight: 800; color: var(--xs-green); line-height: 1.1; }
.xs-bundle-save-row.is-now strong .woocommerce-Price-amount { color: inherit; }

.xs-coupon-msg{margin:8px 0 0;font-size:13px;font-weight:600}
.xs-coupon-msg.is-ok{color:#4f6a12}
.xs-coupon-msg.is-error{color:#ad1519}

/* Dlugie jednoczlonowe nazwy ("Magazynowanie") nie miescily sie w waskiej kolumnie kafelka
   i wychodzily na sasiada (audyt 2026-08-23, punkt 14). */
.xs-shop-product-body h2,
.xs-shop-product-body h3,
.xs-product-card h2,
.xs-product-card h3 {
	overflow-wrap: anywhere;
	hyphens: auto;
}

/* Dolna granica czytelnosci na telefonie (audyt 2026-08-23, punkt 26).
   Ten plik laduje sie PO main.css, wiec te dwie reguly musza stac tutaj - inaczej
   wygrywalyby wersje 11-pikselowe z tego samego pliku. */
@media (max-width: 760px) {
	.xs-shop-trust small { font-size: 12px; }
	.xs-shop-product-body .xs-btn { font-size: 12px; }
}

/* Audyt tresci 2026-08-31: link z karty produktu do archiwum scenariusza (punkt 15)
   i do pelnej strony ofertowej (punkty 11 i 12). */
.xs-addons-more { color: var(--xs-green, #b7e000); text-decoration: underline; white-space: nowrap; }
.xs-addons-more:hover { text-decoration: none; }
.xs-buy-note--oferta { margin-top: 6px; }
.xs-buy-note--oferta a { color: var(--xs-green, #b7e000); text-decoration: underline; font-weight: 700; }
.xs-buy-note--oferta a:hover { text-decoration: none; }

/* ============================================================
   CZYTELNOSC DROBNEGO PISMA W SKLEPIE NA TELEFONIE (2026-09-05)
   Ten arkusz laduje sie PO `main.css`, wiec poprawki czytelnosci dla stron sklepu
   musza byc tutaj - w main.css przegrywaly kolejnoscia.
   Podzial ten sam: zdania 14 px, etykiety 13 px, pola formularza 16 px (ponizej tej
   wartosci Safari na iPhonie przybliza cala strone przy dotknieciu pola).
   ============================================================ */
@media (max-width: 760px) {
	.xs-shop-trust strong,
	.xs-shop-trust small,
	.xs-shop-product-body p { font-size: 14px; line-height: 1.5; }

	.xs-shop-breadcrumbs,
	.xs-shop-breadcrumbs a,
	.xs-filter-title a,
	.xs-filter-clear,
	.xs-shop-sort span,
	.xs-shop-sort a { font-size: 13px; }

	.xs-filter-panel select,
	.xs-filter-panel input[type="text"],
	.xs-filter-panel input[type="search"],
	.xs-filter-panel input[type="number"] { font-size: 16px; }

	.xs-filter-panel label > span,
	.xs-filter-check { font-size: 14px; }
}

/* Uzupelnienie po pomiarze: te miejsca maja wlasne, mocniejsze reguly w tym arkuszu
   albo inne klasy niz zakladalem, wiec trzeba je wskazac wprost. */
@media (max-width: 760px) {
	/* Szybkie filtry nad lista produktow siedza w `.xs-shop-top-filters`. Pole wyboru
	   dostaje 16 px, zeby iPhone nie przyblizal strony przy dotknieciu. */
	.xs-shop-top-filters select,
	.xs-shop-top-filters option { font-size: 16px; }
	.xs-shop-top-filters label > span { font-size: 14px; }
	.xs-shop-top-filters strong { font-size: 15px; line-height: 1.45; }

	.xs-filter-title .xs-filter-clear,
	button.xs-filter-clear { font-size: 13px; }

	/* Pasek "co dostajesz" i wiersz formatu na karcie produktu. */
	.xs-trust-item small { font-size: 14px; line-height: 1.5; }
	.xs-format-row span { font-size: 13px; }

	.xs-shop-product-body .xs-btn { font-size: 13px; }
}

/* Ostatnie trzy miejsca. Kazde mialo w tym arkuszu regule o wyzszej wadze
   (`.xs-shop-trust-bottom .xs-trust-item small`) albo stalo pozniej w pliku,
   wiec wskazuje je dokladnie tak samo, tylko nizej. */
@media (max-width: 760px) {
	.xs-shop-trust-bottom .xs-trust-item small { font-size: 14px; line-height: 1.5; }
	.xs-buy-note,
	.xs-buy-note a { font-size: 14px; line-height: 1.5; }
	.xs-bundle-save-row em { font-size: 13px; }
}


/* ======================================================================
   MOJE KONTO NA TELEFONIE (audyt V3, rozdz. 22 - pozycja P0)
   Przyczyna, nie objaw: .xs-account-layout wymuszal 230px sidebara plus tresc,
   a .xs-account-sidebar mial min-height 1040px. Na 360-412 px dawalo to poziomy
   scroll i pasek nawigacji wysoki na cala strone. Ponizej 900 px konto jest
   jednokolumnowe, a nawigacja staje sie przewijanym poziomo pasem zakladek.
   ====================================================================== */
@media (max-width: 900px) {
	.xs-account-sidebar,
	.xs-account-nav,
	.xs-account-content,
	.xs-account-dashboard,
	.xs-account-card {
		min-width: 0;
		max-width: 100%;
	}
	.xs-account-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding: 16px 0 12px;
	}
	.xs-account-sidebar {
		min-height: 0;
	}
	.xs-account-nav {
		display: flex;
		gap: 6px;
		padding: 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}
	.xs-account-nav a {
		flex: 0 0 auto;
		min-height: 44px;
		padding: 0 14px;
		border-left: 0;
		border-bottom: 3px solid transparent;
		border-radius: 6px;
		white-space: nowrap;
	}
	.xs-account-nav a:hover,
	.xs-account-nav a.is-active {
		border-left-color: transparent;
		border-bottom-color: var(--xs-green-light);
	}
	.xs-account-help {
		display: none;
	}
}

/* Nic w koncie nie moze wyjechac poza ekran ani sklejac sie w jedna kolumne tekstu. */
@media (max-width: 760px) {
	.xs-account-shell,
	.xs-account-layout,
	.xs-account-content {
		max-width: 100%;
		min-width: 0;
	}
	.xs-account-content > * {
		min-width: 0;
	}
	.xs-account-hero-media {
		display: none;
	}
	/* Dlugie numery zamowien i adresy e-mail musza sie zawijac, nie rozpychac layoutu. */
	.xs-account-content,
	.xs-orders,
	.xs-download-row,
	.xs-order-row {
		overflow-wrap: anywhere;
		word-break: break-word;
	}
	.xs-account-content input,
	.xs-account-content select,
	.xs-account-content textarea,
	.xs-account-content .woocommerce-Input {
		width: 100%;
		max-width: 100%;
		min-height: 46px;
		font-size: 16px; /* ponizej 16px iOS przybliza widok przy wejsciu w pole */
		box-sizing: border-box;
	}
	.xs-account-content label {
		display: block;
		margin-bottom: 6px;
		font-size: 14px;
	}
	.xs-account-content .button,
	.xs-account-content .xs-btn {
		min-height: 46px;
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}
}

/* Kto jest zalogowany - widoczne na KAZDEJ podstronie konta (rozdz. 22.1). */
.xs-account-whoami {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	align-items: baseline;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--xs-border);
	border-radius: 8px;
	background: var(--xs-offwhite);
	font-size: 14px;
	line-height: 1.5;
}
.xs-account-whoami strong { color: var(--xs-text-dark); }
.xs-account-whoami span { color: #5f6566; overflow-wrap: anywhere; }


/* Domykanie RWD konta (audyt V3, rozdz. 22): komorki siatek nie moga miec minimalnej
   szerokosci wieksszej niz kontener. min-width:auto (domyslne w gridzie) sprawiało, ze
   najdluzsze slowo albo numer zamowienia rozpychaly cala strone o kilka pikseli. */
@media (max-width: 900px) {
	.xs-account-content *,
	.xs-account-dashboard *,
	.xs-account-card * {
		min-width: 0;
	}
	.xs-account-content,
	.xs-account-dashboard,
	.xs-account-card,
	.xs-account-stat,
	.xs-account-package,
	.xs-purchase-list,
	.xs-download-row {
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}


/* ======================================================================
   "OD CZEGO CHCESZ ZACZAC" w sklepie (audyt V3, rozdz. 18.1).
   Siatka oparta na minimalnej czytelnej szerokosci karty, a nie na sztywnej
   liczbie kolumn (rozdz. 19) - na 360 px schodzi do jednej kolumny sama.
   ====================================================================== */
.xs-start-here { padding: 28px 0 8px; }
.xs-start-here h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: var(--xs-text-dark); }
.xs-start-here-lead { margin: 0 0 18px; font-size: 15.5px; line-height: 1.55; color: #5f6566; }
.xs-start-here-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.xs-start-card { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; min-height: 116px; padding: 18px; border: 1px solid var(--xs-border); border-radius: 10px; background: #fff; cursor: pointer; font-family: inherit; min-width: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.xs-start-card:hover { border-color: var(--xs-green-text); box-shadow: 0 8px 20px rgba(15, 16, 18, .07); }
.xs-start-card:focus-visible { outline: 3px solid var(--xs-green-text); outline-offset: 2px; }
.xs-start-card.is-active { border-color: var(--xs-green-text); border-width: 2px; background: #f7fbef; }
.xs-start-card strong { font-size: 16.5px; font-weight: 800; color: var(--xs-text-dark); line-height: 1.3; }
.xs-start-card span { font-size: 14px; line-height: 1.5; color: #474d4e; }
.xs-start-card em { margin-top: auto; font-size: 12.5px; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5f6566; }
.xs-start-card--help { background: #f4f6f0; border-style: dashed; }

.xs-start-quiz { margin-top: 16px; padding: 20px; border: 1px solid var(--xs-border); border-radius: 10px; background: #fff; }
.xs-start-quiz[hidden] { display: none; }
.xs-start-quiz-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 18px; }
.xs-start-q { margin: 0 0 8px; font-size: 15.5px; font-weight: 800; color: var(--xs-text-dark); }
.xs-start-a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: 15px; line-height: 1.5; color: #474d4e; cursor: pointer; }
.xs-start-a input { width: 22px; height: 22px; min-width: 22px; margin: 0; flex: 0 0 auto; accent-color: #3f5c0d; }
.xs-start-a input:focus-visible { outline: 3px solid var(--xs-green-text); outline-offset: 2px; }
.xs-start-quiz-why { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--xs-green-text); background: #f7fbef; font-size: 14.5px; line-height: 1.55; color: #333b33; }
.xs-start-quiz-why[hidden] { display: none; }

@media (max-width: 760px) {
	.xs-start-here { padding: 18px 0 4px; }
	.xs-start-here h2 { font-size: 21px; }
	.xs-start-card { min-height: 0; padding: 16px; }
}

/* Komunikat zastepujacy kwoty w kreatorze, dopoki nie ma produktu bazowego (rozdz. 20.1). */
.xs-summary-empty { margin: 0 0 4px; padding: 14px 16px; border-left: 3px solid var(--xs-green-light); background: rgba(183, 224, 0, .08); font-size: 14.5px; line-height: 1.55; color: #d7e0d5; }
.xs-summary-empty[hidden] { display: none; }
.xs-builder-summary dl[hidden] { display: none; }
.xs-btn[disabled], .xs-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }

/* Powiazane artykuly na karcie produktu (audyt V3, rozdz. 45) */
.xs-powiazane-artykuly li { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--xs-border); }
.xs-powiazane-artykuly li:last-child { border-bottom: 0; padding-bottom: 0; }
.xs-powiazane-artykuly a { font-weight: 800; font-size: 14.5px; line-height: 1.35; }
.xs-powiazane-artykuly a:hover { color: var(--xs-green-text, #3f5c0d); }
.xs-powiazane-artykuly span { color: #5f6566; font-size: 13px; line-height: 1.5; }
