/*
 * TechShop / CNT - system "Piksel" dla Blocksy.
 * Paleta ustawiana w Customizerze (colorPalette, scripts/apply-design.php):
 * 1 Laser #C6F432 · 2 hover #D9FF6A · 3 tekst #B4BAC2 · 4 nagłówki #E8EAED
 * 5 linie #2A2F36 · 6 panel #15181D · 7 tło #0B0D10 · 8 baza/tekst na Laserze #0B0D10
 */

:root {
	--ts-night: #0B0D10;
	--ts-panel: #15181D;
	--ts-line: #2A2F36;
	--ts-line-2: #3A4048;
	--ts-white: #E8EAED;
	--ts-text: #B4BAC2;
	--ts-muted: #8A9099;
	--ts-laser: var(--theme-palette-color-1, #C6F432);
	--ts-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
	--ts-sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ts-grid-bg: linear-gradient(rgb(232 234 237 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(232 234 237 / 5%) 1px, transparent 1px);

	/* Blocksy */
	--theme-font-family: var(--ts-sans);
	--theme-button-border-radius: 0;
	--theme-form-field-border-radius: 0;
	--theme-border-radius: 0;
	--theme-text-color: var(--ts-text);
	--theme-headings-color: var(--ts-white);
	--theme-border-color: var(--ts-line);
	--theme-link-initial-color: var(--ts-white);
	--theme-link-hover-color: var(--ts-laser);
	--theme-form-field-border-initial-color: var(--ts-line-2);
	--theme-form-field-border-focus-color: var(--ts-laser);
	--theme-form-field-background-initial-color: var(--ts-night);
	--theme-form-field-background-focus-color: var(--ts-night);
	--theme-form-text-initial-color: var(--ts-white);
	--theme-form-text-focus-color: var(--ts-white);
}

body {
	background: var(--ts-night);
	color: var(--ts-text);
	font-family: var(--ts-sans);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.page-title,
.product_title {
	font-family: var(--ts-sans);
	color: var(--ts-white);
	font-weight: 800;
	letter-spacing: -0.03em;
}
h1, .page-title, .product_title { font-weight: 900; letter-spacing: -0.045em; line-height: 0.95; }

a { text-underline-offset: 3px; }
::selection { background: var(--ts-laser); color: var(--ts-night); }
:focus-visible { outline: 2px solid var(--ts-laser); outline-offset: 2px; }

/* Etykiety mono: [01] /kategoria */
.ts-mono,
.ts-label,
.ct-breadcrumbs,
.woocommerce-result-count,
.posted_in,
.sku_wrapper,
.tagged_as {
	font-family: var(--ts-mono);
	font-size: 14px;
	letter-spacing: 0;
}
.ts-label { color: var(--ts-laser); }

/* ---------- Nagłówek ---------- */
#header [data-row],
header#header {
	background: var(--ts-night);
}
#header [data-row="middle"] {
	border-bottom: 1px solid var(--ts-line);
}
.site-title a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ts-white) !important;
	font-family: var(--ts-sans);
	font-size: 26px !important;
	font-weight: 900 !important;
	letter-spacing: -0.05em;
	text-decoration: none;
}
/* Znak CNT: 7 pikseli tworzy C, środkowy świeci */
.site-title a::before {
	content: "";
	flex: none;
	width: 32px;
	height: 32px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84'%3E%3Cg fill='%23E8EAED'%3E%3Crect width='24' height='24'/%3E%3Crect x='30' width='24' height='24'/%3E%3Crect x='60' width='24' height='24'/%3E%3Crect y='30' width='24' height='24'/%3E%3Crect y='60' width='24' height='24'/%3E%3Crect x='30' y='60' width='24' height='24'/%3E%3Crect x='60' y='60' width='24' height='24'/%3E%3C/g%3E%3Crect x='30' y='30' width='24' height='24' fill='%23C6F432'/%3E%3C/svg%3E") center / contain no-repeat;
}
.site-title a::after {
	content: "_sklep";
	font-family: var(--ts-mono);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--ts-laser);
	margin-left: -6px;
}
.site-description {
	font-family: var(--ts-mono);
	font-size: 11px;
	color: var(--ts-muted);
}

/* Menu: /pozycja w mono */
#header .ct-menu-link,
#header .menu > li > a {
	font-family: var(--ts-mono);
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
	color: var(--ts-white);
}
#header .menu > li > a::before {
	content: "/";
	color: var(--ts-muted);
}
#header .menu > li:hover > a,
#header .menu > li.current-menu-item > a,
#header .menu > li.current-menu-ancestor > a {
	color: var(--ts-laser);
}
#header .sub-menu {
	background: var(--ts-panel);
	border: 1px solid var(--ts-line);
	border-radius: 0;
	box-shadow: none;
}
#header .sub-menu .ct-menu-link { color: var(--ts-text); }
#header .sub-menu .ct-menu-link:hover { color: var(--ts-laser); }

#header .ct-icon {
	color: var(--ts-white);
}
.ct-dynamic-count-cart {
	background: var(--ts-laser) !important;
	color: var(--ts-night) !important;
	border-radius: 0 !important;
}
#offcanvas .ct-panel-inner,
.ct-panel {
	background: var(--ts-night);
}

/* ---------- Przyciski ---------- */
.ct-button,
.button,
button.button,
.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
input[type="submit"] {
	border-radius: 0 !important;
	font-family: var(--ts-sans);
	font-weight: 800;
	letter-spacing: -0.01em;
	min-height: 48px;
	background: var(--ts-laser);
	color: var(--ts-night) !important;
	border: 0;
	box-shadow: none;
}
.ct-button:hover,
.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	background: var(--theme-palette-color-2, #D9FF6A);
	color: var(--ts-night) !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link,
.ts-btn-ghost .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--ts-white);
	color: var(--ts-white) !important;
	font-family: var(--ts-mono);
	font-weight: 400;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.ts-btn-ghost .wp-block-button__link:hover {
	background: var(--ts-white);
	color: var(--ts-night) !important;
}

/* ---------- Pola formularzy ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], input[type="url"], select, textarea,
.select2-container .select2-selection {
	border-radius: 0 !important;
	background-color: var(--ts-night);
	color: var(--ts-white);
	border-color: var(--ts-line-2);
}
.select2-dropdown {
	background: var(--ts-panel);
	border-color: var(--ts-line-2);
	color: var(--ts-white);
}

/* ---------- Strona główna ---------- */
.ts-hero {
	position: relative;
	padding: clamp(56px, 9vw, 120px) 24px clamp(48px, 7vw, 96px) !important;
	border-bottom: 1px solid var(--ts-line);
	background: var(--ts-night) var(--ts-grid-bg);
	background-size: 32px 32px;
}
.ts-hero h1 {
	margin: 18px 0 22px;
	font-size: clamp(44px, 7vw, 104px);
	line-height: 0.9;
}
.ts-hero h1 mark,
.ts-accent {
	background: none;
	color: var(--ts-laser);
}
/* Układ "constrained" centruje dzieci (kolumna 1200 px) - węższy lead przyklejamy do lewej krawędzi kolumny */
.ts-hero .ts-lead {
	max-width: 660px !important;
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important;
	font-size: clamp(17px, 1.6vw, 20px);
	color: var(--ts-text);
}
.ts-eyebrow {
	font-family: var(--ts-mono);
	font-size: 15px;
	color: var(--ts-laser);
}

/* Pikselowy pasek postępu */
.ts-pixels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 28px;
	font-family: var(--ts-mono);
	font-size: 13px;
	color: var(--ts-muted);
}
.ts-pixels i {
	width: 14px;
	height: 14px;
	border: 1px solid var(--ts-line-2);
}
.ts-pixels i.on { background: var(--ts-laser); border-color: var(--ts-laser); }
.ts-pixels i.mid { background: var(--ts-white); border-color: var(--ts-white); }
.ts-pixels span { margin-left: 10px; }

/* Nagłówek sekcji: tytuł + etykieta po prawej */
.ts-section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 8px 24px;
	margin-bottom: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--ts-line);
}
.ts-section-head h2 {
	margin: 0;
	font-size: clamp(32px, 4.5vw, 56px);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 0.95;
}
.ts-section-head p {
	margin: 0;
	font-family: var(--ts-mono);
	font-size: 14px;
	color: var(--ts-muted);
}

/* Kafelki kategorii i technologii */
.ts-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
	gap: 12px;
	counter-reset: tscat;
}
.ts-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	background: var(--ts-panel);
	border: 1px solid var(--ts-line);
	border-radius: 0;
	color: var(--ts-white);
	text-decoration: none;
	counter-increment: tscat;
	transition: border-color .15s ease, background .15s ease;
}
.ts-cat-card::before {
	content: "[" counter(tscat, decimal-leading-zero) "]";
	position: absolute;
	top: 22px;
	right: 22px;
	font-family: var(--ts-mono);
	font-size: 13px;
	color: var(--ts-muted);
}
.ts-cat-card:hover {
	border-color: var(--ts-laser);
	background: #191C22;
	color: var(--ts-white);
}
.ts-cat-card:hover::before { color: var(--ts-laser); }
.ts-cat-icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	background: var(--ts-night);
	border: 1px solid var(--ts-line-2);
	color: var(--ts-laser);
}
.ts-cat-name {
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.02em;
}
.ts-cat-desc {
	color: var(--ts-text);
	font-size: 14px;
	line-height: 1.45;
}
.ts-tech-grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.ts-more {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--ts-line);
	color: var(--ts-laser);
	font-family: var(--ts-mono);
	font-size: 13px;
	font-weight: 400;
}

/* Pas usługi druku */
.ts-band {
	border: 1px solid var(--ts-line);
	border-radius: 0;
	background: var(--ts-panel) var(--ts-grid-bg) !important;
	background-size: 28px 28px !important;
}
.ts-band .ts-label { margin-bottom: 12px; }
.ts-band h2 {
	margin-top: 0;
	font-size: clamp(32px, 4.5vw, 60px);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 0.95;
}
.ts-step {
	padding: 22px;
	border-radius: 0;
	background: var(--ts-night);
	border: 1px solid var(--ts-line-2);
}
.ts-step .ts-step-no {
	margin: 0 0 10px;
	font-family: var(--ts-mono);
	font-size: 13px;
	font-weight: 400;
	color: var(--ts-laser);
	letter-spacing: 0;
}
/* 3 piksele postępu nad numerem kroku */
.ts-step .ts-step-no::before {
	content: "";
	display: block;
	width: 54px;
	height: 14px;
	margin-bottom: 12px;
	background:
		linear-gradient(var(--ts-laser), var(--ts-laser)) 0 0 / 14px 14px no-repeat,
		linear-gradient(var(--ts-fill2, var(--ts-line-2)), var(--ts-fill2, var(--ts-line-2))) 20px 0 / 14px 14px no-repeat,
		linear-gradient(var(--ts-fill3, var(--ts-line-2)), var(--ts-fill3, var(--ts-line-2))) 40px 0 / 14px 14px no-repeat;
}
.ts-step:nth-child(2) .ts-step-no { --ts-fill2: var(--ts-laser); }
.ts-step:nth-child(3) .ts-step-no { --ts-fill2: var(--ts-laser); --ts-fill3: var(--ts-laser); }
.ts-step strong { color: var(--ts-white); font-size: 19px; }

/* Argumenty: 0 zł / 1 tel. */
.ts-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 12px;
}
.ts-fact {
	padding: 24px;
	border: 1px solid var(--ts-line);
}
.ts-fact b {
	display: block;
	margin-bottom: 10px;
	font-family: var(--ts-mono);
	font-size: 36px;
	font-weight: 500;
	line-height: 1;
	color: var(--ts-laser);
}
.ts-fact strong { display: block; color: var(--ts-white); font-size: 19px; margin-bottom: 4px; }
.ts-fact span { font-size: 15px; }

/* ---------- Strona główna wg makiety "Piksel" (scripts/content/home.html) ---------- */
.ts-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: clamp(16px, 3vw, 32px);
	padding-right: clamp(16px, 3vw, 32px);
}
.ts-sec { padding-top: 56px; padding-bottom: 56px; }
.entry-content > .ts-wrap,
.entry-content > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }
.ts-section-head.is-plain { border-top: 0; padding-top: 0; }
.ts-section-head p { margin: 0 !important; }

/* Zdjęcie z podpisem FIG i pikselem w rogu */
.ts-fig {
	position: relative;
	margin: 0;
	border: 1px solid var(--ts-line);
	background: var(--ts-panel);
}
.ts-fig img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ts-fig figcaption {
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
	padding: 7px 11px;
	background: var(--ts-night);
	color: var(--ts-white);
	font-family: var(--ts-mono);
	font-size: 13px;
}
.ts-fig figcaption.is-laser { background: var(--ts-laser); color: var(--ts-night); font-weight: 700; }
.ts-corner {
	position: absolute;
	right: -10px;
	top: -10px;
	width: 20px;
	height: 20px;
	background: var(--ts-laser);
}

/* Hero */
.ts-hero2 {
	padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
	border-bottom: 1px solid var(--ts-line);
}
.ts-hero2-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
}
.ts-hero2-text { flex: 1 1 520px; min-width: 0; }
.ts-hero2-text > * { margin-top: 0; }
.ts-hero2 h1 {
	margin: 22px 0 24px;
	font-size: clamp(46px, 6.6vw, 100px);
	line-height: 0.9;
	letter-spacing: -0.05em;
}
.ts-hero2 h1 mark,
.ts-split-text h2 mark { background: none; color: var(--ts-laser); }
.ts-hero2 .ts-lead { max-width: 580px; margin: 0 0 26px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ts-text); }
.ts-hero2-fig { flex: 1 1 400px; min-width: 0; height: clamp(320px, 38vw, 500px); }
.ts-hero2-fig figcaption { top: auto; bottom: 0; color: var(--ts-laser); }

/* Karty usług */
.ts-services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 16px;
}
.ts-service {
	display: flex;
	flex-direction: column;
	background: var(--ts-panel);
	border: 1px solid var(--ts-line);
	color: var(--ts-text);
	text-decoration: none;
	transition: border-color .15s ease;
}
.ts-service:hover { border-color: var(--ts-laser); color: var(--ts-text); }
.ts-service-media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 190px;
	overflow: hidden;
	border-bottom: 1px solid var(--ts-line);
}
.ts-service-media img { width: 100%; height: 100%; object-fit: cover; }
.ts-service-media.is-grid { background: var(--ts-night) var(--ts-grid-bg); background-size: 20px 20px; }
.ts-service-media img.is-cutout { width: auto; height: 160px; object-fit: contain; }
.ts-service-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	padding: 22px;
	font-size: 16px;
	line-height: 1.5;
}
.ts-service-body strong {
	color: var(--ts-white);
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
}
.ts-service-foot {
	display: flex;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--ts-line);
	font-family: var(--ts-mono);
	font-size: 14px;
	color: var(--ts-white);
}
.ts-service:hover .ts-service-foot span:last-child { color: var(--ts-laser); }

/* Pas: jak pracujemy */
.ts-band2 {
	padding: 80px 0;
	background: var(--ts-panel);
	border-top: 1px solid var(--ts-line);
	border-bottom: 1px solid var(--ts-line);
}
.ts-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ts-steps li { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ts-steps strong { color: var(--ts-white); font-size: 25px; font-weight: 800; letter-spacing: -0.02em; }
.ts-px { display: flex; gap: 6px; }
.ts-px i { width: 22px; height: 22px; border: 2px solid var(--ts-line-2); box-sizing: border-box; }
.ts-px i.on { background: var(--ts-laser); border-color: var(--ts-laser); }

/* Dwie kolumny: obraz + tekst */
.ts-split {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
}
.ts-split > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.ts-split-text { flex: 1 1 380px; min-width: 0; }
.ts-split-text > * { margin-top: 0; margin-bottom: 20px; }
.ts-split-text h2 {
	font-size: clamp(34px, 4.5vw, 60px);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 0.95;
}
.ts-split-text p { font-size: 18px; color: var(--ts-text); }
.ts-beforeafter { flex: 1 1 520px; min-width: 0; display: flex; gap: 12px; }
.ts-beforeafter .ts-fig { flex: 1; height: 420px; }

/* Druk 3D + sklep na siatce */
.ts-print2 {
	padding: 88px 0;
	border-top: 1px solid var(--ts-line);
	border-bottom: 1px solid var(--ts-line);
	background: var(--ts-night) var(--ts-grid-bg);
	background-size: 32px 32px;
}
.ts-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	font-family: var(--ts-mono);
	font-size: 14px;
}
.ts-tiles > div {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px;
	border: 1px solid var(--ts-line-2);
	background: var(--ts-night);
}
.ts-tiles span { color: var(--ts-muted); }
.ts-tiles b { color: var(--ts-white); font-size: 16px; font-weight: 500; }
.ts-tiles b.is-laser { color: var(--ts-laser); }
.ts-print2-art { position: relative; flex: 1 1 440px; min-width: 0; height: 460px; }
.ts-print2-art img.is-printer { position: absolute; left: 0; top: 10px; width: auto; height: 420px; max-width: 75%; object-fit: contain; }
.ts-print2-art img.is-dragon { position: absolute; right: 0; bottom: 0; width: auto; height: 280px; max-width: 55%; object-fit: contain; }
.ts-print2-art span { position: absolute; right: 0; top: 0; font-family: var(--ts-mono); font-size: 13px; color: var(--ts-muted); }

/* Kontakt na Laserze */
.ts-contact2 {
	padding: 88px 0;
	background: var(--ts-laser);
	color: var(--ts-night);
}
.ts-contact2 .ts-split-text h2 {
	color: var(--ts-night);
	font-size: clamp(40px, 6vw, 84px);
	line-height: 0.88;
}
.ts-contact2 .ts-split-text p { color: var(--ts-night); font-weight: 500; }
.ts-btn-dark .wp-block-button__link { background: var(--ts-night) !important; color: var(--ts-white) !important; }
.ts-btn-dark .wp-block-button__link:hover { background: #000 !important; }
.wp-block-button.ts-btn-dark-outline > .wp-block-button__link { border-color: var(--ts-night) !important; color: var(--ts-night) !important; }
.wp-block-button.ts-btn-dark-outline > .wp-block-button__link:hover { background: var(--ts-night) !important; color: var(--ts-laser) !important; }
.ts-contact-dl {
	flex: 1 1 380px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px 24px;
	margin: 0;
	padding: 28px;
	border: 2px solid var(--ts-night);
	font-family: var(--ts-mono);
	font-size: 16px;
}
.ts-contact-dl dt { font-weight: 700; }
.ts-contact-dl dd { margin: 0; }

@media (max-width: 680px) {
	.ts-beforeafter .ts-fig { height: 300px; }
	.ts-print2-art { height: 340px; }
	.ts-print2-art img.is-printer { height: 310px; }
	.ts-print2-art img.is-dragon { height: 200px; }
}

/* ---------- Tytuły stron i okruszki ---------- */
.hero-section {
	background-color: var(--ts-night);
}
.hero-section[data-type="type-2"] {
	border-bottom: 1px solid var(--ts-line);
	background: var(--ts-night) var(--ts-grid-bg);
	background-size: 32px 32px;
}
.ct-breadcrumbs,
.ct-breadcrumbs a {
	color: var(--ts-muted);
}
.ct-breadcrumbs a:hover { color: var(--ts-laser); }

/* ---------- Karty produktów ---------- */
[data-products] .product,
.woocommerce ul.products li.product,
.wc-block-grid__product {
	padding: 0 0 18px;
	background: var(--ts-panel);
	border: 1px solid var(--ts-line);
	border-radius: 0;
	transition: border-color .15s ease;
}
[data-products] .product:hover,
.woocommerce ul.products li.product:hover {
	border-color: var(--ts-laser);
}
[data-products] .product > *:not(.ct-media-container):not(figure),
.woocommerce ul.products li.product > *:not(.ct-media-container):not(figure) {
	margin-left: 18px;
	margin-right: 18px;
}
[data-products] .ct-media-container,
ul.products li.product .ct-media-container {
	border-radius: 0;
	border-bottom: 1px solid var(--ts-line);
	background: var(--ts-night);
}
ul.products li.product .ct-media-container img,
.wc-block-grid__product-image img {
	aspect-ratio: 1 / 1 !important;
	object-fit: cover;
	border-radius: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
[data-products] .woocommerce-loop-product__title {
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.woocommerce-loop-product__title a { color: var(--ts-white); }
[data-products] .entry-meta,
[data-products] .entry-meta a {
	font-family: var(--ts-mono);
	font-size: 12px;
	color: var(--ts-muted);
}
.price,
.woocommerce-Price-amount {
	font-family: var(--ts-mono);
	font-weight: 500;
	color: var(--ts-laser);
}
.price del,
.price del .woocommerce-Price-amount { color: var(--ts-muted); }
.price ins { text-decoration: none; }
.onsale,
.out-of-stock-badge {
	border-radius: 0 !important;
	background: var(--ts-laser) !important;
	color: var(--ts-night) !important;
	font-family: var(--ts-mono);
	font-weight: 700;
	text-transform: lowercase;
}
.out-of-stock-badge { background: var(--ts-white) !important; }
[data-products] .button {
	min-height: 44px;
}

/* Sortowanie i paginacja */
.ct-pagination .page-numbers {
	border-radius: 0;
	font-family: var(--ts-mono);
	color: var(--ts-white);
	border: 1px solid var(--ts-line);
}
.ct-pagination .page-numbers.current {
	background: var(--ts-laser);
	border-color: var(--ts-laser);
	color: var(--ts-night);
}

/* Filtry / sidebar */
.ct-sidebar .widget-title,
.ct-sidebar .wp-block-heading {
	font-family: var(--ts-mono);
	font-size: 14px;
	font-weight: 500;
	text-transform: lowercase;
	color: var(--ts-laser);
}

/* ---------- Strona produktu ---------- */
.woocommerce-product-gallery .ct-media-container,
.flexy-items .ct-media-container {
	border-radius: 0;
	background: var(--ts-night);
}
.woocommerce div.product .product_title {
	font-size: clamp(32px, 4vw, 52px);
}
.woocommerce div.product p.price {
	font-size: 28px;
}
.quantity input.qty,
.quantity .ct-increase,
.quantity .ct-decrease {
	border-radius: 0 !important;
	color: var(--ts-white);
	border-color: var(--ts-line-2);
}
.woocommerce-tabs ul.tabs li a {
	font-family: var(--ts-mono);
	font-size: 14px;
	font-weight: 400;
	color: var(--ts-text);
}
.woocommerce-tabs ul.tabs li.active a { color: var(--ts-laser); }

/* Tabele specyfikacji i notki w opisach produktów */
.ts-specs table,
table.ts-specs,
.woocommerce table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
.ts-specs th,
.ts-specs td,
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--ts-line);
	text-align: left;
	vertical-align: top;
	background: transparent;
}
.ts-specs th,
.woocommerce table.shop_attributes th {
	width: 40%;
	color: var(--ts-muted);
	font-family: var(--ts-mono);
	font-size: 13px;
	font-weight: 400;
}
.ts-specs td { color: var(--ts-white); }
.ts-specs thead th {
	width: auto;
	background: var(--ts-panel);
	color: var(--ts-laser);
}
.ts-note,
.ts-attrib {
	font-size: 14px;
	color: var(--ts-text);
}
.ts-note {
	padding: 12px 14px;
	border: 1px solid var(--ts-line);
	border-left: 4px solid var(--ts-laser);
	background: var(--ts-panel);
	border-radius: 0;
}

/* ---------- Koszyk, zamówienie, komunikaty ---------- */
.woocommerce table.shop_table {
	border-radius: 0 !important;
	border-color: var(--ts-line) !important;
}
.woocommerce table.shop_table th {
	font-family: var(--ts-mono);
	font-size: 13px;
	font-weight: 400;
	color: var(--ts-muted);
}
.woocommerce table.shop_table td { border-color: var(--ts-line) !important; }
.cart_totals,
#order_review {
	background: var(--ts-panel) !important;
	border-radius: 0 !important;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	border-radius: 0 !important;
	background: var(--ts-panel) !important;
	color: var(--ts-white) !important;
	border: 1px solid var(--ts-line) !important;
	border-left: 4px solid var(--ts-laser) !important;
}
.woocommerce-error { border-left-color: #FF6B6B !important; }
.woocommerce-checkout #payment,
.woocommerce-checkout #payment div.payment_box {
	background: var(--ts-panel);
	border-radius: 0;
	color: var(--ts-text);
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--ts-panel); }

/* ---------- Stopka ---------- */
#footer,
#footer [data-row] {
	background: var(--ts-night);
	color: var(--ts-muted);
	font-family: var(--ts-mono);
	font-size: 13px;
}
#footer { border-top: 1px solid var(--ts-line); }
#footer a { color: var(--ts-white); }
#footer a:hover { color: var(--ts-laser); }

/* ---------- Konfigurator wydruku (wtyczka techshop-print-quote) ---------- */
/* Próbki kolorów na stronie produktu leżą poza .tsq - dostają te same zmienne. */
body .tsq,
body .tsq-colors {
	--tsq-primary: var(--ts-laser);
	--tsq-primary-hover: var(--theme-palette-color-2, #D9FF6A);
	--tsq-radius: 0;
	--tsq-card: var(--ts-panel);
	--tsq-soft: var(--ts-night);
	--tsq-border: var(--ts-line);
	--tsq-text: var(--ts-text);
	--tsq-heading: var(--ts-white);
	--tsq-danger: #FF6B6B;
}
body .tsq .tsq-card { box-shadow: none; }
body .tsq .tsq-h { font-weight: 800; letter-spacing: -0.02em; }
body .tsq .tsq-step {
	border-radius: 0;
	color: var(--ts-night);
	font-family: var(--ts-mono);
}
body .tsq .tsq-drop:hover,
body .tsq .tsq-drop.is-over,
body .tsq .tsq-drop:focus-within,
body .tsq .tsq-material:has(input:checked) {
	background: rgb(198 244 50 / 6%);
}
body .tsq .tsq-viewer {
	background: radial-gradient(ellipse at 50% 30%, #2A2F36, #0B0D10);
	border: 1px solid var(--ts-line);
}
body .tsq .tsq-segmented input:checked + span,
body .tsq .tsq-btn,
body .tsq .tsq-btn-ghost:hover:not(:disabled) {
	color: var(--ts-night);
	border-radius: 0;
	font-weight: 800;
}
body .tsq .tsq-btn:hover:not(:disabled) { background: var(--theme-palette-color-2, #D9FF6A); }
body .tsq .tsq-btn-ghost { background: transparent; color: var(--ts-laser); }
body .tsq .tsq-price {
	border-radius: 0;
	background: var(--ts-night) var(--ts-grid-bg);
	background-size: 20px 20px;
	border: 1px solid var(--ts-laser);
	color: var(--ts-text);
}
body .tsq .tsq-price strong {
	font-family: var(--ts-mono);
	font-weight: 500;
	color: var(--ts-laser);
}
body .tsq .tsq-swatch,
body .tsq-colors .tsq-swatch { border-color: var(--ts-night); }
body .tsq-colors .tsq-colors-label {
	font-family: var(--ts-mono);
	font-size: 14px;
	font-weight: 400;
	color: var(--ts-muted);
}
body .tsq-colors .tsq-colors-label strong { color: var(--ts-white); font-family: var(--ts-sans); font-size: 16px; font-weight: 700; }
body .tsq input,
body .tsq select,
body .tsq textarea { border-radius: 0; }

/* Dokumenty prawne i linki w stopce */
.ts-legal-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	padding: 18px 20px 28px;
	background: var(--ts-night);
	border-top: 1px solid var(--ts-line);
	font-family: var(--ts-mono);
	font-size: 13px;
}
.ts-legal-nav a { color: var(--ts-muted); text-decoration: none; }
.ts-legal-nav a:hover { color: var(--ts-laser); }
.entry-content > table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin: 1.2em 0;
}
.entry-content > table th,
.entry-content > table td {
	border: 1px solid var(--ts-line);
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
}
.entry-content > table th { background: var(--ts-panel); color: var(--ts-white); }
.entry-content > blockquote { border-left: 2px solid var(--ts-laser); background: var(--ts-panel); padding: 1em 1.4em; }
.ts-checkout-note {
	border: 1px solid var(--ts-line-2);
	background: var(--ts-panel);
	padding: 12px 16px;
	font-size: 14px;
	margin: 0 0 16px;
}
.ts-service-waiver label { font-size: 14px; line-height: 1.45; }
