/*
Theme Name:   Zentero
Theme URI:    https://zentero.pl
Description:  Motyw potomny Kadence dla sklepu Zentero.pl – nagłówek z wyszukiwarką na żywo, mega menu kategorii, mini-koszyk, kafelki kategorii i ulepszenia WooCommerce.
Author:       Zentero.pl
Template:     kadence
Version:      1.0.2
Requires at least: 6.5
Requires PHP: 8.0
Text Domain:  zentero
License:      GPL-2.0-or-later
*/

/* =========================================================================
   Zmienne i baza
   ========================================================================= */
:root {
	--zt-navy: #1F232B;
	--zt-navy-2: #2E333D;
	--zt-accent: #E8352B;
	--zt-accent-2: #C42A21;
	--zt-green: #12805C;
	--zt-text: #2B303A;
	--zt-muted: #6B7280;
	--zt-line: #E5E7EB;
	--zt-bg: #F5F6F8;
	--zt-white: #fff;
	--zt-radius: 12px;
	--zt-radius-sm: 8px;
	--zt-shadow: 0 6px 24px rgba(31, 35, 43, .08);
	--zt-shadow-lg: 0 18px 48px rgba(31, 35, 43, .16);
	--zt-container: 1320px;
	--zt-topbar-h: 36px;
	--zt-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--global-body-font-family: var(--zt-font);
	--global-heading-font-family: var(--zt-font);
	--global-content-width: var(--zt-container);
}

body.zentero {
	font-family: var(--zt-font);
	color: var(--zt-text);
	background: var(--zt-bg);
	-webkit-font-smoothing: antialiased;
}
body.zt-locked { overflow: hidden; }
#wrapper { overflow: clip; }

.zt-container {
	width: 100%;
	max-width: var(--zt-container);
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}
@media (max-width: 767px) {
	.zt-container { padding-inline: 16px; }
}

.zt-icon { flex: none; display: inline-block; vertical-align: middle; }

.zentero :focus-visible {
	outline: 2px solid var(--zt-accent);
	outline-offset: 2px;
}

.zentero .button,
.zentero button.button,
.zentero .wp-element-button,
.zentero .wc-block-components-button:not(.is-link) {
	border-radius: 10px;
	font-weight: 600;
	transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.zentero .button:hover { transform: translateY(-1px); }

/* =========================================================================
   Nagłówek
   ========================================================================= */
.zt-header {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--zt-topbar-h));
	z-index: 60;
	background: var(--zt-white);
	transition: box-shadow .2s ease;
}
.zt-scrolled .zt-header { box-shadow: 0 4px 20px rgba(31, 35, 43, .10); }

/* Pasek górny */
.zt-topbar {
	background: var(--zt-navy);
	color: #D6D9DE;
	font-size: 13px;
	height: var(--zt-topbar-h);
}
.zt-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	gap: 16px;
}
.zt-topbar__usp,
.zt-topbar__menu {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
	overflow: hidden;
}
.zt-topbar__usp li { display: flex; align-items: center; gap: 6px; }
.zt-topbar__usp .zt-icon { color: var(--zt-accent); }
.zt-topbar__links { display: flex; align-items: center; gap: 20px; }
.zt-topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.zt-topbar a:hover { color: var(--zt-accent); }
@media (max-width: 1024px) {
	.zt-topbar__links { display: none; }
	.zt-topbar__inner { justify-content: center; }
	.zt-topbar__usp li:not(:first-child) { display: none; }
}

/* Główny pasek */
.zt-mainbar { border-bottom: 1px solid var(--zt-line); }
.zt-mainbar__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}
.zt-brand { flex: none; }
.zt-brand .custom-logo { max-height: 48px; width: auto; display: block; }

.zt-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--zt-navy);
}
.zt-logo__mark {
	width: 54px;
	height: auto;
	display: block;
	color: var(--zt-navy);
}
.zt-footer .zt-logo__mark,
.zt-footer .zt-logo { color: #fff; }
.zt-logo__text {
	font-size: 25px;
	font-weight: 800;
	letter-spacing: .06em;
	line-height: 1;
}
.zt-logo__text span { color: var(--zt-accent); font-weight: 700; }

/* Wyszukiwarka */
.zt-search {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	max-width: 720px;
	margin: 0;
}
.zt-search__input.zt-search__input {
	flex: 1;
	height: 48px;
	border: 2px solid var(--zt-navy);
	border-right: 0;
	border-radius: 12px 0 0 12px;
	padding: 0 16px;
	font-size: 15px;
	background: #fff;
	color: var(--zt-text);
	box-shadow: none;
	min-width: 0;
}
.zt-search__input:focus { outline: none; border-color: var(--zt-accent); }
.zt-search__input:focus + input + .zt-search__btn,
.zt-search__input:focus + .zt-search__btn { background: var(--zt-accent); }
.zt-search__btn.zt-search__btn {
	height: 48px;
	border: 0;
	border-radius: 0 12px 12px 0;
	padding: 0 22px;
	background: var(--zt-navy);
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
}
.zt-search__btn:hover { background: var(--zt-accent); }

.zt-search__results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border-radius: var(--zt-radius);
	box-shadow: var(--zt-shadow-lg);
	border: 1px solid var(--zt-line);
	padding: 8px;
	z-index: 80;
	max-height: min(70vh, 560px);
	overflow: auto;
}
.zt-sr__label { margin: 6px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--zt-muted); font-weight: 600; }
.zt-sr__msg { margin: 12px; color: var(--zt-muted); }
.zt-sr__list { list-style: none; margin: 0; padding: 0; }
.zt-sr__list a {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--zt-text);
}
.zt-sr__list a:hover,
.zt-sr__list a:focus { background: var(--zt-bg); outline: none; }
.zt-sr__list img, .zt-sr__noimg { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--zt-line); }
.zt-sr__name { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zt-sr__price { font-size: 14px; white-space: nowrap; text-align: right; }
.zt-sr__price del { color: var(--zt-muted); font-size: 12px; display: block; }
.zt-sr__all { display: block; margin: 6px 4px 2px; padding: 10px; text-align: center; border-radius: 8px; background: var(--zt-bg); font-weight: 600; color: var(--zt-navy); text-decoration: none; }
.zt-sr__all:hover { background: var(--zt-line); }

/* Akcje */
.zt-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.zt-action {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 10px;
	color: var(--zt-navy);
	text-decoration: none;
	line-height: 1.15;
	font-weight: 600;
	font-size: 14px;
}
.zt-action:hover { background: var(--zt-bg); color: var(--zt-navy); }
.zt-action__label small { display: block; font-weight: 400; font-size: 12px; color: var(--zt-muted); }
.zt-cart-icon { position: relative; display: inline-flex; }
.zt-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--zt-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: grid;
	place-items: center;
	border: 2px solid #fff;
	box-sizing: border-box;
}
.zt-cart-count[data-count="0"] { background: var(--zt-muted); }
.zt-cart-total .woocommerce-Price-amount { font-weight: 700; }

.zt-iconbtn.zt-iconbtn {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--zt-navy);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none;
}
.zt-iconbtn.zt-iconbtn:hover { background: var(--zt-bg); color: var(--zt-navy); }

/* Pasek kategorii */
.zt-catbar { position: relative; background: #fff; border-bottom: 1px solid var(--zt-line); }
.zt-catbar__inner { display: flex; align-items: center; gap: 12px; height: 52px; }
.zt-allcats.zt-allcats {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: var(--zt-accent);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	box-shadow: none;
}
.zt-allcats:hover, .zt-allcats[aria-expanded="true"] { background: var(--zt-accent-2); color: #fff; }
.zt-allcats[aria-expanded="true"] .zt-icon:last-child { transform: rotate(180deg); }
.zt-allcats .zt-icon:last-child { transition: transform .2s; }
.zt-catbar__links {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
	mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.zt-catbar__links::-webkit-scrollbar { display: none; }
.zt-catbar__links a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--zt-text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}
.zt-catbar__links a:hover, .zt-catbar__links a[aria-current] { background: var(--zt-bg); color: var(--zt-accent-2); }

/* Mega menu */
.zt-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 70;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .15s ease, transform .15s ease;
	pointer-events: none;
}
.zt-mega.is-open { opacity: 1; transform: none; pointer-events: auto; }
.zt-mega__inner {
	display: grid;
	grid-template-columns: 280px 1fr;
	background: #fff;
	border-radius: 0 0 var(--zt-radius) var(--zt-radius);
	box-shadow: var(--zt-shadow-lg);
	padding: 0;
	max-height: calc(100vh - 200px);
	overflow: hidden;
}
.zt-mega__roots {
	list-style: none;
	margin: 0;
	padding: 10px;
	background: var(--zt-bg);
	overflow: auto;
}
.zt-mega__root {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--zt-text);
	text-decoration: none;
	font-weight: 500;
	font-size: 15px;
}
.zt-mega__root span { flex: 1; }
.zt-mega__root .zt-cat-icon { color: var(--zt-navy); }
.zt-mega__chev { opacity: .4; }
.zt-mega__root.is-active { background: #fff; color: var(--zt-accent-2); box-shadow: 0 1px 3px rgba(31, 35, 43, .08); }
.zt-mega__root.is-active .zt-cat-icon { color: var(--zt-accent); }
.zt-mega__panels { overflow: auto; padding: 22px 28px; }
.zt-mega__panel { display: none; }
.zt-mega__panel.is-active { display: block; }
.zt-mega__head a { font-size: 20px; font-weight: 700; color: var(--zt-navy); text-decoration: none; }
.zt-mega__head small { color: var(--zt-muted); font-weight: 400; font-size: 14px; }
.zt-mega__cols { columns: 3 220px; column-gap: 32px; margin-top: 16px; }
.zt-mega__group { break-inside: avoid; margin-bottom: 18px; }
.zt-mega__title { display: block; font-weight: 700; color: var(--zt-navy); text-decoration: none; margin-bottom: 6px; font-size: 14px; }
.zt-mega__group ul { list-style: none; margin: 0; padding: 0; }
.zt-mega__group li a { display: block; padding: 3px 0; color: var(--zt-muted); text-decoration: none; font-size: 14px; }
.zt-mega a:hover { color: var(--zt-accent-2); }
.zt-mega__more { font-weight: 600; color: var(--zt-navy) !important; }

/* Szuflady */
.zt-overlay {
	position: fixed;
	inset: 0;
	background: rgba(31, 35, 43, .45);
	z-index: 90;
	opacity: 0;
	transition: opacity .25s;
}
.zt-overlay.is-open { opacity: 1; }
.zt-drawer, .zt-minicart {
	position: fixed;
	top: 0;
	bottom: 0;
	width: min(400px, 90vw);
	background: #fff;
	z-index: 100;
	display: flex;
	flex-direction: column;
	transition: transform .25s ease;
	box-shadow: var(--zt-shadow-lg);
}
.zt-drawer { left: 0; transform: translateX(-100%); }
.zt-minicart { right: 0; transform: translateX(100%); }
.zt-drawer.is-open, .zt-minicart.is-open { transform: none; }
.admin-bar .zt-drawer, .admin-bar .zt-minicart { top: var(--wp-admin--admin-bar--height, 0px); }
.zt-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 12px 12px 20px;
	border-bottom: 1px solid var(--zt-line);
}
.zt-drawer__head .zt-iconbtn { display: inline-flex; }
.zt-drawer__body, .zt-minicart__body { overflow: auto; flex: 1; padding: 8px 20px 24px; }
.zt-drawer__label { margin: 18px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--zt-muted); font-weight: 600; }
.zt-mnav, .zt-mnav__sub, .zt-drawer__links { list-style: none; margin: 0; padding: 0; }
.zt-mnav__toggle.zt-mnav__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 4px;
	border: 0;
	border-bottom: 1px solid var(--zt-line);
	border-radius: 0;
	background: none;
	color: var(--zt-text);
	font: inherit;
	font-weight: 500;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}
.zt-mnav__toggle span { flex: 1; }
.zt-mnav__toggle .zt-cat-icon { color: var(--zt-accent); }
.zt-mnav__toggle[aria-expanded="true"] .zt-mnav__chev { transform: rotate(180deg); }
.zt-mnav__sub { padding: 6px 0 10px 36px; }
.zt-mnav__sub a { display: block; padding: 8px 0; color: var(--zt-text); text-decoration: none; font-size: 15px; }
.zt-drawer__links a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; color: var(--zt-text); text-decoration: none; border-bottom: 1px solid var(--zt-line); }

.zt-minicart__title { font-size: 18px; color: var(--zt-navy); }
.zt-minicart .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.zt-minicart .woocommerce-mini-cart-item {
	position: relative;
	display: block;
	padding: 14px 28px 14px 0;
	border-bottom: 1px solid var(--zt-line);
	font-size: 14px;
	min-height: 64px;
}
.zt-minicart .woocommerce-mini-cart-item img { float: left; width: 64px; height: 64px; object-fit: contain; margin-right: 12px; border-radius: 8px; border: 1px solid var(--zt-line); background: #fff; }
.zt-minicart .woocommerce-mini-cart-item > a:not(.remove) { color: var(--zt-text); text-decoration: none; font-weight: 500; display: block; }
.zt-minicart .woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 14px; color: var(--zt-muted) !important; text-decoration: none; font-size: 20px; }
.zt-minicart .quantity { display: block; color: var(--zt-muted); margin-top: 4px; }
.zt-minicart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; font-size: 16px; margin: 16px 0; }
.zt-minicart .woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 0; }
.zt-minicart .woocommerce-mini-cart__buttons .button { text-align: center; width: 100%; margin: 0; }
.zt-minicart .woocommerce-mini-cart__buttons .checkout { background: var(--zt-accent); color: #fff; }
.zt-minicart .woocommerce-mini-cart__buttons .button:not(.checkout) { background: var(--zt-bg); color: var(--zt-navy); }
.zt-minicart .woocommerce-mini-cart__empty-message { text-align: center; color: var(--zt-muted); padding: 40px 0; }

/* Pasek darmowej dostawy */
.zt-freeship { background: var(--zt-bg); border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-size: 14px; }
.zt-freeship p { margin: 0 0 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.zt-freeship .zt-icon { color: var(--zt-accent); }
.zt-freeship__bar { height: 6px; background: var(--zt-line); border-radius: 3px; overflow: hidden; }
.zt-freeship__bar span { display: block; height: 100%; background: var(--zt-accent); border-radius: 3px; transition: width .4s ease; }
.zt-freeship.is-done .zt-icon { color: var(--zt-green); }
.zt-freeship.is-done .zt-freeship__bar span { background: var(--zt-green); }

/* Responsywność nagłówka */
@media (max-width: 1024px) {
	.zt-header { top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--zt-topbar-h)); }
	.zt-iconbtn.zt-iconbtn { display: inline-flex; }
	.zt-catbar { display: none; }
	.zt-mainbar__inner { gap: 4px; min-height: 64px; flex-wrap: wrap; }
	.zt-brand { margin-right: auto; }
	.zt-logo__text { font-size: 22px; }
	.zt-logo__mark { width: 44px; }
	.zt-action__label { display: none; }
	.zt-action { padding: 10px; }
	.zt-actions { gap: 0; margin-left: 0; }
	.zt-search {
		order: 10;
		flex-basis: 100%;
		max-width: none;
		margin-bottom: 10px;
	}
	.zt-search__btn span { display: none; }
	.zt-search__btn.zt-search__btn { padding: 0 16px; }
	.zt-search__input.zt-search__input { height: 44px; }
	.zt-search__btn.zt-search__btn { height: 44px; }
	.zt-search-toggle.zt-iconbtn { display: none; }
}
@media (max-width: 1024px) and (max-height: 500px) {
	.zt-search { display: none; }
	.zt-search-open .zt-search { display: flex; }
	.zt-search-toggle.zt-iconbtn { display: inline-flex; }
}
@media (min-width: 1025px) {
	.admin-bar .zt-header { top: calc(var(--wp-admin--admin-bar--height, 32px) - var(--zt-topbar-h)); }
}
@media (max-width: 600px) {
	.admin-bar .zt-header { top: calc(0px - var(--zt-topbar-h)); }
}

/* =========================================================================
   Strona główna
   ========================================================================= */
.zt-hero {
	background:
		radial-gradient(900px 400px at 85% 10%, rgba(232, 53, 43, .22), transparent 60%),
		linear-gradient(135deg, var(--zt-navy) 0%, var(--zt-navy-2) 100%);
	color: #fff;
	overflow: hidden;
}
.zt-hero__inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: center;
	padding-block: 56px;
}
.zt-eyebrow { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #FF9C95; font-weight: 700; }
.zt-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; }
.zt-hero__lead { font-size: 18px; color: #C9CDD4; max-width: 560px; margin: 0 0 28px; line-height: 1.6; }
.zt-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.zt-btn-lg.zt-btn-lg { padding: 16px 28px; font-size: 16px; background: var(--zt-accent); color: #fff; box-shadow: 0 8px 24px rgba(232, 53, 43, .35); }
.zt-btn-lg.zt-btn-lg:hover { background: var(--zt-accent-2); color: #fff; }
.zt-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 600; border: 1px solid rgba(255, 255, 255, .25); }
.zt-btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.zt-hero__points { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 28px 0 0; padding: 0; color: #C9CDD4; font-size: 14px; }
.zt-hero__points li { display: flex; align-items: center; gap: 8px; }
.zt-hero__points .zt-icon { color: var(--zt-accent); }
.zt-hero__img { width: 100%; height: auto; border-radius: 20px; }
.zt-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; transform: rotate(-2deg); }
.zt-collage__cell {
	background: #fff;
	border-radius: 18px;
	aspect-ratio: 1;
	padding: 18px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
	display: grid;
	place-items: center;
}
.zt-collage__cell:nth-child(2), .zt-collage__cell:nth-child(4) { transform: translateY(24px); }
.zt-collage__cell img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) {
	.zt-hero__inner { grid-template-columns: 1fr; padding-block: 36px; gap: 28px; }
	.zt-hero__media { order: -1; }
	.zt-collage { grid-template-columns: repeat(4, 1fr); gap: 8px; transform: none; }
	.zt-collage__cell { padding: 8px; border-radius: 12px; }
	.zt-collage__cell:nth-child(2), .zt-collage__cell:nth-child(4) { transform: none; }
	.zt-hero__lead { font-size: 16px; }
}

.zt-section { margin: 48px 0; }
.zt-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.zt-section__head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; color: var(--zt-navy); }
.zt-section__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--zt-accent-2); text-decoration: none; white-space: nowrap; }
.zt-section__more:hover { color: var(--zt-navy); }

.zt-catgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.zt-catcard {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	background: #fff;
	border-radius: var(--zt-radius);
	padding: 12px 12px 16px;
	text-decoration: none;
	color: var(--zt-text);
	border: 1px solid var(--zt-line);
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
.zt-catcard:hover { box-shadow: var(--zt-shadow); transform: translateY(-3px); border-color: transparent; color: var(--zt-text); }
.zt-catcard__img { width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: grid; place-items: center; margin-bottom: 8px; background: var(--zt-bg); color: var(--zt-navy); }
.zt-catcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.zt-catcard:hover .zt-catcard__img img { transform: scale(1.05); }
.zt-catcard__name { font-weight: 700; font-size: 15px; color: var(--zt-navy); line-height: 1.25; }
.zt-catcard__count { font-size: 13px; color: var(--zt-muted); }
@media (max-width: 1100px) { .zt-catgrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) {
	.zt-catgrid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.zt-catcard { padding: 8px 6px 12px; }
	.zt-catcard__name { font-size: 13px; }
	.zt-catcard__count { font-size: 11px; }
}

.zt-seo { background: #fff; border-radius: var(--zt-radius); padding: 28px 32px; margin: 48px 0 64px; border: 1px solid var(--zt-line); }
.zt-seo h2 { margin-top: 0; font-size: 20px; color: var(--zt-navy); }
.zt-seo p { color: var(--zt-muted); margin: 0; line-height: 1.7; }

.page-template-zentero-home #inner-wrap,
.page-template-templates-zentero-home-php #inner-wrap { padding: 0; }

/* =========================================================================
   Listy produktów
   ========================================================================= */
.zentero ul.products { gap: 16px; }
.zentero ul.products li.product,
.zentero .wc-block-grid__product {
	background: #fff;
	border-radius: var(--zt-radius);
	border: 1px solid var(--zt-line);
	overflow: hidden;
	transition: box-shadow .2s, border-color .2s, transform .2s;
	display: flex;
	flex-direction: column;
}
.zentero ul.products li.product:hover { box-shadow: var(--zt-shadow); border-color: transparent; }
.zentero ul.products li.product .woocommerce-loop-image-link,
.zentero ul.products li.product a img { background: #fff; }
.zentero ul.products li.product img {
	aspect-ratio: 1;
	object-fit: contain;
	padding: 12px;
	box-sizing: border-box;
	width: 100%;
}
.zentero ul.products li.product .product-details { padding: 4px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.zentero ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--zt-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
	padding: 0;
}
.zentero ul.products li.product .price { font-size: 18px; font-weight: 700; color: var(--zt-navy); margin-top: auto; }
.zentero ul.products li.product .price del { font-size: 14px; color: var(--zt-muted); font-weight: 400; }
.zentero ul.products li.product .price ins { text-decoration: none; color: #D42A20; }
.zt-loop-cat { display: block; font-size: 12px; color: var(--zt-muted); margin: 8px 0 2px; text-transform: uppercase; letter-spacing: .04em; }
.zentero .onsale, .zentero span.onsale {
	background: #D42A20;
	color: #fff;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	padding: 4px 8px;
	min-height: 0;
	line-height: 1.2;
}
.zentero ul.products li.product .button,
.zentero ul.products li.product .product-action-wrap .button {
	background: var(--zt-accent);
	color: #fff;
	border-radius: 10px;
}
.zentero ul.products li.product .button:hover { background: var(--zt-accent-2); }
.zentero ul.products li.product .added_to_cart { font-size: 13px; font-weight: 600; color: var(--zt-green); }

@media (max-width: 767px) {
	.zentero ul.products { gap: 10px; }
	.zentero ul.products li.product .product-details { padding: 2px 10px 12px; }
	.zentero ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
	.zentero ul.products li.product .price { font-size: 16px; }
	.zentero ul.products li.product img { padding: 6px; }
}

/* Kafelki podkategorii */
.zt-subcats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
	margin: 0 0 24px;
}
.zt-subcats__item {
	display: grid;
	grid-template-columns: 48px 1fr;
	grid-template-rows: auto auto;
	column-gap: 10px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--zt-line);
	border-radius: 10px;
	padding: 8px 10px;
	text-decoration: none;
	color: var(--zt-text);
	transition: border-color .15s, box-shadow .15s;
}
.zt-subcats__item:hover { border-color: var(--zt-accent); color: var(--zt-text); }
.zt-subcats__img { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--zt-bg); display: grid; place-items: center; color: var(--zt-navy); }
.zt-subcats__img img { width: 100%; height: 100%; object-fit: cover; }
.zt-subcats__name { font-weight: 600; font-size: 14px; line-height: 1.25; align-self: end; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.zt-subcats__count { font-size: 12px; color: var(--zt-muted); align-self: start; }
@media (max-width: 767px) {
	.zt-subcats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
	.zt-subcats__item { flex: 0 0 160px; scroll-snap-align: start; }
}

/* Archiwum: tytuł, sortowanie, paginacja, sidebar */
.zentero .woocommerce-products-header,
.zentero .product-archive-title { margin-bottom: 12px; }
.zentero .woocommerce-ordering select,
.zentero .orderby { border-radius: 10px; border: 1px solid var(--zt-line); background-color: #fff; padding: 8px 12px; }
.zentero .woocommerce-pagination ul.page-numbers { border: 0; gap: 6px; display: flex; flex-wrap: wrap; justify-content: center; }
.zentero .woocommerce-pagination ul.page-numbers li { border: 0; }
.zentero .woocommerce-pagination .page-numbers a,
.zentero .woocommerce-pagination .page-numbers span {
	min-width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--zt-line);
	color: var(--zt-text);
}
.zentero .woocommerce-pagination .page-numbers .current { background: var(--zt-navy); color: #fff; border-color: var(--zt-navy); }
.zentero .primary-sidebar .widget,
.zentero #secondary .widget {
	background: #fff;
	border: 1px solid var(--zt-line);
	border-radius: var(--zt-radius);
	padding: 18px;
	margin-bottom: 16px;
}
.zentero .primary-sidebar .widget-title,
.zentero #secondary .widget-title,
.zentero .primary-sidebar h2 { font-size: 16px; color: var(--zt-navy); margin-bottom: 12px; }
.zentero .product-categories { list-style: none; padding: 0; margin: 0; }
.zentero .product-categories li { padding: 4px 0; }
.zentero .product-categories .children { padding-left: 14px; display: none; }
.zentero .product-categories .current-cat > .children,
.zentero .product-categories .current-cat-parent > .children { display: block; }
.zentero .product-categories a { color: var(--zt-text); text-decoration: none; }
.zentero .product-categories .current-cat > a { color: var(--zt-accent-2); font-weight: 700; }
.zentero .product-categories .count { color: var(--zt-muted); font-size: 12px; }

/* =========================================================================
   Karta produktu
   ========================================================================= */
.zentero.single-product .site-main .product { background: transparent; }
.zentero.single-product div.product .woocommerce-product-gallery {
	background: #fff;
	border-radius: var(--zt-radius);
	border: 1px solid var(--zt-line);
	padding: 16px;
	box-sizing: border-box;
}
.zentero.single-product div.product .woocommerce-product-gallery img { object-fit: contain; }
.zentero.single-product div.product .product_title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.01em; color: var(--zt-navy); }
.zentero.single-product div.product p.price,
.zentero.single-product div.product span.price { font-size: 32px; font-weight: 800; color: var(--zt-navy); }
.zentero.single-product div.product p.price del { font-size: 18px; color: var(--zt-muted); font-weight: 400; }
.zentero.single-product div.product p.price ins { text-decoration: none; color: #D42A20; }
.zt-shortdesc p { color: var(--zt-muted); line-height: 1.65; margin-bottom: 4px; }
.zt-shortdesc__more { font-weight: 600; color: var(--zt-accent-2); font-size: 14px; }
.zentero.single-product div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 20px 0; }
.zentero.single-product div.product form.cart .single_add_to_cart_button {
	flex: 1 1 220px;
	min-height: 52px;
	font-size: 17px;
	background: var(--zt-accent);
	color: #fff;
	box-shadow: 0 8px 20px rgba(232, 53, 43, .25);
}
.zentero.single-product div.product form.cart .single_add_to_cart_button:hover { background: var(--zt-accent-2); }
.zentero.single-product div.product .stock.in-stock { color: var(--zt-green); font-weight: 600; }

.zt-trust {
	list-style: none;
	margin: 20px 0;
	padding: 6px 16px;
	background: #fff;
	border: 1px solid var(--zt-line);
	border-radius: var(--zt-radius);
}
.zt-trust li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 14px; line-height: 1.45; }
.zt-trust li + li { border-top: 1px solid var(--zt-line); }
.zt-trust .zt-icon { color: var(--zt-accent); margin-top: 1px; }
.zt-trust small { color: var(--zt-muted); }
.zt-trust strong { color: var(--zt-green); }

.zentero .woocommerce-tabs {
	background: #fff;
	border-radius: var(--zt-radius);
	border: 1px solid var(--zt-line);
	padding: 8px 28px 28px;
	margin-top: 32px;
}
.zentero .woocommerce-tabs .panel { line-height: 1.7; }
.zentero .woocommerce-tabs .panel img { max-width: 100%; height: auto; }
.zt-shiptable { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.zt-shiptable th, .zt-shiptable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--zt-line); }
.zt-shiptable th { background: var(--zt-bg); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--zt-muted); }

/* Przyklejony pasek zakupu */
.zt-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 55;
	background: #fff;
	box-shadow: 0 -6px 24px rgba(31, 35, 43, .12);
	transform: translateY(110%);
	transition: transform .25s ease;
	padding-bottom: env(safe-area-inset-bottom);
}
.zt-sticky-atc.is-visible { transform: none; }
.zt-sticky-atc__inner { display: flex; align-items: center; gap: 14px; min-height: 72px; }
.zt-sticky-atc__img img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; border: 1px solid var(--zt-line); }
.zt-sticky-atc__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zt-sticky-atc__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--zt-navy); }
.zt-sticky-atc__price { font-weight: 800; color: var(--zt-navy); }
.zt-sticky-atc__price del { font-weight: 400; color: var(--zt-muted); font-size: 13px; }
.zt-sticky-atc__price ins { text-decoration: none; }
.zt-sticky-atc__btn.zt-sticky-atc__btn { background: var(--zt-accent); color: #fff; padding: 14px 24px; white-space: nowrap; }
@media (max-width: 600px) {
	.zt-sticky-atc__img, .zt-sticky-atc__name { display: none; }
	.zt-sticky-atc__price { font-size: 18px; }
	.zt-sticky-atc__btn.zt-sticky-atc__btn { flex: 1; }
	.zt-has-sticky .scroll-up-button, .zt-has-sticky #kt-scroll-up { bottom: 90px; }
}

/* =========================================================================
   Koszyk i zamówienie
   ========================================================================= */
.zentero .wc-block-cart,
.zentero .wc-block-checkout { margin-bottom: 48px; }
.zentero .wc-block-components-sidebar .wc-block-components-panel,
.zentero .wc-block-components-totals-wrapper { border-color: var(--zt-line); }
.zentero .wc-block-components-button.wc-block-cart__submit-button,
.zentero .wc-block-components-checkout-place-order-button {
	background: var(--zt-accent);
	color: #fff;
	min-height: 54px;
	font-size: 17px;
}
.zentero .wc-block-components-button.wc-block-cart__submit-button:hover,
.zentero .wc-block-components-checkout-place-order-button:hover { background: var(--zt-accent-2); }
.zentero.woocommerce-cart .entry-content > .zt-freeship-slot,
.zentero .zt-freeship-slot { max-width: 100%; }

/* =========================================================================
   Pas korzyści i stopka
   ========================================================================= */
.zt-usp { background: #fff; border-top: 1px solid var(--zt-line); }
.zt-usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 28px; }
.zt-usp__item { display: flex; gap: 14px; align-items: center; }
.zt-usp__item .zt-icon { color: var(--zt-accent); }
.zt-usp__item strong { display: block; color: var(--zt-navy); }
.zt-usp__item span { font-size: 14px; color: var(--zt-muted); }
@media (max-width: 900px) { .zt-usp__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .zt-usp__grid { grid-template-columns: 1fr; gap: 16px; } }

.zt-footer { background: var(--zt-navy); color: #B5BAC3; font-size: 14px; }
.zt-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: 48px; }
.zt-footer .zt-logo { color: #fff; }
.zt-footer__about p { line-height: 1.7; margin: 16px 0; max-width: 360px; }
.zt-footer__title { color: #fff; font-size: 15px; margin: 6px 0 14px; font-weight: 700; }
.zt-footer__list, .zt-footer__contact { list-style: none; margin: 0; padding: 0; }
.zt-footer__list li { padding: 4px 0; }
.zt-footer__contact li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.zt-footer__contact .zt-icon { color: var(--zt-accent); }
.zt-footer a { color: #E1E4E9; text-decoration: none; }
.zt-footer a:hover { color: var(--zt-accent); }
.zt-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.zt-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.zt-footer__bottom p { margin: 0; font-size: 13px; }
.zt-paybadges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.zt-paybadges li { background: rgba(255, 255, 255, .08); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px; letter-spacing: .02em; }
@media (max-width: 900px) {
	.zt-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.zt-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
	.zt-footer__grid { grid-template-columns: 1fr; }
	.zt-footer__bottom-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.zentero *, .zentero *::before, .zentero *::after { transition: none !important; animation: none !important; }
}

/* Ukryte elementy (atrybut hidden ma pierwszeństwo przed display z reguł powyżej) */
.zt-drawer[hidden],
.zt-minicart[hidden],
.zt-overlay[hidden],
.zt-mega[hidden],
.zt-sticky-atc[hidden],
.zt-search__results[hidden],
.zt-mnav__sub[hidden] { display: none !important; }

.zentero .product-categories li { position: relative; padding-right: 36px; }
.zentero .product-categories .count { position: absolute; right: 0; top: 4px; }

.zentero a.zt-logo, .zentero a.zt-logo:hover { color: var(--zt-navy); }
.zentero .zt-footer a.zt-logo, .zentero .zt-footer a.zt-logo:hover { color: #fff; }

.zt-gpsr { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 10px 24px; margin: 0; }
.zt-gpsr dt { font-weight: 700; color: var(--zt-navy); }
.zt-gpsr dd { margin: 0; }
@media (max-width: 600px) { .zt-gpsr { grid-template-columns: 1fr; } .zt-gpsr dd { margin-bottom: 8px; } }

/* Baner zgód Complianz – kolory marki */
.cmplz-cookiebanner { --cmplz_banner_width: 560px; border-radius: 14px !important; box-shadow: var(--zt-shadow-lg) !important; font-family: var(--zt-font) !important; }
.cmplz-cookiebanner .cmplz-title { color: var(--zt-navy) !important; font-weight: 700 !important; }
.cmplz-cookiebanner .cmplz-btn { border-radius: 10px !important; font-weight: 600 !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--zt-accent) !important; border-color: var(--zt-accent) !important; color: #fff !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: var(--zt-accent-2) !important; border-color: var(--zt-accent-2) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-deny,
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { background: var(--zt-bg) !important; border-color: var(--zt-line) !important; color: var(--zt-navy) !important; }
.cmplz-cookiebanner .cmplz-links a, .cmplz-cookiebanner a { color: var(--zt-navy) !important; }
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input:checked + .cmplz-label::before { background-color: var(--zt-accent) !important; }
#cmplz-manage-consent .cmplz-manage-consent { background: var(--zt-navy) !important; color: #fff !important; }

/* FAQ (blok Szczegóły) */
.zentero .wp-block-details { background: #fff; border: 1px solid var(--zt-line); border-radius: 10px; padding: 0 18px; margin: 0 0 10px; }
.zentero .wp-block-details summary { cursor: pointer; font-weight: 600; color: var(--zt-navy); padding: 14px 0; list-style-position: outside; }
.zentero .wp-block-details[open] summary { color: var(--zt-accent-2); }
.zentero .wp-block-details > p { margin: 0 0 14px; }
