/*
Theme Name: Elitapracy
Theme URI: https://elitapracy.pl
Author: Elita Pracy / Kimi
Description: Nowoczesny motyw WooCommerce w stylu Zalando (clean fashion e-commerce) dla sklepu BHP elitapracy.pl.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: elitapracy-zalando
*/

/* ==========================================================================
   Inter — self-hosted variable font (latin + latin-ext), font-display: swap
   ========================================================================== */
@font-face {
	font-family: 'Inter EP';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('fonts/inter-var.woff2?v=2.6.3') format('woff2');
}

/* ==========================================================================
   Design tokens (styl Zalando: biel, czerń, szarości)
   ========================================================================== */
:root {
	--ez-black: #1a1a1a;
	--ez-white: #ffffff;
	--ez-gray-bg: #f6f6f6;
	--ez-gray-bg-2: #efefef;
	--ez-gray-text: #6a6a6a; /* WCAG AA: 5.1:1 na #f6f6f6, 5.4:1 na bieli (było #767676 = 4.27:1 na szarym) */
	--ez-border: #dddddd;
	--ez-sale: #d5001c;
	--ez-success: #1e7e34;
	--ez-font: 'Inter EP', Helvetica, Arial, sans-serif;
	--ez-radius: 4px;
	--ez-header-h: 128px;
	--ez-container: 1600px;

	/* Skala odstępów (8pt grid) — fundament do stopniowej migracji z surowych px */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;

	/* Skala zaokrągleń */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-pill: 999px;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--ez-font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--ez-black);
	background: var(--ez-white);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--ez-black);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	font-family: var(--ez-font);
	cursor: pointer;
}

.ez-container {
	max-width: var(--ez-container);
	margin: 0 auto;
	padding: 0 16px;
}

.ez-icon {
	width: 24px;
	height: 24px;
	display: inline-block;
	vertical-align: middle;
}

/* ==========================================================================
   Header
   ========================================================================== */
.ez-header {
	background: var(--ez-white);
	border-bottom: 1px solid var(--ez-border);
	position: sticky;
	top: 0;
	z-index: 900;
}

.ez-header__bar {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--ez-header-h);
	max-width: var(--ez-container);
	margin: 0 auto;
	padding: 0 16px;
}

.ez-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.ez-logo img {
	width: 180px;
	height: auto;
}

.ez-burger {
	display: none;
	background: none;
	border: none;
	padding: 8px;
}

.ez-search {
	flex: 1 1 auto;
	max-width: 640px;
	margin: 0 auto;
}

.ez-search form {
	display: flex;
	align-items: center;
	background: var(--ez-gray-bg);
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 0 8px 0 20px;
	height: 44px;
	transition: border-color .15s ease, background .15s ease;
}

.ez-search form:focus-within {
	background: var(--ez-white);
	border-color: var(--ez-black);
}

.ez-search input {
	flex: 1 1 auto;
	border: none;
	background: transparent;
	outline: none;
	font-size: 14px;
	font-family: var(--ez-font);
	color: var(--ez-black);
	min-width: 40px;
}

.ez-search input::placeholder {
	color: var(--ez-gray-text);
}

.ez-search button {
	background: none;
	border: none;
	padding: 8px;
	display: flex;
	align-items: center;
	color: var(--ez-black);
}

.ez-header__icons {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
}

.ez-header__icons a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 6px 10px;
	border-radius: var(--ez-radius);
	font-size: 12px;
	color: var(--ez-black);
	position: relative;
}

.ez-header__icons a:hover {
	background: var(--ez-gray-bg);
	text-decoration: none;
}

.ez-cart-count {
	position: absolute;
	top: 0;
	right: 4px;
	background: var(--ez-black);
	color: var(--ez-white);
	font-size: 12px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	line-height: 16px;
	text-align: center;
	border-radius: 999px;
	padding: 0 4px;
}

.ez-cart-count:empty,
.ez-cart-count[data-count="0"] {
	display: none;
}

/* ==========================================================================
   Nawigacja kategorii
   ========================================================================== */
.ez-nav {
	max-width: var(--ez-container);
	margin: 0 auto;
	padding: 0 16px;
}

.ez-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.ez-nav__item > a {
	display: block;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ez-black);
	border-bottom: 2px solid transparent;
}

.ez-nav__item > a:hover,
.ez-nav__item:hover > a,
.ez-nav__item.current > a {
	text-decoration: none;
	border-bottom-color: var(--ez-black);
}

/* Mega menu */
.ez-mega {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--ez-white);
	border-bottom: 1px solid var(--ez-border);
	box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
	padding: 24px 16px 32px;
	z-index: 800;
}

.ez-header .ez-nav {
	position: relative;
}

.ez-nav__item.is-open .ez-mega,
.ez-nav__item:focus-within .ez-mega {
	display: block;
}

.ez-mega__cols {
	display: flex;
	gap: 40px;
	max-width: var(--ez-container);
	margin: 0 auto;
	width: 100%;
	flex-wrap: wrap;
}

.ez-mega__col {
	min-width: 160px;
}

.ez-mega__col ul {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.ez-mega__col ul a {
	display: block;
	font-size: 13px;
	color: var(--ez-gray-text);
	padding: 3px 0;
}

.ez-mega__col ul a:hover {
	color: var(--ez-black);
}

.ez-mega__all {
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	margin-top: 8px;
	display: inline-block;
}

/* Drawer mobile */
.ez-drawer {
	position: fixed;
	inset: 0 auto 0 0;
	width: min(340px, 88vw);
	background: var(--ez-white);
	z-index: 1000;
	transform: translateX(-100%);
	transition: transform .25s ease;
	overflow-y: auto;
	padding: 16px;
}

.ez-drawer.open {
	transform: translateX(0);
	box-shadow: 0 0 48px rgba(0, 0, 0, .25);
}

.ez-drawer__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.ez-drawer__head strong {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.ez-drawer__close {
	background: none;
	border: none;
	padding: 8px;
}

.ez-drawer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ez-drawer__cat > a,
.ez-drawer__cat > button {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	padding: 12px 8px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	border: none;
	background: none;
	border-bottom: 1px solid var(--ez-border);
	color: var(--ez-black);
	text-align: left;
}

.ez-drawer__sub {
	display: none;
	padding-left: 12px;
}

.ez-drawer__cat.open .ez-drawer__sub {
	display: block;
}

.ez-drawer__sub a {
	display: block;
	padding: 8px;
	font-size: 14px;
	color: var(--ez-gray-text);
}

.ez-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .4);
	z-index: 950;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}

.ez-overlay.show {
	opacity: 1;
	pointer-events: auto;
}

/* ==========================================================================
   Przyciski
   ========================================================================== */
.ez-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--ez-black);
	color: var(--ez-white) !important;
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	padding: 12px 28px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
	transition: background .15s ease, color .15s ease;
}

.ez-btn:hover {
	background: var(--ez-white);
	color: var(--ez-black) !important;
	text-decoration: none;
}

.ez-btn--outline {
	background: var(--ez-white);
	color: var(--ez-black) !important;
}

.ez-btn--outline:hover {
	background: var(--ez-black);
	color: var(--ez-white) !important;
}

.ez-btn--block {
	width: 100%;
}

/* ==========================================================================
   Strona główna
   ========================================================================== */
.ez-hero {
	background: var(--ez-gray-bg);
	padding: 96px 16px;
	text-align: center;
	margin-bottom: 64px;
}

.ez-hero h1 {
	font-size: clamp(32px, 6vw, 56px);
	font-weight: 300;
	letter-spacing: -0.02em;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.ez-hero p {
	font-size: 17px;
	color: var(--ez-gray-text);
	max-width: 560px;
	margin: 0 auto 32px;
}

.ez-usp {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 64px;
}

.ez-usp__item {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--ez-gray-bg);
	border-radius: var(--ez-radius);
	padding: 20px 24px;
}

.ez-usp__item .ez-icon {
	width: 32px;
	height: 32px;
	flex: 0 0 auto;
}

.ez-usp__item strong {
	display: block;
	font-size: 14px;
}

.ez-usp__item span {
	font-size: 13px;
	color: var(--ez-gray-text);
}

.ez-usp__rating {
	text-decoration: none;
	color: inherit;
	transition: background .15s ease;
}
.ez-usp__rating:hover {
	background: #ececec;
}
.ez-usp__rating strong {
	font-size: 15px;
}

.ez-section {
	margin-bottom: 64px;
}

.ez-section__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 24px;
}

.ez-section__head h2 {
	font-size: 24px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 0;
}

.ez-section__head a {
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
}

/* Kafelki kategorii */
.ez-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.ez-cat-tile {
	position: relative;
	display: block;
	background: var(--ez-gray-bg);
	border-radius: var(--ez-radius);
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.ez-cat-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.ez-cat-tile:hover img {
	transform: scale(1.04);
}

.ez-cat-tile span {
	position: absolute;
	left: 12px;
	bottom: 12px;
	background: var(--ez-white);
	border-radius: var(--ez-radius);
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.ez-cat-tile:hover {
	text-decoration: none;
}

/* Marki */
.ez-brands {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ez-brands a {
	border: 1px solid var(--ez-border);
	border-radius: 999px;
	padding: 8px 20px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	transition: border-color .15s ease, background .15s ease;
}

.ez-brands a:hover {
	border-color: var(--ez-black);
	background: var(--ez-gray-bg);
	text-decoration: none;
}

/* Sekcja SEO */
.ez-seo {
	background: var(--ez-gray-bg);
	border-radius: var(--ez-radius);
	padding: 48px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	margin-bottom: 64px;
}

.ez-seo h2 {
	font-size: 24px;
	font-weight: 300;
	text-transform: uppercase;
	margin: 0 0 16px;
}

.ez-seo p {
	color: var(--ez-gray-text);
	margin: 0;
}

.ez-seo img {
	border-radius: var(--ez-radius);
}

/* ==========================================================================
   Karta produktu (Zalando: zdjęcie dominuje, zero ramek)
   ========================================================================== */
.ez-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ez-card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.ez-card__media {
	position: relative;
	display: block;
	background: var(--ez-white);
	border-radius: var(--ez-radius);
	overflow: hidden;
	aspect-ratio: 3 / 4;
}

.ez-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
	transition: transform .3s ease;
}

.ez-card:hover .ez-card__media img {
	transform: scale(1.04);
}

.ez-card__hover {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease;
	z-index: 3;
}

.ez-card:hover .ez-card__hover,
.ez-card__hover:focus-within {
	opacity: 1;
	transform: translateY(0);
}

.ez-card__hover .button,
.ez-card__hover a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: var(--ez-black) !important;
	color: var(--ez-white) !important;
	border: none;
	border-radius: var(--ez-radius);
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.ez-card__hover .button:hover,
.ez-card__hover a:hover {
	background: #000 !important;
	text-decoration: none;
}

.ez-card__hover .button.loading {
	opacity: .7;
}

.ez-card__hover .added_to_cart {
	display: none;
}

.ez-card__badges {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.ez-card__badge {
	background: var(--ez-white);
	border-radius: var(--ez-radius);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 4px 10px;
	white-space: nowrap;
}

.ez-card__badge--sale {
	background: var(--ez-sale);
	color: var(--ez-white);
}

.ez-card__badge--gratis {
	background: var(--ez-success);
	color: var(--ez-white);
}

/* Tag „Gratis" przy pozycji w koszyku/kasie */
.ez-gift-tag {
	display: inline-block;
	background: var(--ez-success);
	color: var(--ez-white);
	border-radius: var(--ez-radius);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 2px 8px;
	vertical-align: middle;
}

/* Info o gratisie na stronie produktu (pod ceną) */
.ez-gift {
	margin: var(--space-3) 0 0;
	padding: var(--space-3) var(--space-4);
	border: 1px solid var(--ez-success);
	border-radius: var(--radius-md);
	font-size: 13px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ez-gift__thumb {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm, 4px);
	overflow: hidden;
}

.ez-gift__thumb .ez-gift__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ez-gift__body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ez-gift__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ez-success);
}

.ez-gift__name {
	font-weight: 600;
	color: var(--ez-black);
	text-decoration: none;
}

.ez-gift__name:hover {
	text-decoration: underline;
}

.ez-gift__price {
	margin-left: auto;
}

.ez-gift__price del {
	color: var(--ez-gray-text);
	font-weight: 400;
}

.ez-gift__price strong {
	color: var(--ez-success);
}

.ez-card__brand {
	display: block;
	width: fit-content;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ez-gray-text);
	text-decoration: none;
	margin-top: 12px;
}

a.ez-card__brand:hover {
	color: var(--ez-black);
	text-decoration: underline;
}

.ez-card__name {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	margin: 2px 0 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ez-card__name a {
	color: var(--ez-black);
}

.ez-card__name a:hover {
	text-decoration: none;
	color: var(--ez-gray-text);
}

.ez-card__price {
	font-size: 18px;
	font-weight: 700;
}

.ez-card__price del {
	font-weight: 400;
	color: var(--ez-gray-text);
	font-size: 13px;
	margin-right: 6px;
}

.ez-card__price ins {
	text-decoration: none;
	color: var(--ez-sale);
}

.ez-product__sku {
	font-size: 13px;
	color: var(--ez-gray-text);
	margin-top: 2px;
	letter-spacing: .02em;
}

/* ==========================================================================
   Archiwum / kategoria: sidebar + grid
   ========================================================================== */
.ez-shop-head {
	padding: 32px 0 8px;
}

.ez-shop-head h1 {
	font-size: 32px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin: 0 0 4px;
}

.ez-shop-head .term-description {
	color: var(--ez-gray-text);
	font-size: 14px;
}

/* Dodatkowy opis kategorii na dole strony (po produktach) */
.ez-cat-desc-bottom {
	margin: 40px 0 24px;
	padding-top: 24px;
	border-top: 1px solid var(--ez-border);
	color: var(--ez-gray-text);
	font-size: 14px;
	line-height: 1.6;
}

.ez-cat-desc-bottom h2,
.ez-cat-desc-bottom h3,
.ez-cat-desc-bottom h4 {
	color: var(--ez-black);
}

.ez-shop-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--ez-border);
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.ez-shop-toolbar .woocommerce-result-count {
	font-size: 13px;
	color: var(--ez-gray-text);
	margin: 0;
}

.ez-shop-toolbar .woocommerce-ordering {
	margin: 0;
}

.ez-shop-toolbar select {
	font-family: var(--ez-font);
	font-size: 13px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	padding: 8px 12px;
	background: var(--ez-white);
	color: var(--ez-black);
}

.ez-shop-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 40px;
	align-items: start;
}

.ez-filters {
	position: sticky;
	top: calc(var(--ez-header-h) + 16px);
}

.ez-filters details {
	border-bottom: 1px solid var(--ez-border);
}

.ez-filters summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 16px 0;
}

.ez-filters summary::-webkit-details-marker {
	display: none;
}

.ez-filters summary::after {
	content: "+";
	font-size: 18px;
	font-weight: 400;
	color: var(--ez-gray-text);
}

.ez-filters details[open] summary::after {
	content: "−";
}

.ez-filters__list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	max-height: 260px;
	overflow-y: auto;
}

.ez-filters__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--ez-black);
	padding: 4px 0;
}

.ez-filters__list a:hover {
	text-decoration: none;
	color: var(--ez-gray-text);
}

.ez-filters__list a::before {
	content: "";
	width: 18px;
	height: 18px;
	border: 1px solid var(--ez-border);
	border-radius: 3px;
	flex: 0 0 auto;
	background: var(--ez-white);
	transition: background .12s ease, border-color .12s ease;
}

.ez-filters__list a.active {
	font-weight: 700;
}

.ez-filters__list a.active::before {
	background: var(--ez-black);
	border-color: var(--ez-black);
	box-shadow: inset 0 0 0 3px var(--ez-white);
}

/* Drzewo kategorii w sidebarze archiwum — rozwinięta gałąź do bieżącej kategorii */
.ez-catnav {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.ez-catnav ul {
	list-style: none;
	margin: 2px 0 6px;
	padding: 0 0 0 14px;
	border-left: 1px solid var(--ez-border);
}

.ez-catnav li {
	margin: 0 0 2px;
}

.ez-catnav a {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.35;
	color: var(--ez-black);
	padding: 5px 0;
	border-radius: 4px;
	transition: color .12s ease;
}

.ez-catnav a:hover {
	color: var(--ez-gray-text);
	text-decoration: none;
}

.ez-catnav li.is-parent > a {
	font-weight: 700;
}

.ez-catnav li.is-current > a {
	font-weight: 700;
	color: var(--ez-black);
}

.ez-catnav li.is-current > a::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--ez-black);
	border-radius: 50%;
	flex: 0 0 auto;
}

.ez-filters__clear {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	margin: 8px 0 0;
}

.ez-filters-toggle {
	display: none;
	width: 100%;
	margin-bottom: 16px;
}

/* Grid Woo (archiwum, shortcode, related) — jak .ez-grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Strony kategorii: 3 produkty w wierszu */
.woocommerce.tax-product_cat ul.products,
.woocommerce-page.tax-product_cat ul.products {
	grid-template-columns: repeat(3, 1fr);
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

@media (max-width: 1024px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 820px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		gap: 16px 8px;
	}
}

.ez-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.ez-active-filters a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--ez-gray-bg);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
}

.ez-active-filters a:hover {
	text-decoration: none;
	background: var(--ez-gray-bg-2);
}

/* Paginacja */
.woocommerce-pagination ul.page-numbers,
.ez-pagination ul.page-numbers {
	display: flex !important;
	gap: 4px;
	list-style: none;
	border: none !important;
	justify-content: center;
	margin: 48px 0 0 !important;
	padding: 0;
}

.woocommerce-pagination ul.page-numbers li,
.ez-pagination ul.page-numbers li {
	border: none !important;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--ez-border) !important;
	border-radius: var(--ez-radius);
	font-size: 14px;
	color: var(--ez-black);
	padding: 0 8px;
}

.page-numbers.current {
	background: var(--ez-black);
	color: var(--ez-white);
	border-color: var(--ez-black) !important;
}

.page-numbers:hover {
	text-decoration: none;
	border-color: var(--ez-black) !important;
}

/* ==========================================================================
   Strona produktu
   ========================================================================== */
.ez-product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	padding: 24px 0 64px;
	align-items: start;
}

/* Reset domyślnych float/width 48% z woocommerce-layout.css — grid 50/50 */
.single-product .ez-product .ez-product__gallery,
.single-product .ez-product .ez-product__summary,
.single-product div.product .ez-product__gallery.images,
.single-product div.product .ez-product__summary.summary {
	float: none;
	width: 100%;
	max-width: 100%;
	margin: 0;
	clear: none;
}

.single-product .ez-product .woocommerce-product-gallery,
.single-product .ez-product .woocommerce-product-gallery__wrapper {
	width: 100%;
	max-width: 100%;
	float: none;
	margin: 0;
}

/* Sama figura galerii ma klasę .images — Woo daje jej width:48% + float (wyższa
   specyficzność: .single-product div.product .images), trzeba pobić !important */
.single-product div.product .ez-product__gallery .woocommerce-product-gallery.images,
.single-product div.product .ez-product__gallery .woocommerce-product-gallery__wrapper,
.single-product div.product .ez-product__gallery .flex-viewport {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

/* Przypięta galeria — zdjęcie zostaje na ekranie przy przewijaniu opisu.
   Szerokość kolumny galerii liczona od wysokości ekranu (3/4 × dostępna wysokość),
   żeby całe zdjęcie 3:4 mieściło się w viewport bez przewijania. */
@media (min-width: 1025px) {
	.ez-product {
		grid-template-columns: minmax(0, calc((100vh - 180px) * 0.75)) minmax(0, 1fr);
	}
	.ez-product__gallery {
		position: sticky;
		top: 24px;
		align-self: start;
	}
}

/* ==========================================================================
   Galeria produktu (styl Zalando): pionowe miniatury + duże zdjęcie
   ========================================================================== */
.ez-gallery {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.ez-gallery__thumbs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 64px;
	flex: 0 0 auto;
}

.ez-gallery__thumb {
	padding: 0;
	width: 100%;
	aspect-ratio: 3 / 4;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	overflow: hidden;
	cursor: pointer;
	opacity: .7;
	transition: opacity .15s ease, border-color .15s ease;
}

.ez-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ez-gallery__thumb:hover,
.ez-gallery__thumb.is-active {
	opacity: 1;
	border-color: var(--ez-black);
}

.ez-gallery__main {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	aspect-ratio: 3 / 4;
	background: var(--ez-white);
	border-radius: var(--ez-radius);
	overflow: hidden;
}

.ez-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	cursor: zoom-in;
}

.ez-gallery__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ez-black);
	background: rgba(255, 255, 255, .9);
	border: 1px solid var(--ez-border);
	border-radius: 50%;
	cursor: pointer;
	transition: background .15s ease;
}

.ez-gallery__zoom:hover {
	background: var(--ez-white);
}

.ez-gallery--empty img {
	width: 100%;
	border-radius: var(--ez-radius);
}

@media (max-width: 1024px) {
	.ez-gallery {
		flex-direction: column-reverse;
	}
	.ez-gallery__thumbs {
		flex-direction: row;
		width: 100%;
		overflow-x: auto;
		padding-bottom: 4px;
	}
	.ez-gallery__thumb {
		width: 56px;
		flex: 0 0 auto;
	}
}

/* ==========================================================================
   Lightbox (pełny ekran + zoom)
   ========================================================================== */
.ez-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .92);
}

.ez-lightbox[hidden] {
	display: none;
}

.ez-lightbox__stage {
	max-width: 92vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ez-lightbox__img {
	max-width: 92vw;
	max-height: 90vh;
	object-fit: contain;
	cursor: zoom-in;
	transition: transform .2s ease;
}

.ez-lightbox__img.is-zoomed {
	transform: scale(2.4);
	cursor: zoom-out;
	transition: none;
}

.ez-lightbox__close {
	position: absolute;
	top: 16px;
	right: 24px;
	width: 44px;
	height: 44px;
	font-size: 34px;
	line-height: 1;
	color: #fff;
	background: none;
	border: 0;
	cursor: pointer;
}

.ez-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 48px;
	line-height: 1;
	color: #fff;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px 18px;
	opacity: .8;
	transition: opacity .15s ease;
}

.ez-lightbox__nav:hover {
	opacity: 1;
}

.ez-lightbox__nav--prev {
	left: 8px;
}

.ez-lightbox__nav--next {
	right: 8px;
}

.ez-lightbox__counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
	letter-spacing: .05em;
}

.ez-product__brand {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ez-gray-text);
	display: block;
	margin-bottom: 4px;
}

.ez-product__title,
.single-product .product_title {
	font-size: 28px;
	font-weight: 300;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
	line-height: 1.25;
}

.ez-product__price .price,
.single-product div.product p.price,
.single-product div.product span.price {
	font-size: 24px;
	font-weight: 700;
	color: var(--ez-black);
}

.ez-product__price .price del,
.single-product div.product p.price del {
	font-size: 16px;
	font-weight: 400;
	color: var(--ez-gray-text);
	margin-right: 8px;
}

.ez-product__price .price ins,
.single-product div.product p.price ins {
	text-decoration: none;
	color: var(--ez-sale);
}

.ez-product__netto {
	font-size: 12px;
	color: var(--ez-gray-text);
	margin-top: 2px;
}

.ez-product__meta-line {
	font-size: 13px;
	color: var(--ez-gray-text);
	margin: 8px 0;
}

.ez-product__meta-line .in-stock,
.woocommerce div.product .stock.available {
	color: var(--ez-success);
	font-weight: 600;
}

.woocommerce div.product .stock.out-of-stock {
	color: var(--ez-sale);
	font-weight: 600;
}

/* Rozwijana lista rozmiarów (sizebox) */
.ez-sizebox {
	position: relative;
	margin: 24px 0 10px;
}

.ez-sizebox__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 56px;
	padding: 0 18px;
	background: var(--ez-white);
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	font-family: var(--ez-font);
	font-size: 16px;
	font-weight: 600;
	color: var(--ez-black);
	cursor: pointer;
	transition: border-color .12s ease;
}

.ez-sizebox__toggle-label {
	display: flex;
	gap: 8px;
	align-items: baseline;
}

.ez-sizebox__placeholder {
	color: var(--ez-gray-text);
	font-weight: 400;
}

.ez-sizebox.has-value .ez-sizebox__placeholder {
	display: none;
}

.ez-sizebox__chosen {
	font-weight: 700;
}

.ez-sizebox__chevron {
	width: 20px;
	height: 20px;
	transition: transform .15s ease;
}

.ez-sizebox.open .ez-sizebox__chevron {
	transform: rotate(180deg);
}

.ez-sizebox__hint {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--ez-sale);
}

.ez-sizebox--attention .ez-sizebox__toggle {
	border-color: var(--ez-sale);
	animation: ez-shake .3s ease;
}

@keyframes ez-shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}

.ez-sizebox__list {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	background: var(--ez-white);
	overflow: hidden;
	max-height: 320px;
	overflow-y: auto;
}

.ez-sizebox__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 18px;
	background: var(--ez-white);
	border: 0;
	border-bottom: 1px solid var(--ez-gray-bg);
	font-family: var(--ez-font);
	font-size: 15px;
	font-weight: 600;
	color: var(--ez-black);
	cursor: pointer;
	text-align: left;
	transition: background .1s ease;
}

.ez-sizebox__list li:last-child .ez-sizebox__option {
	border-bottom: 0;
}

.ez-sizebox__option:hover {
	background: var(--ez-gray-bg);
}

.ez-sizebox__option.selected {
	background: #000;
	color: #fff;
}

.ez-sizebox__option.selected .ez-sizebox__ship {
	color: #b9f6ca;
}

.ez-sizebox__option.disabled {
	color: var(--ez-border);
	cursor: not-allowed;
}

.ez-sizebox__option.disabled:hover {
	background: var(--ez-white);
}

.ez-sizebox__size {
	font-size: 15px;
	font-weight: 600;
}

.ez-sizebox__ship {
	font-size: 13px;
	font-weight: 400;
	color: var(--ez-gray-text);
}

.ez-sizebox__ship--fast {
	color: #1e7e34;
	font-weight: 600;
}

.ez-sizebox__option.disabled .ez-sizebox__ship {
	color: var(--ez-border);
}

/* Ukryty natywny select wariantów (sterowany pigułkami) */
.ez-variation-select-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
}

/* Reset variations table */
.single-product div.product form.cart .variations {
	width: 100%;
}

.single-product div.product form.cart .variations td,
.single-product div.product form.cart .variations th {
	display: block;
	padding: 0;
	border: none;
	text-align: left;
}

.single-product div.product form.cart .variations .reset_variations {
	font-size: 13px;
	color: var(--ez-gray-text);
	text-decoration: underline;
	display: inline-block;
	margin-top: 10px;
}

.woocommerce-variation-price {
	margin: 16px 0 0;
}

.woocommerce-variation-availability {
	margin: 8px 0 0;
}

/* Qty + ATC */
.single-product div.product form.cart {
	margin-top: 24px;
}

.single-product div.product form.cart .quantity {
	margin-right: 8px;
}

.single-product div.product form.cart .quantity input {
	width: 72px;
	height: 56px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	font-size: 16px;
	font-family: var(--ez-font);
	text-align: center;
	padding: 0 8px;
}

.single_add_to_cart_button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: #000;
	color: var(--ez-white);
	border: 1px solid #000;
	border-radius: var(--ez-radius);
	font-family: var(--ez-font);
	font-size: 17px;
	font-weight: 600;
	padding: 16px 32px;
	min-height: 56px;
	transition: background .15s ease, color .15s ease;
}

.single_add_to_cart_button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--ez-white);
	color: var(--ez-black);
}

.single_add_to_cart_button.button.alt.disabled,
.single_add_to_cart_button.button.alt:disabled {
	background: var(--ez-gray-bg);
	border-color: var(--ez-gray-bg);
	color: var(--ez-gray-text);
	cursor: not-allowed;
}

/* Rząd akcji: stepper ilości | Dodaj do koszyka | serduszko */
.single-product div.product .woocommerce-variation-add-to-cart,
.single-product div.product form.cart:not(.variations_form) {
	display: flex;
	align-items: stretch;
	gap: 8px;
	flex-wrap: nowrap;
}

.single-product div.product form.cart .single_add_to_cart_button {
	flex: 1 1 auto;
	width: auto;
	margin-top: 0;
}

.single-product div.product form.cart .quantity {
	display: inline-flex;
	align-items: stretch;
	margin-right: 0;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	overflow: hidden;
}

.single-product div.product form.cart .quantity input {
	width: 48px;
	height: auto;
	min-height: 56px;
	border: 0;
	border-radius: 0;
	font-size: 16px;
	font-family: var(--ez-font);
	text-align: center;
	padding: 0 4px;
	-moz-appearance: textfield;
	appearance: textfield;
}

.single-product div.product form.cart .quantity input::-webkit-outer-spin-button,
.single-product div.product form.cart .quantity input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ez-qty-btn {
	width: 40px;
	border: 0;
	background: var(--ez-gray-bg);
	font-size: 20px;
	font-weight: 600;
	color: var(--ez-black);
	cursor: pointer;
	transition: background .12s ease;
}

.ez-qty-btn:hover {
	background: var(--ez-border);
}

/* Serduszko ulubionych */
.ez-fav-btn {
	flex: 0 0 83px;
	width: 83px;
	min-height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ez-white);
	border: 1px solid #000;
	border-radius: var(--ez-radius);
	color: #000;
	cursor: pointer;
	transition: background .12s ease;
}

.ez-fav-btn svg {
	width: 24px;
	height: 24px;
}

.ez-fav-btn:hover {
	background: var(--ez-gray-bg);
}

.ez-fav-btn.active {
	border-color: #d00;
}

.ez-fav-btn.active svg {
	fill: #d00;
	stroke: #d00;
}

/* Serduszko na karcie produktu (strona /ulubione/) — okrągłe, nad zdjęciem */
.ez-card {
	position: relative;
}

.ez-card .ez-card__fav {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	flex: 0 0 40px;
	width: 40px;
	min-height: 0;
	height: 40px;
	border-radius: 50%;
	border-color: var(--ez-border);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.ez-card .ez-card__fav svg {
	width: 20px;
	height: 20px;
}

.ez-card .ez-card__fav.active {
	border-color: #d00;
}

/* Strona /ulubione/ — pusty stan */
.ez-wishlist-empty {
	text-align: center;
	padding: 48px 16px;
}

.ez-wishlist-empty p {
	margin: 0 0 8px;
	font-size: 16px;
}

.ez-wishlist-empty .button {
	display: inline-block;
	margin-top: 16px;
	padding: 14px 28px;
	background: #000;
	color: #fff;
	border-radius: var(--ez-radius);
	text-decoration: none;
}

/* ATC ma być zawsze klikalny i zawsze CZARNY — nadpisujemy wyszarzenie Woo */
.single-product div.product .single_add_to_cart_button,
.single-product div.product .single_add_to_cart_button.disabled,
.single-product div.product .single_add_to_cart_button:disabled,
.single-product div.product form.cart .single_add_to_cart_button,
.single-product div.product form.variations_form.cart .single_add_to_cart_button.disabled,
.single-product div.product form.variations_form.cart .single_add_to_cart_button:disabled {
	background: #000 !important;
	border-color: #000 !important;
	color: #fff !important;
	cursor: pointer;
	opacity: 1 !important;
}

.single-product div.product .single_add_to_cart_button:hover,
.single-product div.product .single_add_to_cart_button.disabled:hover,
.single-product div.product .single_add_to_cart_button:disabled:hover,
.single-product div.product form.cart .single_add_to_cart_button:hover,
.single-product div.product form.variations_form.cart .single_add_to_cart_button.disabled:hover,
.single-product div.product form.variations_form.cart .single_add_to_cart_button:disabled:hover {
	background: #ffb651 !important;
	border-color: #ffb651 !important;
	color: #000 !important;
}

.single_add_to_cart_button.button.alt.disabled:hover,
.single_add_to_cart_button.button.alt:disabled:hover {
	background: var(--ez-gray-bg);
	color: var(--ez-gray-text);
}

form.cart .ez-atc-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
	margin-top: 8px;
}

form.cart .ez-atc-row .single_add_to_cart_button {
	flex: 1 1 100%;
	width: 100%;
}

/* Kup teraz — czarny, jak główne CTA */
.ez-buy-now.button.alt,
.single-product div.product form.cart .ez-buy-now {
	display: block;
	width: 100%;
	margin-top: 8px;
	background: #000;
	color: var(--ez-white);
	border: 1px solid #000;
	border-radius: var(--ez-radius);
	font-family: var(--ez-font);
	font-size: 17px;
	font-weight: 600;
	padding: 16px 32px;
	min-height: 56px;
	transition: background .15s ease, color .15s ease;
	cursor: pointer;
}

.ez-buy-now.button.alt:hover {
	background: var(--ez-white);
	color: #000;
	border-color: #000;
}

.ez-buy-now.button.alt.disabled,
.ez-buy-now.button.alt:disabled {
	background: var(--ez-gray-bg);
	border-color: var(--ez-gray-bg);
	color: var(--ez-gray-text);
	cursor: not-allowed;
}

.ez-buy-now.button.alt.disabled:hover,
.ez-buy-now.button.alt:disabled:hover {
	background: var(--ez-gray-bg);
	color: var(--ez-gray-text);
}

/* Accordion */
.ez-accordion {
	margin-top: 32px;
	border-top: 1px solid var(--ez-border);
}

.ez-accordion details {
	border-bottom: 1px solid var(--ez-border);
}

.ez-accordion summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 18px 0;
}

.ez-accordion summary::-webkit-details-marker {
	display: none;
}

.ez-accordion summary::after {
	content: "+";
	font-size: 18px;
	font-weight: 400;
	color: var(--ez-gray-text);
}

.ez-accordion details[open] summary::after {
	content: "−";
}

.ez-accordion__body {
	padding: 0 0 24px;
	font-size: 14px;
	color: #444;
}

.ez-accordion__body p {
	margin: 0 0 12px;
}

/* Ukryj domyślne taby Woo (renderujemy własny accordion) */
.woocommerce div.product .woocommerce-tabs {
	display: none;
}

/* Sticky ATC mobile */
.ez-sticky-atc {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--ez-white);
	border-top: 1px solid var(--ez-border);
	padding: 10px 16px;
	z-index: 850;
	align-items: center;
	gap: 12px;
}

.ez-sticky-atc__info {
	flex: 1 1 auto;
	min-width: 0;
}

.ez-sticky-atc__name {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ez-sticky-atc__price {
	font-size: 14px;
	font-weight: 700;
}

.ez-sticky-atc .ez-btn {
	padding: 12px 20px;
	white-space: nowrap;
}

/* Related */
.related.products,
.upsells.products {
	margin-top: 64px;
}

.related.products > h2,
.upsells.products > h2 {
	font-size: 24px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 0 0 24px;
}

/* ==========================================================================
   Komunikaty Woo, breadcrumbs, formularze
   ========================================================================== */
.woocommerce-breadcrumb {
	font-size: 13px;
	color: var(--ez-gray-text);
	padding: 16px 0 0;
	margin: 0;
}

.woocommerce-breadcrumb a {
	color: var(--ez-gray-text);
	text-decoration: underline;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: none;
	background: var(--ez-gray-bg);
	border-radius: var(--ez-radius);
	padding: 16px 20px !important;
	font-size: 14px;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
	background: var(--ez-black);
	color: var(--ez-white);
	border-radius: var(--ez-radius);
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
}

/* Toasty — komunikaty Woo jako popup (prawy górny róg, auto-zanik) */
#ezToasts {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 1200;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: min(380px, calc(100vw - 32px));
}

.ez-toast {
	position: relative;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-left: 4px solid var(--ez-black);
	border-radius: var(--radius-md);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
	padding: 14px 40px 14px 16px;
	font-size: 14px;
	opacity: 0;
	transform: translateX(24px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ez-toast.show {
	opacity: 1;
	transform: translateX(0);
}

.ez-toast--success {
	border-left-color: var(--ez-success);
}

.ez-toast--error {
	border-left-color: var(--ez-sale);
}

.ez-toast a.button,
.ez-toast .button {
	display: inline-block;
	margin-top: 8px;
	background: var(--ez-black);
	color: var(--ez-white);
	border-radius: var(--ez-radius);
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
}

.ez-toast__close {
	position: absolute;
	top: 6px;
	right: 10px;
	background: none;
	border: 0;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: var(--ez-gray-text);
}

.ez-toast__close:hover {
	color: var(--ez-black);
}

.ez-toast ul {
	margin: 0;
	padding-left: 18px;
}

/* Koszyk / checkout — spójne przyciski */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--ez-black);
	color: var(--ez-white);
	border-radius: var(--ez-radius);
	font-family: var(--ez-font);
	font-weight: 600;
	font-size: 14px;
	padding: 12px 24px;
	transition: background .15s ease, color .15s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: #000;
	color: var(--ez-white);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--ez-white);
	color: var(--ez-black);
}

.woocommerce table.shop_table {
	border-radius: var(--ez-radius);
	border-color: var(--ez-border);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	padding: 10px 12px;
	font-family: var(--ez-font);
	font-size: 14px;
}

/* ==========================================================================
   Stopka (czarna, jak Zalando)
   ========================================================================== */
.ez-footer {
	background: var(--ez-black);
	color: var(--ez-white);
	margin-top: 80px;
	padding: 56px 0 32px;
}

.ez-footer a {
	color: var(--ez-white);
}

.ez-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
}

.ez-footer__logo img {
	width: 150px;
	margin-bottom: 20px;
}

.ez-footer__contact p {
	font-size: 13px;
	line-height: 1.7;
	color: #cfcfcf;
	margin: 0 0 12px;
}

.ez-footer__contact strong {
	color: var(--ez-white);
}

.ez-footer h4 {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin: 0 0 16px;
	color: var(--ez-white);
}

.ez-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ez-footer ul li {
	margin: 0 0 8px;
}

.ez-footer ul li a {
	font-size: 13px;
	color: #cfcfcf;
}

.ez-footer ul li a:hover {
	color: var(--ez-white);
}

.ez-footer__social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.ez-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #444;
	border-radius: 50%;
	transition: border-color .15s ease, background .15s ease;
}

.ez-footer__social a:hover {
	border-color: var(--ez-white);
	background: rgba(255, 255, 255, .08);
}

.ez-footer__social .ez-icon {
	width: 16px;
	height: 16px;
	fill: var(--ez-white);
}

.ez-footer__bottom {
	border-top: 1px solid #333;
	margin-top: 40px;
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.ez-footer__bottom p {
	font-size: 12px;
	color: #999;
	margin: 0;
}

.ez-pay-badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.ez-pay-badges span {
	border: 1px solid #444;
	border-radius: var(--ez-radius);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #cfcfcf;
	padding: 4px 10px;
}

/* ==========================================================================
   Strony standardowe
   ========================================================================== */
.ez-page {
	padding: 48px 16px;
	max-width: 860px;
}

/* Koszyk i kasa — pełna szerokość kontenera (domyślnie .ez-page = 860px) */
.ez-page--wide {
	max-width: var(--ez-container);
}

.ez-page h1 {
	font-size: 32px;
	font-weight: 300;
	text-transform: uppercase;
	margin: 0 0 24px;
}

/* ==========================================================================
   RWD
   ========================================================================== */
@media (max-width: 1024px) {
	.ez-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.ez-cats {
		grid-template-columns: repeat(3, 1fr);
	}

	.ez-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 820px) {
	.ez-header__bar {
		gap: 8px;
		height: auto;
		padding-top: 10px;
		padding-bottom: 10px;
		flex-wrap: wrap;
	}

	.ez-burger {
		display: block;
		order: 0;
	}

	.ez-logo {
		order: 1;
	}

	.ez-logo img {
		width: 110px;
	}

	.ez-header__icons {
		order: 2;
		margin-left: auto;
	}

	.ez-header__icons a span.ez-icon-label {
		display: none;
	}

	.ez-search {
		order: 3;
		flex: 1 1 100%;
		max-width: none;
	}

	.ez-nav {
		display: none;
	}

	.ez-shop-layout {
		grid-template-columns: 1fr;
	}

	.ez-filters {
		display: none;
		position: static;
	}

	.ez-filters.open {
		display: block;
		background: var(--ez-gray-bg);
		border-radius: var(--ez-radius);
		padding: 0 16px 16px;
	}

	.ez-filters-toggle {
		display: inline-flex;
	}

	.ez-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ez-cats {
		grid-template-columns: repeat(2, 1fr);
	}

	.ez-usp {
		grid-template-columns: 1fr;
	}

	.ez-product {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ez-seo {
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.ez-hero {
		padding: 56px 16px;
	}

	.ez-sticky-atc {
		display: flex;
	}

	body.single-product {
		padding-bottom: 72px;
	}
}

@media (max-width: 480px) {
	.ez-grid {
		gap: 16px 8px;
	}

	.ez-card__name {
		font-size: 13px;
	}

	.ez-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* Ukrywamy natywne komunikaty stanu magazynowego Woo ("W magazynie", "Na stanie",
   "Brak w magazynie") — własny, lepszy wskaźnik dostępności w przygotowaniu */
.single-product .stock,
.single-product p.stock,
.woocommerce-variation-availability,
.single_variation .stock,
.product_meta .stock {
	display: none !important;
}

/* Przełącznik kolorów (produkty-rodzeństwo) */
.ez-colors {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 4px;
	font-size: 14px;
}

.ez-colors__label {
	color: var(--ez-gray-text);
}

.ez-colors__label strong {
	color: var(--ez-black);
}

.ez-colors__dots {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
}

.ez-colors__item {
	width: 84px;
	height: 102px;
	border-radius: var(--ez-radius);
	overflow: hidden;
	border: 2px solid var(--ez-border);
	cursor: pointer;
	background: var(--ez-gray-bg);
	transition: border-color .12s ease, transform .12s ease;
	display: inline-block;
}

.ez-colors__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ez-colors__item:hover {
	border-color: var(--ez-black);
	transform: translateY(-2px);
}

.ez-colors__item.active {
	border-color: #000;
	cursor: default;
}

/* Blok cen: regularna / sprzedaży / Omnibus */
.ez-priceblock {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 12px 0 4px;
}

.ez-priceblock__regular {
	font-size: 14px;
	color: var(--ez-gray-text);
}

.ez-priceblock__regular del {
	margin-left: 6px;
}

.ez-priceblock__sale {
	font-size: 26px;
	font-weight: 700;
	color: var(--ez-black);
	line-height: 1.2;
}

.ez-priceblock__sale .amount {
	font-size: inherit;
}

.ez-priceblock__omnibus {
	font-size: 14px;
	color: var(--ez-gray-text);
}

/* Cena 24h w liście rozmiarów */
.ez-sizebox__price {
	font-size: 14px;
	font-weight: 600;
	color: var(--ez-black);
	margin-left: auto;
	padding-left: 12px;
}

.ez-sizebox__option .ez-sizebox__ship {
	margin-left: 12px;
}

.ez-sizebox__option.selected .ez-sizebox__price {
	color: #fff;
}

.ez-priceblock__discount {
	margin-left: 8px;
	font-weight: 700;
	color: #d00;
}

.ez-priceblock__vat {
	font-size: 13px;
	font-weight: 400;
	color: var(--ez-gray-text);
	margin-left: 8px;
}

.ez-priceblock__sale--lower,
.ez-priceblock__sale--lower .amount {
	color: #d00;
}

/* Cena netto w „w tym VAT (… netto)" — kolor jak reszta napisu, nie czerwony jak cena promo. */
.ez-priceblock__vat .amount,
.ez-priceblock__vat .woocommerce-Price-amount {
	color: var(--ez-gray-text);
	font-weight: 400;
}

.ez-sizebox__price--fast {
	color: #1e7e34;
	font-weight: 700;
}

/* Ukrywamy powieloną cenę wariantu nad przyciskiem (cena jest w bloku cenowym u góry) */
.single-product .single_variation_wrap .single_variation {
	display: none !important;
}

/* Blok Dostawa pod cenami */
.ez-delivery {
	display: flex;
	gap: 8px;
	align-items: baseline;
	margin: 20px 0 4px;
	padding-top: 16px;
	border-top: 1px solid var(--ez-gray-bg);
	font-size: 14px;
}

.ez-delivery__label {
	font-weight: 700;
	color: var(--ez-black);
}

.ez-delivery__value {
	color: var(--ez-gray-text);
	font-weight: 600;
}

/* Zegar promocji */
.ez-countdown {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	padding: 6px 12px;
	background: #fff2f2;
	border: 1px solid #f5c6c6;
	border-radius: var(--ez-radius);
	font-size: 13px;
	font-weight: 600;
	color: #d00;
}

.ez-countdown svg {
	width: 16px;
	height: 16px;
}

.ez-countdown--expired {
	background: var(--ez-gray-bg);
	border-color: var(--ez-border);
	color: var(--ez-gray-text);
}


/* Hover ramki wyboru rozmiaru */
.ez-sizebox__toggle:hover {
	background: var(--ez-gray-bg);
}

.ez-sizebox.open .ez-sizebox__toggle {
	background: var(--ez-gray-bg);
}

/* Pasek postępu promocji */
.ez-countdown {
	flex-wrap: wrap;
}

.ez-countdown__bar {
	flex: 0 0 100%;
	height: 4px;
	background: #f5c6c6;
	border-radius: 2px;
	overflow: hidden;
}

.ez-countdown__bar-fill {
	display: block;
	height: 100%;
	background: #d00;
	border-radius: 2px;
	transition: width 1s linear;
}

.ez-delivery__cost {
	font-size: 13px;
	color: var(--ez-gray-text);
}

/* Box programu lojalnościowego (jak Zalando Plus) */
.ez-plus {
	display: flex;
	margin: 12px 0 8px;
	padding: 12px 14px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
}

.ez-plus__icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	color: #ffb651;
	margin-top: 1px;
}

.ez-plus__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ez-black);
}

.ez-plus__text a {
	color: inherit;
	text-decoration: underline;
	display: block;
}

.ez-plus__text a:hover {
	color: #d00;
}

/* Modal "Dołącz do Elity" */
.ez-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ez-modal[hidden] {
	display: none;
}

.ez-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}

.ez-modal__box {
	position: relative;
	background: var(--ez-white);
	border-radius: 12px;
	max-width: 900px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 48px 48px 32px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
}

.ez-modal__close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: 0;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	color: var(--ez-black);
}

.ez-modal__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.ez-modal__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 2px solid var(--ez-black);
	border-radius: 20px;
	padding: 3px 14px;
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 16px;
}
.ez-modal__badge-ico {
	width: 16px;
	height: 16px;
	flex: none;
}

.ez-modal__title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 14px;
}

.ez-modal__sub {
	font-size: 15px;
	color: var(--ez-gray-text);
	line-height: 1.55;
	margin: 0;
}

.ez-modal__benefits {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	align-content: start;
}

.ez-modal__benefit {
	background: var(--ez-gray-bg);
	border-radius: var(--ez-radius);
	padding: 16px 14px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.ez-modal__benefit svg {
	width: 22px;
	height: 22px;
	color: #e8730c;
	display: block;
	margin-bottom: 8px;
}

.ez-modal__legal {
	font-size: 13px;
	color: var(--ez-gray-text);
	text-align: center;
	margin: 28px 0 16px;
}

.ez-modal__legal a {
	color: inherit;
}

.ez-modal__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ez-modal__join {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	color: #fff;
	border: 1px solid #000;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	padding: 14px 20px;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.ez-modal__join:hover {
	background: #ffb651;
	border-color: #ffb651;
	color: #000;
}

.ez-modal__later {
	background: var(--ez-white);
	color: var(--ez-black);
	border: 1px solid var(--ez-black);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	padding: 14px 20px;
	cursor: pointer;
	font-family: var(--ez-font);
}

.ez-modal__later:hover {
	background: var(--ez-gray-bg);
}

@media (max-width: 720px) {
	.ez-modal__box {
		padding: 32px 20px 20px;
	}

	.ez-modal__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ez-modal__title {
		font-size: 24px;
	}

	.ez-modal__actions {
		grid-template-columns: 1fr;
	}
}

/* Reset kolumn Woo — li ma wypełniać komórkę gridu (Woo daje width:30.75% z columns-3) */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}

/* Mega menu — styl Zalando (ikony + Nie przegap) */
.ez-mega__inner {
	display: flex;
	gap: 32px;
	max-width: var(--ez-container);
	margin: 0 auto;
	width: 100%;
	padding: 8px 16px 0;
}

.ez-mega__cats {
	flex: 1 1 auto;
}

.ez-mega__heading {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--ez-gray-text);
	margin-bottom: 12px;
}

.ez-mega__links {
	columns: 3 180px;
	column-gap: 24px;
}

.ez-mega__links .ez-mega__link {
	break-inside: avoid;
	margin-bottom: 4px;
}

/* Mega menu — układ kolumnowy (kategoria nadrzędna + podkategorie) */
.ez-mega__cols {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.ez-mega__col {
	flex: 1 1 0;
	min-width: 170px;
}

.ez-mega__col .ez-mega__link {
	margin-bottom: 4px;
}

/* Nagłówek kategorii (poziom 2) w układzie kolumnowym */
.ez-mega__link--head {
	font-weight: 700;
	margin-top: 10px;
}

.ez-mega__col .ez-mega__link--head:first-child {
	margin-top: 0;
}

.ez-mega__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 4px;
	font-size: 14px;
	color: var(--ez-black);
	border-radius: 4px;
	transition: background .1s ease;
}

.ez-mega__link:hover {
	background: var(--ez-gray-bg);
}

.ez-mega__link--sub {
	font-weight: 400;
}

.ez-mega__icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	color: var(--ez-black);
}

.ez-mega__highlights {
	flex: 0 0 220px;
	border-left: 1px solid var(--ez-gray-bg);
	padding-left: 24px;
}

.ez-nav__item--sale > a {
	color: #d00;
	font-weight: 700;
}

@media (max-width: 1024px) {
	.ez-mega__highlights {
		display: none;
	}
}

/* Banery w mega menu (placeholdery) */
.ez-mega__banner-side {
	flex: 0 0 260px;
}

.ez-mega__banner-side img,
.ez-mega__banner-side .ez-mega__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 312px;
	object-fit: cover;
	border-radius: var(--ez-radius);
}

.ez-mega__placeholder {
	background: repeating-linear-gradient(45deg, var(--ez-gray-bg), var(--ez-gray-bg) 12px, #ececec 12px, #ececec 24px);
	border: 1px dashed var(--ez-border);
	color: var(--ez-gray-text);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.ez-mega__banner-wide {
	max-width: var(--ez-container);
	margin: 24px auto 0;
	padding: 0 16px;
	width: 100%;
}

.ez-mega__banner-wide img,
.ez-mega__banner-wide .ez-mega__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: var(--ez-radius);
}

@media (max-width: 1024px) {
	.ez-mega__banner-side {
		display: none;
	}
}

/* Selektor języka */
.ez-lang {
	position: relative;
	display: flex;
	align-items: center;
}

.ez-lang__toggle {
	display: flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: 0;
	cursor: pointer;
	font-family: var(--ez-font);
	font-size: 13px;
	color: var(--ez-black);
	padding: 4px;
}

.ez-lang__chevron {
	width: 12px;
	height: 12px;
}

.ez-lang__list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 140px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
	list-style: none;
	margin: 0;
	padding: 6px;
	z-index: 950;
}

/* niewidzialny mostek — hover nie gubi się między przyciskiem a listą */
.ez-lang__list::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
}

/* obszar hover na cały kontener selektora */
.ez-lang {
	padding-bottom: 4px;
	margin-bottom: -4px;
}

.ez-lang:hover .ez-lang__list,
.ez-lang:focus-within .ez-lang__list {
	display: block;
}

.ez-lang__item a {
	display: block;
	padding: 8px 10px;
	font-size: 13px;
	border-radius: 4px;
}

.ez-lang__item a:hover {
	background: var(--ez-gray-bg);
}

.ez-lang__item--current a {
	font-weight: 700;
}

.ez-lang__flag {
	font-size: 15px;
	margin-right: 6px;
	line-height: 1;
}

/* Globus w selektorze języka — ten sam rozmiar co pozostałe ikony */
.ez-lang__toggle .ez-icon {
	width: 32px;
	height: 32px;
}

.ez-lang__toggle .ez-icon-label {
	font-size: 13px;
	font-weight: 600;
}

.ez-nav__item--bold > a {
	font-weight: 700;
}

/* Siatka producentów */
.ez-producers {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	list-style: none;
	margin: 24px 0;
	padding: 0;
}

.ez-producers a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	text-align: center;
	transition: border-color .12s ease, transform .12s ease;
}

.ez-producers a:hover {
	border-color: var(--ez-black);
	transform: translateY(-2px);
}

.ez-producers__logo {
	width: 100%;
	height: 48px;
	object-fit: contain;
	margin: 0 auto 6px;
}

.ez-producers__name {
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
}

.ez-producers__count {
	font-size: 12px;
	color: var(--ez-gray-text);
}

@media (max-width: 820px) {
	.ez-producers {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mega menu Producenci — siatka logo */
.ez-mega__cats--full {
	flex: 1 1 auto;
}

.ez-mega__producers {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}

.ez-mega__producer {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	padding: 12px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	background: var(--ez-white);
	transition: border-color .12s ease, transform .12s ease;
}

.ez-mega__producer:hover {
	border-color: var(--ez-black);
	transform: translateY(-2px);
}

.ez-mega__producer img {
	width: 100%;
	height: 48px;
	object-fit: contain;
}

.ez-mega__producer-placeholder {
	font-size: 12px;
	font-weight: 700;
	color: var(--ez-gray-text);
	text-transform: uppercase;
	letter-spacing: .04em;
	text-align: center;
}

@media (max-width: 1024px) {
	.ez-mega__producers {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Strony promo (Okazje/Bestsellery/Nowości) — grid 3 kol + menu kategorii */
.ez-promo ul.products {
	grid-template-columns: repeat(3, 1fr) !important;
}

.ez-promo-cats {
	margin-bottom: 24px;
}

.ez-promo-cats__heading {
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 10px;
}

.ez-promo-cats ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ez-promo-cats ul a {
	display: block;
	padding: 8px 4px;
	font-size: 14px;
	border-radius: 4px;
}

.ez-promo-cats ul a:hover {
	background: var(--ez-gray-bg);
}

.ez-promo-cats ul a.active {
	font-weight: 700;
	text-decoration: underline;
}

/* Ceny na kartach listingu — jak w karcie produktu */
.ez-card__price-sale {
	display: inline;
	font-size: 22px;
	font-weight: 700;
	color: #d00;
}

.ez-card__price-sale small {
	font-size: 12px;
	font-weight: 400;
	color: var(--ez-gray-text);
}

.ez-card__price-regular {
	display: inline;
	font-size: 13px;
	color: var(--ez-gray-text);
	margin-left: 8px;
}

.ez-card__price-discount {
	color: #d00;
	font-weight: 700;
	margin-left: 6px;
}

.ez-card__price-omnibus {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--ez-gray-text);
	margin-top: 2px;
}

/* Live search — panel podpowiedzi */
.ez-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--ez-white);
	border-bottom: 1px solid var(--ez-border);
	box-shadow: 0 16px 32px rgba(0, 0, 0, .1);
	z-index: 950;
}

.ez-suggest__inner {
	max-width: var(--ez-container);
	margin: 0 auto;
	padding: 20px 16px 16px;
}

.ez-suggest__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.ez-suggest__item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	transition: border-color .12s ease, transform .12s ease;
}

.ez-suggest__item:hover {
	border-color: var(--ez-black);
	transform: translateY(-2px);
}

.ez-suggest__img {
	width: 100%;
	aspect-ratio: 3 / 4;
	background: var(--ez-gray-bg);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ez-suggest__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ez-suggest__meta {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ez-suggest__brand {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ez-gray-text);
}

.ez-suggest__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ez-suggest__price {
	font-size: 14px;
	font-weight: 700;
}

.ez-suggest__empty {
	margin: 0;
	font-size: 14px;
	color: var(--ez-gray-text);
}

.ez-suggest__all {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.ez-suggest__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.ez-suggest__grid {
		grid-template-columns: 1fr;
	}
}

/* Wyniki wyszukiwania — grid 3 kol jak kategorie */
body.search ul.products {
	grid-template-columns: repeat(3, 1fr) !important;
}

/* Live search — podział produkty + kolumna boczna */
.ez-suggest__inner--split {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

.ez-suggest__products {
	flex: 1 1 auto;
}

.ez-suggest__inner--split .ez-suggest__grid {
	grid-template-columns: repeat(5, 1fr);
}

.ez-suggest__side {
	flex: 0 0 220px;
	border-right: 1px solid var(--ez-gray-bg);
	padding-right: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ez-suggest__heading {
	display: block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--ez-gray-text);
	margin-bottom: 6px;
}

.ez-suggest__section ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ez-suggest__section ul a {
	display: block;
	padding: 4px 4px;
	font-size: 14px;
	border-radius: 4px;
}

.ez-suggest__section ul a:hover {
	background: var(--ez-gray-bg);
}

.ez-suggest__more {
	font-weight: 700;
}

@media (max-width: 1024px) {
	.ez-suggest__side {
		display: none;
	}
}

.ez-suggest__cnt {
	color: var(--ez-gray-text);
	font-weight: 400;
}

.ez-suggest__prodhead {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 12px;
}

.ez-suggest__more {
	display: block;
	text-align: center;
	margin-top: 16px;
	font-size: 14px;
}

/* Panel wyszukiwania — mieści się w oknie, stopka zawsze widoczna */
.ez-suggest {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - var(--ez-header-h) - 70px);
	overflow: hidden;
}

.ez-suggest__scroll {
	overflow-y: auto;
	flex: 1 1 auto;
}

.ez-suggest__more {
	flex: 0 0 auto;
	background: var(--ez-white);
	border-top: 1px solid var(--ez-gray-bg);
	padding: 14px 16px;
	font-weight: 700;
}

/* Mobile — grid 2 kolumny też na search/promo/kategoriach (nadpisuje !important 3-kol) */
@media (max-width: 820px) {
	body.search ul.products,
	.ez-promo ul.products,
	.woocommerce.tax-product_cat ul.products,
	.woocommerce-page.tax-product_cat ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px 8px;
	}
}

/* Slider produktów na stronie głównej (styl Zalando) */
.ez-slider-wrap {
	position: relative;
}

.ez-slider {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ez-slider::-webkit-scrollbar {
	display: none;
}

.ez-slider ul.products {
	display: flex;
	gap: 16px;
	flex-wrap: nowrap;
}

.ez-slider ul.products li.product {
	flex: 0 0 calc(25% - 12px);
	scroll-snap-align: start;
}

.ez-slider__btn {
	position: absolute;
	top: 35%;
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--ez-border);
	background: var(--ez-white);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
	transition: background .12s ease;
}

.ez-slider__btn:hover {
	background: var(--ez-gray-bg);
}

.ez-slider__btn--prev {
	left: -12px;
}

.ez-slider__btn--next {
	right: -12px;
}

.ez-slider__btn[disabled] {
	opacity: .3;
	cursor: default;
}

@media (max-width: 820px) {
	.ez-slider ul.products li.product {
		flex: 0 0 44%;
	}

	.ez-slider__btn {
		display: none;
	}
}

/* Cena na kartach — jedna linia, wyrównanie do baseline */
.ez-card__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
}

.ez-card__price-omnibus {
	flex: 0 0 100%;
}

/* Rabat -X% jako czerwona plakietka (listing + karta produktu) */
.ez-card__price-discount,
.ez-priceblock__discount {
	display: inline-block;
	background: #d00;
	color: #fff;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
	line-height: 1.3;
}

/* Plakietka OKAZJA % na zdjęciu w karcie produktu */
.ez-product__badges {
	top: 16px;
	left: auto;
	right: 16px;
	align-items: flex-end;
	z-index: 10;
}

/* Sekcja Opinie w accordionie */
.ez-reviews #comments {
	margin-top: 0;
}

.ez-reviews .commentlist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ez-reviews .comment {
	padding: 12px 0;
	border-bottom: 1px solid var(--ez-gray-bg);
}

.ez-reviews .star-rating {
	color: #000;
}

.ez-reviews .comment-form-rating select {
	display: block;
	margin: 8px 0;
}

.ez-reviews .comment-form textarea,
.ez-reviews .comment-form input[type="text"],
.ez-reviews .comment-form input[type="email"],
.ez-modal__box--review .comment-form textarea,
.ez-modal__box--review .comment-form input[type="text"],
.ez-modal__box--review .comment-form input[type="email"] {
	width: 100%;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	padding: 10px;
	font-family: var(--ez-font);
}

.ez-modal__box--review .comment-form-comment {
	clear: both;
}

.ez-reviews .form-submit .submit,
.ez-modal__box--review .form-submit .submit {
	background: #000;
	color: #fff;
	border: 1px solid #000;
	border-radius: var(--ez-radius);
	padding: 12px 28px;
	font-weight: 600;
	cursor: pointer;
}

.ez-reviews .form-submit .submit:hover,
.ez-modal__box--review .form-submit .submit:hover {
	background: #ffb651;
	border-color: #ffb651;
	color: #000;
}

/* Gwiazdki przy tytule produktu */
.ez-product__rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 2px;
}

.ez-product__rating .star-rating {
	color: #000;
	font-size: 16px;
}

.ez-rating__link {
	font-size: 13px;
	color: var(--ez-gray-text);
	text-decoration: underline;
}

.ez-rating__link:hover {
	color: var(--ez-black);
}

.star-rating--empty {
	color: var(--ez-border);
	letter-spacing: 2px;
	font-size: 16px;
}

/* Ukrywamy domyślny "Na razie nie ma opinii o produkcie." */
.ez-reviews .woocommerce-noreviews {
	display: none;
}

.ez-reply-title {
	display: block;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	margin-bottom: 10px;
}

/* Button Oceń produkt + modal formularza */
.ez-review-open {
	display: block;
	width: 100%;
	margin-top: 16px;
	background: #000;
	color: #fff;
	border: 1px solid #000;
	border-radius: var(--ez-radius);
	font-family: var(--ez-font);
	font-size: 15px;
	font-weight: 600;
	padding: 12px 20px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.ez-review-open:hover {
	background: #ffb651;
	border-color: #ffb651;
	color: #000;
}

.ez-modal__box--review {
	max-width: 560px;
}

.ez-modal__box--review #respond {
	margin: 0;
}

.ez-modal__box--review .comment-reply-title {
	font-size: 20px;
	line-height: 1.35;
}

/* Gwiazdki ocen — czarne wszędzie */
.star-rating,
.woocommerce .star-rating,
.ez-reviews .star-rating,
.ez-product__rating .star-rating {
	color: #000 !important;
}

/* Odstęp między gwiazdkami a ceną */
.ez-product__rating {
	margin-bottom: 12px;
}

.ez-product__price {
	clear: both;
	margin-top: 12px;
}

/* Nagłówek popupu oceny — zdjęcie + tytuł produktu */
.ez-review-modal__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ez-gray-bg);
}

.ez-review-modal__head img {
	width: 72px;
	height: 96px;
	object-fit: cover;
	border-radius: var(--ez-radius);
	background: var(--ez-gray-bg);
}

.ez-review-modal__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

/* Stepper: +/- w pionie po prawej stronie pola */
.ez-qty-btns {
	display: flex;
	flex-direction: column;
}

.ez-qty-btns .ez-qty-btn {
	flex: 1 1 50%;
	width: 36px;
	min-height: 0;
	font-size: 14px;
	line-height: 1;
}

.ez-qty-btns .ez-qty-btn--plus {
	border-bottom: 1px solid var(--ez-border);
}

/* Sizebox + button Tabela rozmiarów */
.ez-sizebox-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
	margin: 24px 0 10px;
}

.ez-sizebox-row .ez-sizebox {
	flex: 1 1 auto;
	margin: 0;
}



.ez-size-table-btn {
	flex: 0 0 83px;
	width: 83px;
	min-width: 83px;
	background: var(--ez-white);
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	font-family: var(--ez-font);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	padding: 0 4px;
	cursor: pointer;
	text-align: center;
	transition: background .12s ease, color .12s ease;
}

.ez-size-table-btn:hover {
	background: var(--ez-black);
	color: var(--ez-white);
}

.ez-sizebox {
	position: relative;
	margin: 24px 0 10px;
}

/* Modal Tabela rozmiarów */
.ez-modal__box--sizetable {
	max-width: 720px;
}

.ez-sizetable__heading {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .02em;
}

.ez-sizetable__product {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--ez-gray-text);
}

.ez-sizetable__img {
	width: 100%;
	height: auto;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
}

.ez-sizetable__empty {
	font-size: 14px;
	color: var(--ez-gray-text);
}

/* Tabela rozmiarów — dane */
.ez-sizetable__table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 16px;
	font-size: 14px;
}

.ez-sizetable__table th {
	background: var(--ez-gray-bg);
	font-weight: 700;
	text-align: left;
	padding: 10px 12px;
	border: 1px solid var(--ez-border);
}

.ez-sizetable__table td {
	padding: 8px 12px;
	border: 1px solid var(--ez-border);
}

.ez-sizetable__table tbody tr:nth-child(even) {
	background: #fafafa;
}

/* Stopka — kredyt */
.ez-footer__credit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, .7);
	border-top: 1px solid rgba(255, 255, 255, .15);
}

.ez-footer__credit a {
	color: inherit;
	font-weight: 400;
	text-decoration: none;
}

.ez-footer__credit a:hover {
	color: #fff;
}

.ez-credit-heart {
	width: 14px;
	height: 14px;
	color: #d00;
}

.ez-footer__bottom p .ez-credit-heart {
	width: 12px;
	height: 12px;
	color: #d00;
	vertical-align: -1px;
}

.ez-footer__bottom p a {
	color: inherit;
	font-weight: 400;
	text-decoration: none;
}

.ez-footer__bottom p a:hover {
	color: #fff;
}

/* Kredyt wyśrodkowany w dolnej linii stopki */
.ez-footer__creditline {
	flex: 1 1 auto;
	text-align: center;
	margin: 0;
}

.ez-footer__creditline .ez-credit-heart {
	width: 12px;
	height: 12px;
	color: #d00;
	vertical-align: -1px;
}

.ez-footer__creditline a {
	color: inherit;
	font-weight: 400;
	text-decoration: none;
}

.ez-footer__creditline a:hover {
	color: #fff;
}

/* Kredyt dokładnie na środku stopki */
.ez-footer__bottom {
	position: relative;
}

.ez-footer__creditline {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
}

/* Mega menu — placeholdery linków */
.ez-mega__link--placeholder {
	opacity: .45;
	pointer-events: none;
}

.ez-mega {
	overflow: hidden;
}

/* Pasek promocyjny na górze */
.ez-promobar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #a3121f;
	color: #fff;
	font-size: 14px;
	padding: 10px 48px;
	text-align: center;
	z-index: 960;
}

.ez-promobar__link {
	color: #fff;
	text-decoration: none;
}

.ez-promobar__link:hover {
	text-decoration: underline;
}

.ez-promobar__link strong {
	font-weight: 700;
}

.ez-promobar__close {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	opacity: .8;
}

.ez-promobar__close:hover {
	opacity: 1;
}

.ez-promobar[hidden] {
	display: none;
}

/* Pasek informacyjny (telefon / kontakt) */
.ez-infobar {
	background: var(--ez-gray-bg);
	font-size: 13px;
}

.ez-infobar__inner {
	max-width: var(--ez-container);
	margin: 0 auto;
	padding: 6px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ez-infobar__phones {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ez-infobar__icon {
	width: 14px;
	height: 14px;
}

.ez-infobar__phones a {
	color: var(--ez-black);
	font-weight: 600;
	text-decoration: none;
}

.ez-infobar__phones a:hover {
	text-decoration: underline;
}

.ez-infobar__sep {
	color: var(--ez-gray-text);
}

.ez-infobar__contact {
	font-weight: 600;
	text-decoration: underline;
}

@media (max-width: 640px) {
	.ez-infobar__inner {
		flex-direction: column;
		gap: 4px;
	}
}

/* ==========================================================================
   Nadruk / personalizacja produktu
   ========================================================================== */
.ez-nadruk {
	margin: 32px 0 16px;
}

.ez-nadruk__head {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.ez-nadruk__info {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	color: var(--ez-gray-text);
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}

.ez-nadruk__info:hover {
	border-color: var(--ez-black);
	color: var(--ez-black);
}

.ez-nadruk__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	padding: 12px 14px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	color: var(--ez-black);
	transition: border-color .15s ease;
}

.ez-nadruk__toggle:hover,
.ez-nadruk.has-selection .ez-nadruk__toggle {
	border-color: var(--ez-black);
}

.ez-nadruk__toggle-text {
	flex: 1 1 auto;
	text-align: left;
}

.ez-nadruk__chevron {
	flex: 0 0 auto;
	transition: transform .2s ease;
}

.ez-nadruk.is-open .ez-nadruk__chevron {
	transform: rotate(180deg);
}

.ez-nadruk__panel {
	margin-top: 8px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	overflow: hidden;
}

.ez-nadruk__opt {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	cursor: pointer;
	border-bottom: 1px solid var(--ez-border);
	transition: background .12s ease;
}

.ez-nadruk__opt:hover {
	background: var(--ez-gray-bg);
}

.ez-nadruk__opt input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	accent-color: var(--ez-black);
	margin: 0;
}

.ez-nadruk__opt-label {
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.3;
}

.ez-nadruk__opt-price {
	flex: 0 0 auto;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}

.ez-nadruk__note {
	margin: 0;
	padding: 12px 14px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--ez-gray-text);
	background: var(--ez-gray-bg);
}

/* Nadruk — sekcje, upload pliku, modal instrukcji */
.ez-nadruk__section {
	padding: 12px 14px 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ez-gray-text);
}

.ez-nadruk__upload {
	border-top: 1px solid var(--ez-border);
	padding-bottom: 6px;
}

.ez-nadruk__file {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 14px 10px;
	cursor: pointer;
}

.ez-nadruk__file input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.ez-nadruk__file-btn {
	flex: 0 0 auto;
	padding: 8px 16px;
	background: var(--ez-black);
	color: var(--ez-white);
	border-radius: var(--ez-radius);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.ez-nadruk__file-name {
	flex: 1 1 auto;
	font-size: 13px;
	color: var(--ez-gray-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ez-nadruk.has-file .ez-nadruk__file-name {
	color: var(--ez-black);
	font-weight: 600;
}

.ez-nadruk__hint {
	margin: 0;
	padding: 0 14px 12px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--ez-gray-text);
}

/* Modal instrukcji nadruku */
.ez-modal__box--nadruk {
	max-width: 640px;
	max-height: 85vh;
	overflow-y: auto;
	text-align: left;
}

.ez-nadruk-modal__heading {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .02em;
}

.ez-nadruk-modal__sub {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ez-gray-text);
}

.ez-nadruk-modal__body h4 {
	margin: 18px 0 6px;
	font-size: 15px;
	font-weight: 700;
}

.ez-nadruk-modal__body p {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

.ez-nadruk-modal__body ul {
	margin: 0 0 10px;
	padding-left: 20px;
}

.ez-nadruk-modal__body li {
	font-size: 14px;
	line-height: 1.55;
	color: #333;
	margin-bottom: 6px;
}

/* Nadruk — ikona info przy opcji + pływający podgląd miejsca */
.ez-nadruk__opt-info {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* Cel dotykowy 44×44 (24 + 2×10 padding), ujemny margines = brak zmiany wizualnej */
	box-sizing: content-box;
	width: 24px;
	height: 24px;
	padding: 10px;
	margin: -10px;
	border: 0;
	background: none;
	color: var(--ez-gray-text);
	cursor: help;
	border-radius: 50%;
	transition: color .12s ease, background .12s ease;
}

.ez-nadruk__opt-info:hover {
	color: var(--ez-black);
	background: rgba(0, 0, 0, .06);
}

.ez-nadruk__opt-info:focus-visible {
	color: var(--ez-black);
	outline: 2px solid var(--ez-black);
	outline-offset: 2px;
}

.ez-nadruk-preview {
	position: fixed;
	z-index: 3000;
	background: #fff;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
	padding: 6px;
	pointer-events: none;
}

.ez-nadruk-preview[hidden] {
	display: none;
}

.ez-nadruk-preview img {
	display: block;
	width: 240px;
	max-width: 60vw;
	height: auto;
	border-radius: 4px;
}

/* ==========================================================================
   Reduced motion — szanuj preferencje użytkownika (WCAG 2.3.3)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Nadruk — komunikat błędu walidacji pliku */
.ez-nadruk__file-error {
	margin: 0;
	padding: 0 14px 12px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ez-sale);
	font-weight: 600;
}
.ez-nadruk__file-error[hidden] { display: none; }

/* ==========================================================================
   APP-SHELL (mobile) — dolna nawigacja, zwarty header, tryb standalone
   ========================================================================== */
.ez-bottomnav {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 840;
	background: var(--ez-white);
	border-top: 1px solid var(--ez-border);
	padding-bottom: env(safe-area-inset-bottom);
	box-shadow: 0 -2px 12px rgba(0, 0, 0, .04);
}
.ez-bottomnav__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 54px;
	padding: 7px 2px 5px;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--ez-gray-text);
	font-size: 10px;
	font-weight: 600;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.ez-bottomnav__item svg { width: 23px; height: 23px; }
.ez-bottomnav__item.is-active { color: var(--ez-black); }
.ez-bottomnav__ic { position: relative; display: inline-flex; }
.ez-bottomnav__badge {
	position: absolute;
	top: -4px;
	right: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--ez-sale);
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}

@media (max-width: 1024px) {
	/* Ukryj webowy chrome, który nie pasuje do apki */
	.ez-infobar { display: none !important; }
	.woocommerce-breadcrumb,
	.ez-product__wrap > .woocommerce-breadcrumb,
	nav.woocommerce-breadcrumb { display: none !important; }

	/* Zwarty header: [burger | logo | koszyk] + wyszukiwarka pełna szerokość */
	.ez-header__bar {
		display: grid !important;
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "burger logo cart" "search search search";
		align-items: center;
		column-gap: 10px;
		row-gap: 10px;
		flex-wrap: nowrap;
		padding: 10px 0;
		height: auto;
	}
	.ez-burger { grid-area: burger; order: 0; }
	.ez-logo { grid-area: logo; order: 0; justify-self: center; margin: 0; }
	.ez-logo img { width: auto; height: 34px; }
	.ez-header__icons { grid-area: cart; order: 0; margin: 0; justify-self: end; gap: 0; }
	.ez-header__icons > .ez-lang,
	.ez-header__icons > a:not(:last-child) { display: none; }
	.ez-search { grid-area: search; order: 0; width: 100%; max-width: none; flex: none; }

	/* Dolna nawigacja + miejsce pod nią */
	.ez-bottomnav { display: flex; }
	body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }

	/* Strona produktu: sticky ATC zastępuje bottom nav (wzorzec app) */
	body.single-product .ez-bottomnav { display: none; }
	body.single-product { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
	.ez-sticky-atc { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
	.ez-sticky-atc__name { display: none; }          /* koniec z uciętym tytułem */
	.ez-sticky-atc__info { flex: 1; }
	.ez-sticky-atc__price { font-size: 17px; font-weight: 700; }

	/* Feel natywny */
	a, button { -webkit-tap-highlight-color: transparent; }
	html { overscroll-behavior-y: none; }
}

/* Tryb zainstalowanej apki (standalone) — safe-area pod status barem */
@media (display-mode: standalone) {
	.ez-promobar { padding-top: calc(8px + env(safe-area-inset-top)); }
	.ez-promobar[hidden] ~ .ez-header .ez-header__bar { padding-top: calc(10px + env(safe-area-inset-top)); }
}

/* ==========================================================================
   Widok produktu w apce (mobile): górny pasek + slider zdjęć
   ========================================================================== */
.ez-producttop { display: none; }
.ez-gallery__slider { display: none; }

@media (max-width: 1024px) {
	/* Bez globalnego headera/promobaru na stronie produktu */
	body.single-product .ez-promobar,
	body.single-product .ez-header { display: none !important; }

	/* Górny pasek produktu: back | tytuł | koszyk (sticky) */
	body.single-product .ez-producttop {
		display: flex;
		align-items: center;
		gap: 8px;
		position: sticky;
		top: 0;
		z-index: 860;
		background: var(--ez-white);
		border-bottom: 1px solid var(--ez-border);
		padding: calc(8px + env(safe-area-inset-top)) 8px 8px;
	}
	.ez-producttop__back,
	.ez-producttop__cart {
		flex: 0 0 auto;
		width: 40px;
		height: 40px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: none;
		border: 0;
		color: var(--ez-black);
		cursor: pointer;
		text-decoration: none;
		position: relative;
		-webkit-tap-highlight-color: transparent;
	}
	.ez-producttop__title {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.25;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.ez-producttop__badge {
		position: absolute;
		top: 2px;
		right: 2px;
		min-width: 16px;
		height: 16px;
		padding: 0 4px;
		border-radius: 999px;
		background: var(--ez-sale);
		color: #fff;
		font-size: 10px;
		line-height: 16px;
		text-align: center;
	}

	/* Galeria: slider (swipe) zamiast miniatur + główne */
	body.single-product .ez-product__gallery { position: relative; }
	.ez-gallery { display: block; }
	.ez-gallery__thumbs,
	.ez-gallery__main { display: none !important; }
	.ez-gallery__slider { display: block; }
	.ez-gallery__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.ez-gallery__track::-webkit-scrollbar { display: none; }
	.ez-gallery__slide {
		flex: 0 0 100%;
		width: 100%;
		aspect-ratio: 3 / 4;
		object-fit: contain;
		background: var(--ez-white);
		scroll-snap-align: center;
		cursor: zoom-in;
	}
	.ez-gallery__dots {
		display: flex;
		justify-content: center;
		gap: 7px;
		padding: 12px 0 4px;
	}
	.ez-gallery__dot {
		width: 7px;
		height: 7px;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: var(--ez-border);
		cursor: pointer;
		transition: background .15s ease, transform .15s ease;
	}
	.ez-gallery__dot.is-active { background: var(--ez-black); transform: scale(1.25); }

	body.single-product .ez-product__badges { top: 12px; z-index: 5; }
}

/* ==========================================================================
   App view — home bez hero/USP, produkt bez footera, polecane jako slider
   ========================================================================== */
@media (max-width: 1024px) {
	/* Footer off na stronie produktu (app detail view) */
	.ez-footer { display: none !important; }

	/* Home w apce: bez hero i 3 boxów USP */
	.ez-hero,
	.ez-usp { display: none !important; }

	/* Polecane / up-sells jako slider (swipe) */
	.related.products ul.products,
	.related ul.products,
	.up-sells ul.products,
	.upsells ul.products {
		display: flex !important;
		grid-template-columns: none !important;
		overflow-x: auto;
		gap: 12px;
		margin: 0;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 4px;
	}
	.related ul.products::-webkit-scrollbar,
	.up-sells ul.products::-webkit-scrollbar,
	.upsells ul.products::-webkit-scrollbar { display: none; }
	.related ul.products > li.product,
	.up-sells ul.products > li.product,
	.upsells ul.products > li.product {
		flex: 0 0 46%;
		scroll-snap-align: start;
		margin: 0 !important;
	}
}

/* Akcje na zdjęciu produktu (mobile): ulubione + dodaj do koszyka */
.ez-gallery__actions { display: none; }
@media (max-width: 1024px) {
	.ez-gallery__slider { position: relative; }
	.ez-gallery__actions {
		display: flex;
		flex-direction: column;
		gap: 10px;
		position: absolute;
		right: 14px;
		bottom: 44px;
		z-index: 6;
	}
	.ez-gallery__fav,
	.ez-gallery__addcart {
		width: 46px;
		height: 46px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 1px solid var(--ez-border);
		border-radius: 50%;
		background: rgba(255, 255, 255, .92);
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
		color: var(--ez-black);
		cursor: pointer;
		box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
		-webkit-tap-highlight-color: transparent;
	}
	.ez-gallery__addcart {
		background: var(--ez-black);
		color: #fff;
		border-color: var(--ez-black);
	}
	.ez-gallery__fav.active {
		color: var(--ez-sale);
		border-color: var(--ez-sale);
	}
	.ez-gallery__fav.active svg { fill: var(--ez-sale); }
}

/* Nazwa produktu w karcie — 3 linie zamiast 2 (długie nazwy BHP) */
.ez-card__name { -webkit-line-clamp: 4; }

/* Fix: serduszko na zdjęciu (ma też .ez-fav-btn) — wymuś okrągłe 46×46 */
@media (max-width: 1024px) {
	.ez-gallery__actions .ez-gallery__fav,
	.ez-gallery__actions .ez-gallery__addcart {
		flex: 0 0 46px;
		width: 46px;
		height: 46px;
		min-height: 0;
		border-radius: 50%;
	}
	.ez-gallery__actions .ez-gallery__fav svg,
	.ez-gallery__actions .ez-gallery__addcart svg {
		width: 22px;
		height: 22px;
	}
}

/* Mocniejsze czerwone podświetlenie listy rozmiarów przy próbie ATC bez rozmiaru */
.ez-sizebox--attention .ez-sizebox__toggle {
	border-color: var(--ez-sale);
	box-shadow: 0 0 0 2px rgba(213, 0, 28, .25);
	background: rgba(213, 0, 28, .05);
	color: var(--ez-sale);
}
.ez-sizebox--attention .ez-sizebox__placeholder,
.ez-sizebox--attention .ez-sizebox__chevron { color: var(--ez-sale); }

/* Krótki tytuł mobilny (override) — pełny na desktopie, krótki na mobile jeśli ustawiony */
.ez-card__title-mobile { display: none; }
@media (max-width: 1024px) {
	.ez-card.has-mtitle .ez-card__title-full { display: none; }
	.ez-card.has-mtitle .ez-card__title-mobile { display: inline; }
}

/* ==========================================================================
   Konto — email-first login/register (styl Zalando)
   ========================================================================== */
body:not(.logged-in) .woocommerce-account .ez-page {
	max-width: 460px;
}
.woocommerce-account .ez-page h1 {
	font-size: 26px;
	margin: 0 0 22px;
}

/* Konto zalogowane — layout: nawigacja + treść */
body.logged-in.woocommerce-account .ez-page {
	max-width: 1040px;
}
body.logged-in.woocommerce-account .ez-page .woocommerce {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 44px;
	align-items: start;
}
body.logged-in.woocommerce-account .ez-page .woocommerce-MyAccount-navigation,
body.logged-in.woocommerce-account .ez-page .woocommerce-MyAccount-content {
	width: auto;
	float: none;
	margin: 0;
}
/* WooCommerce clearfix ::before/::after stają się elementami grida i psują układ — usuwamy je */
body.logged-in.woocommerce-account .ez-page .woocommerce::before,
body.logged-in.woocommerce-account .ez-page .woocommerce::after {
	content: none;
}
.ez-acct-nav .ez-acct-group {
	margin: 0 0 26px;
}
.ez-acct-nav .ez-acct-group__title {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ez-gray-text, #6a6a6a);
}
.ez-acct-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ez-acct-nav li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	font-size: 14px;
	color: var(--ez-black);
	text-decoration: none;
	border-bottom: 1px solid var(--ez-border);
}
.ez-acct-nav li a:hover {
	color: var(--ez-gray-text, #6a6a6a);
}
.ez-acct-nav li.is-active a {
	font-weight: 700;
}
.ez-acct-ico {
	flex: none;
	color: var(--ez-gray-text, #6a6a6a);
}
.ez-acct-nav li.is-active .ez-acct-ico {
	color: var(--ez-black);
}
.ez-acct-nav__label {
	flex: 1;
	min-width: 0;
}
.woocommerce-MyAccount-content {
	min-width: 0;
}

/* Przegląd (dashboard) */
/* Na pulpicie powitanie jest nagłówkiem — chowamy tytuł strony „Moje konto" */
body.logged-in.woocommerce-account:not(.ez-acct-sub) .ez-page h1 {
	display: none;
}
.ez-acct-dash__hello {
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 6px;
}
.ez-acct-dash__lead {
	margin: 0 0 24px;
	color: var(--ez-gray-text, #6a6a6a);
}
.ez-acct-dash__tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.ez-acct-tile {
	display: block;
	padding: 18px;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	text-decoration: none;
	color: var(--ez-black);
	transition: border-color .15s, box-shadow .15s;
}
.ez-acct-tile:hover {
	border-color: var(--ez-black);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.ez-acct-tile__title {
	display: block;
	font-weight: 600;
	margin: 0 0 4px;
}
.ez-acct-tile__desc {
	display: block;
	font-size: 13px;
	color: var(--ez-gray-text, #6a6a6a);
}

/* Zakładki informacyjne / w przygotowaniu */
.ez-acct-info,
.ez-acct-ph {
	font-size: 14px;
	line-height: 1.6;
}
.ez-acct-info ul {
	margin: 10px 0;
	padding-left: 18px;
}
.ez-acct-info a {
	text-decoration: underline;
}
.ez-acct-ph__soon {
	display: inline-block;
	margin-top: 10px;
	padding: 5px 12px;
	background: var(--ez-gray-bg, #f6f6f6);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ez-gray-text, #6a6a6a);
}

/* Drill-down w apce: przycisk powrotu do listy konta (tylko mobile) */
.ez-acct-back {
	display: none;
}

@media (max-width: 768px) {
	body.logged-in.woocommerce-account .ez-page .woocommerce {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	/* Powitanie (treść) nad sekcjami (nawigacją) */
	body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
		order: -1;
	}
	/* Ekran główny konta = powitanie + lista sekcji (bez kafelków-duplikatów) */
	.ez-acct-dash__tiles {
		display: none;
	}
	/* Podstrona konta = treść na pełną szerokość, bez bocznego menu, z powrotem */
	body.ez-acct-sub .ez-acct-nav {
		display: none;
	}
	.ez-acct-back {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		margin: 0 0 16px;
		font-size: 14px;
		font-weight: 600;
		color: var(--ez-black);
		text-decoration: none;
	}

	/* Menu konta jako kafle (nie płaska lista) */
	body.logged-in.woocommerce-account .ez-page {
		padding: 16px 16px 28px;
	}
	.ez-acct-nav .ez-acct-group {
		margin: 0 0 22px;
	}
	.ez-acct-nav .ez-acct-group__title {
		margin: 0 0 10px;
	}
	.ez-acct-nav ul {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.ez-acct-nav li a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px;
		border: 1px solid var(--ez-border);
		border-radius: var(--radius-lg);
		background: #fff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
		font-size: 15px;
		font-weight: 500;
	}
	.ez-acct-nav li a::after {
		content: "";
		flex: none;
		width: 8px;
		height: 8px;
		margin-left: 12px;
		border-right: 2px solid var(--ez-gray-text, #6a6a6a);
		border-bottom: 2px solid var(--ez-gray-text, #6a6a6a);
		transform: rotate(-45deg);
	}
	.ez-acct-nav li.is-active a {
		border-color: var(--ez-black);
	}
}
.ez-auth__panel {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.ez-auth__panel h2 {
	font-size: 19px;
	font-weight: 600;
	text-transform: none;
	margin: 0 0 20px;
}
.ez-auth .form-row {
	margin: 0 0 16px;
	padding: 0;
}
.ez-auth label:not(.woocommerce-form-login__rememberme) {
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin: 0 0 6px;
	color: var(--ez-gray-text, #6a6a6a);
}
.ez-auth input.input-text,
.ez-auth input[type="email"],
.ez-auth input[type="password"],
.ez-auth input[type="text"] {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	font-family: var(--ez-font);
}
.ez-auth .button,
.ez-auth button.button {
	width: 100%;
	margin-top: 4px;
	padding: 13px 16px;
	font-size: 15px;
}
.ez-auth__hint {
	display: block;
	font-size: 12px;
	color: var(--ez-gray-text, #6a6a6a);
	margin: 6px 0 0;
}
.ez-auth__error {
	color: var(--ez-sale, #d5001c);
	font-size: 13px;
	margin: -6px 0 12px;
}

/* Miernik siły hasła — spójny z typografią, słabe = czerwone */
.ez-auth .woocommerce-password-strength {
	font-family: var(--ez-font);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	padding: 8px 0 0;
	margin: 6px 0 0;
	border: 0;
	background: none;
	text-align: left;
}
.ez-auth .woocommerce-password-strength.short,
.ez-auth .woocommerce-password-strength.bad {
	color: var(--ez-sale, #d5001c);
}
.ez-auth .woocommerce-password-strength.good {
	color: #9a6b00;
}
.ez-auth .woocommerce-password-strength.strong {
	color: #1a7f37;
}
.ez-auth .woocommerce-password-hint {
	display: block;
	font-family: var(--ez-font);
	font-size: 12px;
	line-height: 1.5;
	color: var(--ez-gray-text, #6a6a6a);
	margin: 4px 0 0;
}

/* Pasek z wybranym e-mailem + Edytuj */
.ez-auth__ident {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--ez-gray-bg, #f6f6f6);
	border-radius: var(--ez-radius);
	padding: 12px 14px;
	margin: 0 0 20px;
	font-size: 14px;
}
.ez-auth__ident-email {
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ez-auth__edit {
	flex: none;
	width: auto;
	padding: 0;
	background: none;
	border: none;
	color: var(--ez-black);
	text-decoration: underline;
	font-size: 13px;
	cursor: pointer;
}

/* Formuła prawna */
.ez-auth__legal {
	font-size: 12px;
	line-height: 1.55;
	color: var(--ez-gray-text, #6a6a6a);
	margin: 16px 0 0;
}
.ez-auth__legal a {
	text-decoration: underline;
}

.ez-auth .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	margin: 4px 0 12px;
}
.ez-auth .woocommerce-form-login__rememberme input {
	width: auto;
	margin: 0;
}
.ez-auth .lost_password {
	margin: 12px 0 0;
	font-size: 14px;
	text-align: center;
}

/* Separator „lub" + przyciski social */
.ez-auth__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0 16px;
	color: var(--ez-gray-text, #6a6a6a);
	font-size: 13px;
}
.ez-auth__divider::before,
.ez-auth__divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--ez-border);
}
.ez-social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 12px 16px;
	margin: 0 0 10px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	font-family: var(--ez-font);
	color: var(--ez-black);
	cursor: pointer;
}
.ez-social svg {
	width: 18px;
	height: 18px;
	flex: none;
}
.ez-social[disabled] {
	opacity: .5;
	cursor: not-allowed;
	background: var(--ez-gray-bg, #f6f6f6);
	color: var(--ez-gray-text, #6a6a6a);
}
.ez-social[disabled] svg {
	filter: grayscale(1);
}
.ez-social__note {
	font-size: 12px;
	color: var(--ez-gray-text, #6a6a6a);
	text-align: center;
	margin: 8px 0 0;
}

/* Banner instalacji PWA — „Zainstaluj Elita Pracy" */
.ez-a2hs {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(60px + env(safe-area-inset-bottom));
	z-index: 860;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 30px 12px 14px;
	background: #fff;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
	transform: translateY(160%);
	opacity: 0;
	transition: transform .28s ease, opacity .28s ease;
}
.ez-a2hs.is-visible {
	transform: translateY(0);
	opacity: 1;
}
.ez-a2hs__icon {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 10px;
}
.ez-a2hs__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ez-a2hs__title {
	font-size: 14px;
	font-weight: 700;
}
.ez-a2hs__text {
	display: none;
	font-size: 12px;
	line-height: 1.4;
	color: var(--ez-gray-text, #6a6a6a);
}
.ez-a2hs__text--ios svg {
	vertical-align: -2px;
}
.ez-a2hs[data-mode="android"] .ez-a2hs__text--android {
	display: block;
}
.ez-a2hs[data-mode="ios"] .ez-a2hs__text--ios {
	display: block;
}
.ez-a2hs[data-mode="ios"] .ez-a2hs__install {
	display: none;
}
.ez-a2hs__install {
	flex: none;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	background: var(--ez-black);
	color: #fff;
	border: 0;
	border-radius: var(--ez-radius);
	cursor: pointer;
}
.ez-a2hs__close {
	position: absolute;
	top: 6px;
	right: 8px;
	padding: 2px 6px;
	background: none;
	border: 0;
	font-size: 20px;
	line-height: 1;
	color: var(--ez-gray-text, #6a6a6a);
	cursor: pointer;
}
@media (min-width: 1025px) {
	.ez-a2hs { display: none !important; }
}
@media (display-mode: standalone) {
	.ez-a2hs { display: none !important; }
}

/* Onboarding po rejestracji — „Powiedz nam coś o sobie" */
.ez-onboarding {
	max-width: 560px;
}
.ez-onb__title {
	font-size: 24px;
	font-weight: 600;
	text-transform: none;
	margin: 0 0 8px;
}
.ez-onb__lead {
	font-size: 14px;
	line-height: 1.5;
	color: var(--ez-gray-text, #6a6a6a);
	margin: 0 0 24px;
}
.ez-onb__group {
	border: 0;
	padding: 0;
	margin: 0 0 26px;
	min-width: 0;
}
.ez-onb__group legend {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	padding: 0;
	margin: 0 0 14px;
}
.ez-onb__opt {
	font-weight: 400;
	font-size: 13px;
	color: var(--ez-gray-text, #6a6a6a);
}
.ez-onb__tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 0 0 12px;
}
.ez-onb__tile {
	position: relative;
	display: flex;
	cursor: pointer;
}
.ez-onb__tile input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.ez-onb__tile-inner {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 22px 12px;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	text-align: center;
	font-weight: 500;
	line-height: 1.3;
	transition: border-color .15s, box-shadow .15s;
}
.ez-onb__tile-inner small {
	display: block;
	margin-top: 3px;
	font-weight: 400;
	font-size: 12px;
	color: var(--ez-gray-text, #6a6a6a);
}
.ez-onb__tile input:checked + .ez-onb__tile-inner {
	border-color: var(--ez-black);
	box-shadow: inset 0 0 0 1px var(--ez-black);
}
.ez-onb__tile input:focus-visible + .ez-onb__tile-inner {
	outline: 2px solid var(--ez-black);
	outline-offset: 2px;
}
.ez-onb__radio,
.ez-onb__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.45;
}
.ez-onb__radio {
	padding: 12px 14px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
}
.ez-onb__radio input,
.ez-onb__check input {
	flex: none;
	width: auto;
	margin: 2px 0 0;
}
.ez-onb__check {
	margin: 0 0 6px;
}
.ez-onb__note {
	font-size: 12px;
	line-height: 1.5;
	color: var(--ez-gray-text, #6a6a6a);
	margin: 6px 0 0;
	padding-left: 26px;
}
.ez-onb__note a,
.ez-onb__check a {
	text-decoration: underline;
}
/* Wiersze wyboru (kategorie, krój) */
.ez-onb__opt-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	margin: 0 0 8px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	cursor: pointer;
	font-size: 14px;
	transition: border-color .15s, box-shadow .15s;
}
.ez-onb__opt-row input {
	flex: none;
	width: auto;
	margin: 0;
}
.ez-onb__opt-row:has( input:checked ) {
	border-color: var(--ez-black);
	box-shadow: inset 0 0 0 1px var(--ez-black);
}
.ez-onb__subgroup {
	margin: 14px 0 0;
	padding: 16px 0 0;
	border-top: 1px dashed var(--ez-border);
}
.ez-onb__sublabel {
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 10px;
}

.ez-onb__submit {
	width: 100%;
	margin-top: 8px;
	padding: 14px 16px;
	font-size: 15px;
	background: var(--ez-black);
	color: #fff;
	border: 0;
	border-radius: var(--ez-radius);
	cursor: pointer;
}
.ez-onb__submit:hover {
	background: #000;
}

.ez-onb__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}

.ez-onb__skip {
	display: block;
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	background: transparent;
	color: var(--ez-black);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}

.ez-onb__skip:hover {
	border-color: var(--ez-black);
	background: var(--ez-gray-bg);
}

/* Mobile / PWA — oddech dookoła */
@media (max-width: 768px) {
	.woocommerce-account .ez-page {
		padding: 20px 16px 32px;
	}
	.ez-auth__panel {
		padding: 22px 18px;
	}
	.woocommerce-account .ez-page h1 {
		font-size: 22px;
		margin: 0 0 18px;
	}
}

/* ==========================================================================
   Kafle kategorii (moduł) — strona główna
   ========================================================================== */
.ez-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.ez-tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 0;
	text-decoration: none;
	color: #fff;
	aspect-ratio: 3 / 4;
	background: var(--ez-gray-bg, #f6f6f6);
}
.ez-tile--wide {
	grid-column: span 2;
	aspect-ratio: 3 / 2;
}
.ez-tile__media {
	position: absolute;
	inset: 0;
}
.ez-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .4s ease, transform .6s ease;
}
.ez-tile__hover {
	opacity: 0;
}
.ez-tile.has-hover:hover .ez-tile__hover {
	opacity: 1;
}
.ez-tile:hover .ez-tile__img {
	transform: scale(1.05);
}
.ez-tile__img--mobile {
	display: none;
}
.ez-tile__label {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 2;
	background: var(--ez-white);
	color: var(--ez-black);
	border-radius: 0;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
@media (max-width: 1024px) {
	.ez-tiles {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 768px) {
	.ez-tile.has-mobile .ez-tile__img--desktop,
	.ez-tile.has-mobile .ez-tile__hover {
		display: none;
	}
	.ez-tile.has-mobile .ez-tile__img--mobile {
		display: block;
	}
	.ez-tile--m-standard {
		grid-column: span 1;
		aspect-ratio: 3 / 4;
	}
	.ez-tile--m-wide {
		grid-column: span 2;
		aspect-ratio: 3 / 2;
	}
	.ez-tile__label {
		left: 8px;
		bottom: 8px;
		font-size: 12px;
		padding: 6px 12px;
	}
}
@media (max-width: 560px) {
	.ez-tiles {
		gap: 8px;
	}
}

/* ==========================================================================
   Klub Elity — moduł na stronie głównej (styl Zalando Plus)
   ========================================================================== */
.ez-klub {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	margin-bottom: 64px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.ez-klub__panel {
	padding: 40px 44px;
}
.ez-klub__panel--text {
	background: var(--ez-black);
	color: #fff;
}
.ez-klub__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: #1a1a1a;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
}
.ez-klub__title {
	margin: 18px 0 14px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.28;
	color: #fff;
}
.ez-klub__desc {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .72);
}
.ez-klub__desc svg {
	flex: none;
	margin-top: 1px;
}
.ez-klub__cta {
	display: inline-block;
	padding: 13px 28px;
	background: #fff;
	color: var(--ez-black);
	border-radius: var(--ez-radius);
	font-weight: 700;
	text-decoration: none;
	transition: background .15s ease;
}
.ez-klub__cta:hover {
	background: #f5a623;
}
.ez-klub__fine {
	margin: 18px 0 0;
	font-size: 12px;
	color: rgba(255, 255, 255, .5);
}
.ez-klub__fine a {
	color: rgba(255, 255, 255, .72);
	text-decoration: underline;
}
.ez-klub__panel--visual {
	position: relative;
	padding: 0;
	overflow: hidden;
	background: #f5a623;
	min-height: 220px;
}
.ez-klub__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ez-klub__sound {
	position: absolute;
	bottom: 12px;
	right: 12px;
	z-index: 3;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .15s ease;
}
.ez-klub__sound:hover {
	background: rgba(0, 0, 0, .78);
}
.ez-klub__sound .ez-ico-on {
	display: none;
}
.ez-klub__sound.is-on .ez-ico-off {
	display: none;
}
.ez-klub__sound.is-on .ez-ico-on {
	display: block;
}
.ez-klub__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	width: 68px;
	height: 68px;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.ez-klub__play:hover {
	background: rgba(0, 0, 0, .78);
	transform: translate(-50%, -50%) scale(1.06);
}
.ez-klub__play svg {
	margin-left: 3px;
}
.ez-klub__play[hidden],
.ez-klub__sound[hidden] {
	display: none;
}
.ez-klub__tie {
	width: 150px;
	height: 150px;
}
.ez-klub__badge-ico {
	width: 15px;
	height: 15px;
	flex: none;
}
@media (max-width: 768px) {
	.ez-klub {
		grid-template-columns: 1fr;
	}
	.ez-klub__panel {
		padding: 28px 22px;
	}
	.ez-klub__panel--visual {
		display: none;
	}
	.ez-klub__cta {
		display: block;
		text-align: center;
	}
	.ez-klub__title {
		font-size: 20px;
	}
}

/* ==========================================================================
   Cart drawer + pasek darmowej dostawy + punkty Klubu
   ========================================================================== */
body.ez-noscroll { overflow: hidden; }
.ez-drawer { position: fixed; inset: 0; z-index: 1000; }
/* Cart drawer container reużywa klasy .ez-drawer (menu mobilne), więc zerujemy
   odziedziczone style lewego menu: transform/width/background/padding. */
#ezCartDrawer.ez-drawer { inset: 0; width: auto; transform: none; background: none; padding: 0; overflow: visible; }
.ez-drawer[hidden] { display: none; }
.ez-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .28s ease; }
.ez-drawer.is-open .ez-drawer__overlay { opacity: 1; }
.ez-drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw; background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; box-shadow: -4px 0 24px rgba(0,0,0,.12); }
.ez-drawer.is-open .ez-drawer__panel { transform: translateX(0); }
.ez-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--ez-border); font-size: 16px; }
.ez-drawer__close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ez-black); }
.ez-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; }
.ez-drawer__empty { text-align: center; padding: 44px 0; color: var(--ez-gray-text); }
.ez-drawer__empty .ez-btn { margin-top: 14px; }
.ez-freeship { margin: 0 0 16px; }
.ez-freeship__text { font-size: 13px; margin: 0 0 6px; }
.ez-freeship__text--done { color: #1a7f37; }
.ez-freeship__bar { height: 6px; border-radius: 999px; background: var(--ez-gray-bg); overflow: hidden; }
.ez-freeship__bar span { display: block; height: 100%; background: var(--ez-black); border-radius: 999px; transition: width .4s ease; }
.ez-freeship__text--done ~ .ez-freeship__bar span { background: #1a7f37; }
.ez-drawer__items { list-style: none; margin: 0; padding: 0; }
.ez-drawer__item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 20px 12px 0; border-bottom: 1px solid var(--ez-border); position: relative; }
.ez-drawer__item img { width: 54px; height: 72px; object-fit: cover; border-radius: var(--ez-radius); flex: none; }
.ez-drawer__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ez-drawer__name { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ez-drawer__qty { font-size: 12px; color: var(--ez-gray-text); }
.ez-drawer__price { font-size: 13px; font-weight: 700; white-space: nowrap; }
.ez-drawer__remove { position: absolute; top: 12px; right: 0; color: var(--ez-gray-text); font-size: 18px; line-height: 1; text-decoration: none; }
.ez-drawer__foot { margin-top: auto; padding-top: 16px; }
.ez-drawer__points { display: flex; align-items: center; gap: 8px; font-size: 13px; background: var(--ez-gray-bg); border-radius: var(--ez-radius); padding: 10px 12px; margin: 0 0 14px; }
.ez-drawer__tie { width: 18px; height: 18px; flex: none; color: var(--ez-black); }
.ez-drawer__row { display: flex; justify-content: space-between; align-items: center; font-size: 15px; margin: 0 0 14px; }
.ez-drawer__checkout { display: block; text-align: center; width: 100%; }
.ez-drawer__cartlink { display: block; text-align: center; margin-top: 10px; font-size: 14px; text-decoration: underline; }
@media (max-width: 768px) { .ez-drawer__panel { width: 100%; max-width: 100%; } }

/* ==========================================================================
   Blokowy checkout (WooCommerce Checkout block) — spójny, „ładny" wygląd
   ========================================================================== */
.wc-block-checkout { color: var(--ez-black); }
.wc-block-checkout.is-large .wc-block-checkout__main { padding-right: 48px; }

/* Tytuły kroków */
.wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-components-title {
	font-family: var(--ez-font);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -.01em;
	color: var(--ez-black);
}
.wc-block-components-checkout-step { padding-bottom: 26px; }
.wc-block-components-checkout-step__description { color: var(--ez-gray-text); }

/* Pola formularza */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-select select,
.wc-blocks-components-select__container {
	border-radius: var(--ez-radius) !important;
	border-color: var(--ez-border) !important;
	font-family: var(--ez-font);
}
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus {
	border-color: var(--ez-black) !important;
	box-shadow: 0 0 0 1px var(--ez-black);
}

/* Opcje dostawy / płatności — wiersze jak karty */
.wc-block-components-radio-control__option {
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	padding: 14px 16px 14px 46px;
	margin-bottom: 10px;
	transition: border-color .15s ease, background .15s ease;
}
.wc-block-components-radio-control__option:last-child { margin-bottom: 0; }
.wc-block-components-radio-control__option:hover { border-color: #bbb; }
.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control__option-checked {
	border-color: var(--ez-black);
	background: var(--ez-gray-bg);
}
.wc-block-components-radio-control__input { left: 16px; }
.wc-block-components-radio-control { border: 0; }

/* Panel podsumowania — karta + sticky */
.wc-block-checkout.is-large .wc-block-checkout__sidebar {
	position: sticky;
	top: 24px;
	align-self: start;
}
.wc-block-checkout__sidebar > .wc-block-components-checkout-order-summary,
.wc-block-checkout__sidebar {
	background: var(--ez-gray-bg);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	padding: 20px;
}
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary {
	background: none;
	border: 0;
	padding: 0;
}

/* Pozycja podsumowania — wąska kolumna: [zdjęcie | nazwa nad ceną], koniec łamania po literze */
.wc-block-components-order-summary-item {
	display: grid !important;
	grid-template-columns: 48px 1fr;
	grid-template-areas: "img name" "img price";
	column-gap: 12px;
	row-gap: 2px;
	align-items: start;
	padding: 12px 0;
	margin: 0;
	border-bottom: 1px solid var(--ez-border);
}
.wc-block-components-order-summary-item__image { grid-area: img; width: 48px; margin: 0; }
.wc-block-components-order-summary-item__description { grid-area: name; min-width: 0; margin: 0; }
.wc-block-components-order-summary-item__total { grid-area: price; text-align: left; margin: 4px 0 0; }
.wc-block-components-order-summary-item__total .wc-block-components-formatted-money-amount { font-weight: 700; }
.wc-block-components-product-name {
	display: block;
	word-break: normal;
	overflow-wrap: anywhere;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}
.wc-block-components-order-summary-item__quantity { color: var(--ez-gray-text); }
/* Ukryj zdublowaną cenę jednostkową pod nazwą — zostaje suma pozycji z badge rabatu */
.wc-block-components-order-summary-item__description .wc-block-cart-item__prices,
.wc-block-components-order-summary-item__individual-prices { display: none; }

/* Faktura na firmę: pokaż Firma + NIP dopiero po zaznaczeniu „Chcę fakturę na firmę" */
.wc-block-checkout:not(:has(#contact-elitapracy-invoice:checked)) .wc-block-components-address-form__elitapracy-company,
.wc-block-checkout:not(:has(#contact-elitapracy-invoice:checked)) .wc-block-components-address-form__elitapracy-nip {
	display: none;
}

/* Sumy */
.wc-block-components-totals-item { font-size: 14px; }
.wc-block-components-totals-footer-item,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 17px;
	font-weight: 700;
	color: var(--ez-black);
}

/* Przycisk „Kupuję i płacę" */
.wc-block-components-checkout-place-order-button {
	background: var(--ez-black) !important;
	color: var(--ez-white) !important;
	border-radius: var(--ez-radius) !important;
	font-family: var(--ez-font);
	font-weight: 600;
	font-size: 15px;
	min-height: 54px;
}
.wc-block-components-checkout-place-order-button:hover { background: #000 !important; }

@media (max-width: 900px) {
	.wc-block-checkout.is-large .wc-block-checkout__main { padding-right: 0; }
	.wc-block-checkout__sidebar { position: static; }
}


/* ==========================================================================
   KOSZYK (strona /cart/) — layout wg referencji: pozycje + sticky podsumowanie
   ========================================================================== */

.ez-cartpage {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--space-7);
	align-items: start;
	margin: var(--space-6) 0;
}

.ez-cartpage__title,
.ez-cartempty .ez-cartpage__title {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 var(--space-5);
}

.ez-cartpage__main {
	min-width: 0;
}

/* Pasek realizacji / szacowanej dostawy */
.ez-realization {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-4) 0;
	border-top: 1px solid var(--ez-border);
}

.ez-realization__icon {
	flex: 0 0 auto;
}

.ez-realization__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ez-realization__label {
	font-size: 13px;
	color: var(--ez-gray-text);
}

.ez-realization__dates {
	font-size: 16px;
	font-weight: 700;
}

/* Lista pozycji */
.ez-cartitems {
	list-style: none;
	margin: var(--space-5) 0 0;
	padding: 0;
}

.ez-cartitem {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr) auto 32px;
	gap: var(--space-4);
	align-items: start;
	padding: var(--space-5) 0;
	border-top: 1px solid var(--ez-border);
	position: relative;
}

.ez-cartitem__media {
	display: block;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--ez-gray-bg);
}

.ez-cartitem__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ez-cartitem__info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.ez-cartitem__brand {
	font-size: 13px;
	font-weight: 700;
	color: var(--ez-black);
}

.ez-cartitem__name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.ez-cartitem__name a {
	color: var(--ez-black);
	text-decoration: none;
}

.ez-cartitem__name a:hover {
	text-decoration: underline;
}

.ez-cartitem .variation {
	margin: 0;
	font-size: 13px;
	color: var(--ez-gray-text);
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.ez-cartitem .variation dt,
.ez-cartitem .variation dd {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.ez-cartitem__ship {
	font-size: 12px;
	font-weight: 600;
	color: var(--ez-success);
}

.ez-cartitem__lowstock {
	font-size: 12px;
	font-weight: 600;
	color: var(--ez-sale);
}

.ez-cartitem__price {
	font-size: 16px;
	font-weight: 800;
	margin-top: 2px;
}

.ez-cartitem__qty .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	overflow: hidden;
}

.ez-cartitem__qty .qty {
	width: 44px;
	height: 40px;
	border: 0;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	-moz-appearance: textfield;
	appearance: textfield;
}

.ez-cartitem__qty .qty::-webkit-outer-spin-button,
.ez-cartitem__qty .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ez-cartitem__remove {
	font-size: 24px;
	line-height: 1;
	color: var(--ez-gray-text);
	text-decoration: none;
	padding: 4px;
}

.ez-cartitem__remove:hover {
	color: var(--ez-sale);
}

/* FOMO pod listą */
.ez-fomo {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin: var(--space-5) 0 0;
	padding: var(--space-4);
	background: var(--ez-gray-bg);
	border-radius: var(--radius-md);
	font-size: 14px;
}

.ez-fomo svg {
	flex: 0 0 auto;
}

.ez-cartpage__actions {
	margin-top: var(--space-4);
}

/* Przycisk „Aktualizuj" — ilości zapisują się automatycznie (main.js) */
.ez-cartpage .ez-cartpage__update,
.ez-cartpage__update {
	display: none !important;
}

/* Pusta strona koszyka */
.ez-cartempty {
	padding: var(--space-7) 0 var(--space-5);
}

.ez-cartempty__text {
	font-size: 16px;
	color: var(--ez-gray-text);
	margin: 0 0 var(--space-5);
}

/* ==========================================================================
   PODSUMOWANIE (koszyk + kasa) — karta z sumami, kuponem, punktami, płatnościami
   ========================================================================== */

.ez-summary,
.ez-checkout2__side {
	background: var(--ez-gray-bg);
	border-radius: var(--radius-lg);
	padding: var(--space-5);
	position: sticky;
	top: calc(var(--ez-header-h) + 16px);
}

.ez-summary__coupon {
	border-bottom: 1px solid var(--ez-border);
	padding-bottom: var(--space-4);
	margin-bottom: var(--space-4);
}

.ez-summary__coupon summary {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	list-style: none;
}

.ez-summary__coupon summary::-webkit-details-marker {
	display: none;
}

.ez-summary__coupon summary::after {
	content: "";
	margin-left: auto;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--ez-black);
	border-bottom: 2px solid var(--ez-black);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.ez-summary__coupon[open] summary::after {
	transform: rotate(225deg);
}

.ez-summary__coupon-body {
	display: flex;
	gap: var(--space-2);
	margin-top: var(--space-4);
}

.ez-summary__coupon-body .input-text {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 var(--space-3);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	font-size: 14px;
}

.ez-summary__coupon-body .button {
	height: 44px;
	padding: 0 var(--space-4);
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	background: var(--ez-black);
	color: var(--ez-white);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.ez-summary__coupon-body .button:hover {
	background: var(--ez-white);
	color: var(--ez-black);
}

.ez-summary__rows {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.ez-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--space-3);
	font-size: 15px;
}

.ez-summary__row--discount {
	color: var(--ez-sale);
	font-weight: 600;
}

.ez-summary__row--total {
	border-top: 1px solid var(--ez-border);
	padding-top: var(--space-4);
	margin-top: var(--space-2);
	font-size: 17px;
	font-weight: 800;
}

.ez-summary__row--total small {
	font-size: 12px;
	font-weight: 400;
	color: var(--ez-gray-text);
}

.ez-summary__ship {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Tooltip ze stawkami dostawy */
.ez-shipinfo {
	position: relative;
	display: inline-flex;
}

.ez-shipinfo__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ez-gray-text);
	cursor: pointer;
}

.ez-shipinfo__btn:hover {
	color: var(--ez-black);
}

.ez-shipinfo__pop {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	z-index: 50;
	min-width: 260px;
	max-width: 320px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: var(--space-4);
	font-size: 13px;
	font-weight: 400;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.ez-shipinfo:hover .ez-shipinfo__pop,
.ez-shipinfo.is-open .ez-shipinfo__pop,
.ez-shipinfo:focus-within .ez-shipinfo__pop {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ez-shipinfo__pop > strong {
	display: block;
	margin-bottom: var(--space-2);
	font-size: 13px;
}

.ez-shipinfo__rate {
	display: flex;
	justify-content: space-between;
	gap: var(--space-3);
	padding: 4px 0;
	border-top: 1px solid var(--ez-gray-bg-2);
}

.ez-shipinfo__rate small {
	color: var(--ez-gray-text);
}

.ez-summary__points,
.ez-review__points {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin: var(--space-4) 0;
	padding: var(--space-3) var(--space-4);
	background: var(--ez-white);
	border: 1px dashed var(--ez-border);
	border-radius: var(--radius-md);
	font-size: 13px;
}

.ez-summary__tie {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
}

.ez-summary__cta {
	width: 100%;
	padding: 16px 28px;
	font-size: 16px;
	font-weight: 700;
}

.ez-summary__pay {
	margin-top: var(--space-5);
}

.ez-summary__pay-title {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ez-gray-text);
	margin-bottom: var(--space-3);
}

.ez-paybadges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.ez-paybadges__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 4px 10px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	font-size: 12px;
	font-weight: 600;
}

.ez-paybadges__badge--img {
	padding: 2px 6px;
}

.ez-paybadges__badge--img img {
	display: block;
	max-height: 22px;
	width: auto;
}

/* Sekcje produktów pod koszykiem */
.ez-cartsec {
	margin: var(--space-7) 0 0;
}

.ez-cartsec__title {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin: 0 0 var(--space-5);
}

/* ==========================================================================
   KASA (strona /checkout/) — 2 kolumny: formularze + sticky podsumowanie
   ========================================================================== */

.ez-checkout2 {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--space-7);
	align-items: start;
	margin: var(--space-6) 0;
}

.ez-checkout2__main {
	min-width: 0;
}

.ez-checkout2__details {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

.ez-checkout2 .woocommerce-billing-fields h3,
.ez-checkout2 .woocommerce-shipping-fields h3,
.ez-checkout2 .woocommerce-additional-fields h3,
.ez-checkout2__side-title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 var(--space-4);
}

.ez-checkout2 .woocommerce-billing-fields,
.ez-checkout2 .woocommerce-shipping-fields,
.ez-checkout2 .woocommerce-additional-fields {
	padding: var(--space-5);
	background: var(--ez-gray-bg);
	border-radius: var(--radius-lg);
}

.ez-checkout2 .form-row {
	margin-bottom: var(--space-4);
}

.ez-checkout2 .form-row label {
	font-size: 13px;
	font-weight: 600;
}

.ez-checkout2 .form-row .input-text,
.ez-checkout2 .form-row select {
	height: 48px;
}

/* Pola faktury — widoczne dopiero po zaznaczeniu checkboxa (main.js) */
.ez-invoice-field {
	display: none;
}

.ez-invoice-field.is-visible {
	display: block;
}

#ez_invoice_field {
	padding: var(--space-3) var(--space-4);
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
}

#ez_invoice_field .woocommerce-form__label {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin: 0;
}

/* Tabela podsumowania zamówienia */
.ez-review {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.ez-review__item td {
	padding: var(--space-3) 0;
	border-top: 1px solid var(--ez-border);
	vertical-align: middle;
}

.ez-review__item:first-child td {
	border-top: 0;
}

.ez-review__thumb {
	width: 56px;
	padding-right: var(--space-3) !important;
}

.ez-review__thumb img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: var(--ez-radius);
}

.ez-review__name {
	font-weight: 600;
	line-height: 1.35;
}

.ez-review__qty {
	font-weight: 400;
	color: var(--ez-gray-text);
	white-space: nowrap;
}

.ez-review__name .variation {
	margin: 4px 0 0;
	font-size: 12px;
	font-weight: 400;
	color: var(--ez-gray-text);
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
}

.ez-review__name .variation dt,
.ez-review__name .variation dd {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.ez-review__total {
	text-align: right;
	font-weight: 700;
	white-space: nowrap;
}

.ez-review tfoot th,
.ez-review tfoot td {
	padding: var(--space-3) 0;
	border-top: 1px solid var(--ez-border);
	text-align: right;
	font-weight: 400;
}

.ez-review tfoot th {
	text-align: left;
}

.ez-review tfoot .order-total th,
.ez-review tfoot .order-total td {
	font-size: 17px;
	font-weight: 800;
}

.ez-review tfoot .order-total small {
	font-size: 12px;
	font-weight: 400;
	color: var(--ez-gray-text);
}

/* Wybór metody dostawy w kasie */
.ez-checkout2 #shipping_method {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.ez-checkout2 #shipping_method li {
	padding: var(--space-3) var(--space-4);
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
}

.ez-checkout2 #shipping_method li:has(input:checked) {
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
}

.ez-checkout2 #shipping_method label {
	display: flex;
	justify-content: space-between;
	width: 100%;
	cursor: pointer;
	font-weight: 600;
}

/* Płatności */
.ez-checkout2 .wc_payment_methods {
	list-style: none;
	margin: var(--space-4) 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.ez-checkout2 .wc_payment_methods li {
	position: relative;
	padding: var(--space-4);
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
}

/* Zaznaczenie wg radio metody (bezpośrednie dziecko — checkbox zgody P24 w payment_box
   jest zaznaczany automatycznie i nie może „zapalać" karty) */
.ez-checkout2 .wc_payment_methods li:has(> .input-radio:checked) {
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
	background: var(--ez-gray-bg);
}

/* Radio ukryte — cała karta jest klikalną etykietą */
.ez-checkout2 .wc_payment_methods .input-radio {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ez-checkout2 .wc_payment_methods > li > label {
	display: flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	font-weight: 600;
}

/* Ikona w stałym slocie po lewej — jednolita ramka 64×32, logo wpasowane */
.ez-checkout2 .wc_payment_methods .ez-pay-icon {
	flex: 0 0 64px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ez-checkout2 .wc_payment_methods .ez-pay-icon img {
	width: 64px;
	height: 32px;
	max-width: 64px;
	max-height: 32px;
	object-fit: contain;
}

/* Nazwa + opis pod spodem */
.ez-checkout2 .wc_payment_methods .ez-pay-label {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ez-checkout2 .wc_payment_methods .ez-pay-desc {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--ez-gray-text);
}

/* Box rozwinięcia metody (opis bramki) — w stylu kart sklepu, bez „dymka" Woo.
   (#payment w selektorze — Woo ma regułę z ID, inaczej wygrywa jej tło/strzałka) */
.ez-checkout2 #payment .payment_box {
	margin: var(--space-3) 0 0;
	padding: var(--space-3) var(--space-4);
	background: var(--ez-white) !important; /* Woo ma równą specyficzność (1,2,1) i wygrywa kolejnością w niektórych stanach AJAX */
	border: 1px solid var(--ez-border) !important;
	border-radius: var(--radius-md) !important;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ez-gray-text);
}

.ez-checkout2 #payment .payment_box::before,
.ez-checkout2 #payment .payment_box::after {
	display: none !important;
}

.ez-checkout2 .wc_payment_methods .payment_box p {
	margin: 0 0 var(--space-2);
}

.ez-checkout2 .wc_payment_methods .payment_box p:last-child {
	margin-bottom: 0;
}

.ez-checkout2 .wc_payment_methods .payment_box label {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	font-weight: 400;
	cursor: pointer;
}

.ez-checkout2 .wc_payment_methods .payment_box input[type="checkbox"] {
	margin-top: 2px;
	accent-color: var(--ez-black);
}

.ez-checkout2 .wc_payment_methods .payment_box a {
	color: var(--ez-black);
	text-decoration: underline;
}

/* Zgoda P24 (regulamin serwisu) — ukryta, akceptowana automatycznie w JS (main.js);
   box ukrywany, gdy zgoda była jego jedyną treścią */
.ez-checkout2 .payment_box .woocommerce-input-wrapper:has(input[name^="regulation_"]) {
	display: none;
}

.ez-checkout2 #payment .payment_box.ez-p24-regulation-only {
	display: none !important;
}

.ez-checkout2 #place_order {
	width: 100%;
	margin-top: var(--space-5);
	padding: 16px 28px;
	background: var(--ez-black);
	color: var(--ez-white);
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.ez-checkout2 #place_order:hover {
	background: var(--ez-white);
	color: var(--ez-black);
}

.ez-checkout2 .woocommerce-privacy-policy-text {
	font-size: 12px;
	color: var(--ez-gray-text);
	margin-top: var(--space-4);
}

.ez-review__pay {
	margin-top: var(--space-4);
}

.ez-review__points {
	background: var(--ez-white);
}

/* Kupon w kasie (nad formularzem) */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	background: var(--ez-gray-bg);
	border-radius: var(--radius-md);
}

/* ==========================================================================
   Koszyk / kasa — responsywność
   ========================================================================== */

@media (max-width: 1024px) {
	.ez-cartpage,
	.ez-checkout2 {
		gap: var(--space-5);
	}
}

@media (max-width: 900px) {
	.ez-cartpage,
	.ez-checkout2 {
		grid-template-columns: 1fr;
	}

	.ez-summary,
	.ez-checkout2__side {
		position: static;
		order: 2;
	}

	.ez-cartitem {
		grid-template-columns: 96px minmax(0, 1fr) 32px;
	}

	.ez-cartitem__qty {
		grid-column: 2;
	}

	.ez-cartitem__remove {
		grid-column: 3;
		grid-row: 1;
	}

	.ez-cartpage__title {
		font-size: 26px;
	}
}

/* Punkty Klubu Elity w tabeli kasy (wiersz tfoot) */
.ez-review-points-row td {
	border-top: 0 !important;
	padding: 0 0 var(--space-2) !important;
}

.ez-review-points-row .ez-review__points {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
}

/* ==========================================================================
   KASA bez rozpraszaczy — minimalny header (tylko logo) i stopka (tylko pasek)
   ========================================================================== */

.woocommerce-checkout .ez-promobar,
.woocommerce-checkout .ez-infobar,
.woocommerce-checkout .ez-burger,
.woocommerce-checkout .ez-search,
.woocommerce-checkout .ez-header__icons,
.woocommerce-checkout .ez-nav,
.woocommerce-checkout .ez-footer__grid,
.woocommerce-checkout .ez-bottomnav {
	display: none !important;
}

.woocommerce-checkout .ez-header__bar {
	justify-content: center;
	border-bottom: 1px solid var(--ez-border);
	padding-bottom: var(--space-3);
}

/* ==========================================================================
   Stepper etapów zakupu (kasa + strona „Dziękujemy")
   ========================================================================== */

.ez-steps {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: var(--space-4) var(--space-4) var(--space-5);
}

.ez-steps__step {
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--ez-gray-text);
}

.ez-steps__step + .ez-steps__step::before {
	content: "";
	width: 64px;
	height: 1px;
	background: var(--ez-border);
	margin: 0 var(--space-3);
}

.ez-steps__step--done + .ez-steps__step::before,
.ez-steps__step--current + .ez-steps__step::before {
	background: var(--ez-black);
}

.ez-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--ez-border);
	background: var(--ez-white);
	font-size: 13px;
	font-weight: 700;
	margin-right: var(--space-2);
}

.ez-steps__step--done {
	color: var(--ez-black);
}

.ez-steps__step--done .ez-steps__num {
	background: var(--ez-black);
	border-color: var(--ez-black);
	color: var(--ez-white);
}

.ez-steps__step--current {
	color: var(--ez-black);
}

.ez-steps__step--current .ez-steps__num {
	border: 2px solid var(--ez-black);
	color: var(--ez-black);
}

.ez-steps__link {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.ez-steps__link:hover {
	text-decoration: underline;
}

@media (max-width: 640px) {
	.ez-steps__step + .ez-steps__step::before {
		width: 24px;
		margin: 0 var(--space-2);
	}

	.ez-steps__label {
		font-size: 12px;
	}
}

/* ==========================================================================
   Kasa — zakładki sposobu dostawy (Adres | Punkt odbioru / Paczkomat)
   ========================================================================== */

.ez-shiptype {
	margin: 0 0 var(--space-6);
	padding: var(--space-5);
	background: var(--ez-gray-bg);
	border-radius: var(--radius-lg);
}

.ez-shiptype__title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 var(--space-4);
}

.ez-shiptype__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-3);
}

.ez-shiptype__tab {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	padding: var(--space-4);
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
	cursor: pointer;
	text-align: left;
	font-family: var(--ez-font);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ez-shiptype__tab:hover {
	border-color: var(--ez-black);
}

.ez-shiptype__tab.is-active {
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
}

.ez-shiptype__check {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border: 2px solid var(--ez-border);
	border-radius: 50%;
	background: var(--ez-white);
	position: relative;
}

.ez-shiptype__tab.is-active .ez-shiptype__check {
	border-color: var(--ez-black);
}

.ez-shiptype__tab.is-active .ez-shiptype__check::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--ez-black);
}

.ez-shiptype__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ez-shiptype__body strong {
	font-size: 15px;
	font-weight: 700;
}

.ez-shiptype__body span {
	font-size: 13px;
	color: var(--ez-gray-text);
}

/* Wybór punktu Alsendo w podsumowaniu */
.ez-checkout2 .alsendo-connect-checkout-locker-point th {
	display: none;
}

.ez-checkout2 .alsendo-connect-checkout-locker-point td {
	padding: var(--space-3) 0;
	border-top: 1px solid var(--ez-border);
}

.ez-checkout2 .alsendo-connect-checkout-locker-point button,
.ez-checkout2 .alsendo-connect-checkout-locker-point .button,
.ez-checkout2 input.alsendo_geowidget_show_map_classic_checkout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 16px;
	background: var(--ez-white);
	color: var(--ez-black);
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	font-size: 14px;
	font-weight: 600;
	font-family: var(--ez-font);
	cursor: pointer;
}

.ez-checkout2 .alsendo-connect-checkout-locker-point button:hover,
.ez-checkout2 .alsendo-connect-checkout-locker-point .button:hover,
.ez-checkout2 input.alsendo_geowidget_show_map_classic_checkout:hover {
	background: var(--ez-black);
	color: var(--ez-white);
}

@media (max-width: 640px) {
	.ez-shiptype__tabs {
		grid-template-columns: 1fr;
	}
}

/* Sposób dostawy wewnątrz kolumny danych klienta */
.ez-checkout2__details > .ez-shiptype {
	margin-bottom: 0;
}

/* Checkbox faktury bez dopisku „(opcjonalne)" */
#ez_invoice_field .optional {
	display: none;
}

/* Pola faktury bez dopisku „(opcjonalne)" — po zaznaczeniu checkboxa są wymagane */
.ez-invoice-field .optional {
	display: none;
}

/* ==========================================================================
   Kasa v2 (militaria) — typ rozliczenia, karty dostawy, płatności, zgody
   ========================================================================== */

/* Typ rozliczenia Osoba/Firma — kafle ze standardowym radio w środku */
.ez-billtype .woocommerce-input-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-3);
	position: relative;
}

.ez-billtype .woocommerce-input-wrapper input[type="radio"] {
	position: absolute;
	top: 50%;
	left: 18px;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	accent-color: var(--ez-black);
	margin: 0;
	z-index: 2;
	pointer-events: none;
}

.ez-billtype .woocommerce-input-wrapper input#ez_invoice_firma {
	left: calc(50% + 24px);
}

.ez-billtype .woocommerce-input-wrapper label {
	display: flex;
	align-items: center;
	padding: var(--space-4) var(--space-4) var(--space-4) 48px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	margin: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ez-billtype .woocommerce-input-wrapper label:hover {
	border-color: var(--ez-black);
}

.ez-billtype .woocommerce-input-wrapper input[type="radio"]:checked + label {
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
}

.ez-billtype .woocommerce-input-wrapper label .required {
	display: none;
}

#ez_invoice_field > label,
.ez-billtype > label {
	font-size: 15px !important;
	font-weight: 700 !important;
	margin-bottom: var(--space-3);
}

/* Przycisk GUS pod polem NIP */
.ez-gus-row {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-2);
}

.ez-gus-btn {
	padding: 10px 18px;
	background: var(--ez-white);
	color: var(--ez-black);
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	font-size: 13px;
	font-weight: 600;
	font-family: var(--ez-font);
	cursor: pointer;
}

.ez-gus-btn:hover {
	background: var(--ez-black);
	color: var(--ez-white);
}

.ez-gus-status {
	font-size: 13px;
	color: var(--ez-gray-text);
}

.ez-gus-status.is-error {
	color: var(--ez-sale);
}

/* Karty metod dostawy (militaria) */
.ez-shiptype__group {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ez-gray-text);
	margin: var(--space-4) 0 var(--space-2);
}

.ez-shiptype__group:first-of-type {
	margin-top: 0;
}

.ez-shiptype__cards {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.ez-shipcard {
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ez-shipcard:hover {
	border-color: var(--ez-black);
}

.ez-shipcard.is-active {
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
}

.ez-shipcard__main {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	width: 100%;
	padding: var(--space-4);
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-family: var(--ez-font);
}

.ez-shipcard__logo {
	flex: 0 0 64px;
	width: 64px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed var(--ez-border);
	border-radius: var(--radius-sm, 6px);
	background: var(--ez-white);
	overflow: hidden;
}

.ez-shipcard__logo.has-logo {
	border-style: solid;
}

.ez-shipcard__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.ez-shipcard__price {
	margin-left: auto;
	font-size: 15px;
	font-weight: 800;
	white-space: nowrap;
	padding-top: 2px;
}

.ez-shipcard__date {
	font-size: 12px !important;
	color: var(--ez-success) !important;
	font-weight: 600;
}

.ez-shipcard__actions {
	display: none;
	align-items: center;
	gap: var(--space-3);
	padding: 0 var(--space-4) var(--space-4) calc(var(--space-4) + 108px);
}

.ez-shipcard.is-active .ez-shipcard__actions {
	display: flex;
}

.ez-shipcard__pick {
	padding: 10px 18px;
	background: var(--ez-black);
	color: var(--ez-white);
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	font-size: 13px;
	font-weight: 600;
	font-family: var(--ez-font);
	cursor: pointer;
}

.ez-shipcard__pick:hover {
	background: var(--ez-white);
	color: var(--ez-black);
}

.ez-shipcard__pointname {
	font-size: 13px;
	font-weight: 600;
}

/* Sidebar: ukryj listę radio dostawy i wiersz wtyczki Alsendo — wybór jest w kartach */
.ez-checkout2 tr.woocommerce-shipping-totals,
.ez-checkout2 .alsendo-connect-checkout-locker-point {
	display: none !important;
}

.ez-review tfoot .ez-shiprow th,
.ez-review tfoot .ez-shiprow td {
	font-weight: 400;
}

/* Sekcja płatności w kolumnie głównej */
.ez-checkout2__payments {
	margin-top: var(--space-6);
	padding: var(--space-5);
	background: var(--ez-gray-bg);
	border-radius: var(--radius-lg);
}

.ez-checkout2__payments-title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 var(--space-4);
}

.ez-checkout2__payments #payment {
	background: transparent;
}

/* Zgody formalne */
.ez-consents {
	margin-top: var(--space-5);
}

.ez-consents__title {
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 var(--space-3);
}

.ez-consents__item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	padding: var(--space-2) 0;
	font-size: 13px;
	line-height: 1.45;
	cursor: pointer;
}

.ez-consents__item input {
	margin-top: 2px;
	accent-color: var(--ez-black);
}

.ez-consents__master {
	font-weight: 700;
	border-bottom: 1px solid var(--ez-border);
	padding-bottom: var(--space-3);
	margin-bottom: var(--space-2);
}

/* Wymagana zgoda niezaznaczona — czerwone oznaczenie */
.ez-consents__item.is-error {
	color: var(--ez-sale);
}

.ez-consents__item.is-error input {
	accent-color: var(--ez-sale);
	outline: 2px solid var(--ez-sale);
	outline-offset: 1px;
}

.ez-consents__item.is-error a {
	color: var(--ez-sale);
}

/* Przycisk zamówienia w sidebarze */
.ez-placeorder {
	width: 100%;
	margin-top: var(--space-4);
	padding: 16px 28px;
	background: var(--ez-black);
	color: var(--ez-white);
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	font-size: 16px;
	font-weight: 700;
	font-family: var(--ez-font);
	cursor: pointer;
}

.ez-placeorder:hover {
	background: var(--ez-white);
	color: var(--ez-black);
}

/* Sekcja „Dane do wysyłki" — nagłówek + toggle */
.ez-shipping__title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 var(--space-4);
}

.ez-shipping__toggle {
	margin: 0 0 var(--space-4);
	padding: var(--space-3) var(--space-4);
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
}

.ez-shipping__toggle .woocommerce-form__label {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin: 0;
}

/* Aktywna karta dostawy — wypełniona czarna kropka w radio */
.ez-shipcard.is-active .ez-shiptype__check {
	border-color: var(--ez-black);
}

.ez-shipcard.is-active .ez-shiptype__check::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--ez-black);
}

/* Komunikaty błędów w kasie — na całą szerokość grida (nie rozjeżdżają kolumn) */
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout form.checkout > .woocommerce-error,
.woocommerce-checkout form.checkout > .woocommerce-message,
.woocommerce-checkout form.checkout > .woocommerce-info {
	grid-column: 1 / -1;
}

/* Karta dostawy z błędem (brak wybranego punktu) */
.ez-shipcard--error {
	border-color: var(--ez-sale) !important;
	box-shadow: 0 0 0 1px var(--ez-sale) !important;
}

.ez-shipcard--error .ez-shipcard__pick {
	background: var(--ez-sale);
	border-color: var(--ez-sale);
	color: var(--ez-white);
}

.ez-shipcard__errormsg {
	font-size: 13px;
	font-weight: 600;
	color: var(--ez-sale);
}

/* ==========================================================================
   Strona podziękowania (order-received)
   ========================================================================== */
.ez-thankyou {
	max-width: 820px;
	margin: 0 auto;
}

.ez-thankyou__hero {
	text-align: center;
	padding: 8px 0 32px;
}

.ez-thankyou__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--ez-success);
	color: var(--ez-white);
}

.ez-thankyou__hero--failed .ez-thankyou__icon {
	background: var(--ez-sale);
}

.ez-thankyou__title {
	margin: 0 0 12px;
	font-size: 32px;
	font-weight: 300;
	text-transform: uppercase;
	color: var(--ez-black);
}

.ez-thankyou__lead {
	max-width: 540px;
	margin: 0 auto 14px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ez-gray-text);
}

.ez-thankyou__ordernum {
	margin: 0;
	font-size: 15px;
	color: var(--ez-black);
}

/* Banery: punkty Klubu + szacowana dostawa */
.ez-thankyou__banners {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 32px;
}

.ez-thankyou__banner {
	flex: 1 1 240px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-radius: var(--radius-md);
	background: var(--ez-gray-bg);
	font-size: 15px;
	color: var(--ez-black);
}

.ez-thankyou__banner strong {
	font-weight: 700;
}

.ez-thankyou__banner-icon {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
}

.ez-thankyou__banner svg {
	width: 28px;
	height: 28px;
}

.ez-thankyou__banner--delivery .ez-thankyou__banner-icon {
	color: var(--ez-black);
}

/* Karty podsumowania */
.ez-thankyou__overview {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1px;
	background: var(--ez-border);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.ez-thankyou__overview li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px;
	background: var(--ez-white);
}

.ez-thankyou__ov-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ez-gray-text);
}

.ez-thankyou__ov-value {
	font-size: 16px;
	font-weight: 600;
	color: var(--ez-black);
	word-break: break-word;
}

/* „Co dalej?" */
.ez-thankyou__next {
	margin: 0 0 8px;
}

.ez-thankyou__next-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--ez-black);
}

.ez-thankyou__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.ez-thankyou__steps li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.ez-thankyou__step-num {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ez-white);
	border: 1.5px solid var(--ez-black);
	color: var(--ez-black);
	font-size: 14px;
	font-weight: 600;
}

.ez-thankyou__steps li div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ez-thankyou__steps strong {
	font-size: 15px;
	color: var(--ez-black);
}

.ez-thankyou__steps span {
	font-size: 14px;
	color: var(--ez-gray-text);
}

/* Szczegóły zamówienia (domyślne tabele Woo pod hookiem woocommerce_thankyou) */
.ez-thankyou .woocommerce-order-details,
.ez-thankyou .woocommerce-customer-details {
	margin-top: 40px;
}

.ez-thankyou .woocommerce-order-details__title,
.ez-thankyou .woocommerce-column__title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--ez-black);
}

.ez-thankyou .woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.ez-thankyou .woocommerce-table--order-details th,
.ez-thankyou .woocommerce-table--order-details td {
	padding: 12px 8px;
	text-align: left;
	border-bottom: 1px solid var(--ez-border);
}

.ez-thankyou .woocommerce-table--order-details tfoot th,
.ez-thankyou .woocommerce-table--order-details tfoot td {
	font-weight: 600;
}

.ez-thankyou .woocommerce-table--order-details .woocommerce-Price-amount {
	white-space: nowrap;
}

.ez-thankyou .woocommerce-order-details .wc-item-meta,
.ez-thankyou .woocommerce-order-details .wc-item-meta li {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--ez-gray-text);
}

.ez-thankyou .woocommerce-customer-details address {
	padding: 16px 20px;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
	font-style: normal;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ez-black);
}

.ez-thankyou .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin: 0;
}

/* Nadpisanie .col2-set z CSS Woo (width:48% liczone od toru grida zamiast wypełnienia kolumny) */
.ez-thankyou .woocommerce-columns--addresses .woocommerce-column.col-1,
.ez-thankyou .woocommerce-columns--addresses .woocommerce-column.col-2 {
	width: auto;
	float: none;
	max-width: none;
}

/* Clearfix Woo (::before/::after z content:" " + display:table) wchodzi jako
   element siatki i spycha adresy o jedną kolumnę w prawo — wyłączamy go tu.
   Specyficzność wyższa niż .woocommerce .woocommerce-columns--addresses::before
   z arkusza Woo (ładuje się po stylu motywu). */
.woocommerce .ez-thankyou .woocommerce-columns--addresses::before,
.woocommerce .ez-thankyou .woocommerce-columns--addresses::after {
	content: none;
	display: none;
}

/* Przyciski akcji */
.ez-thankyou__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 40px 0 0;
}

@media (max-width: 600px) {
	.ez-thankyou__title {
		font-size: 26px;
	}

	.ez-thankyou__actions .ez-btn {
		flex: 1 1 100%;
	}
}

/* ==========================================================================
   Infinite scroll (mobile) — js/infinite-scroll.js
   ========================================================================== */

.ez-infscroll-sentinel {
	height: 1px;
}

.ez-infscroll-status {
	padding: 16px;
	text-align: center;
	font-size: 14px;
	color: #777;
}

.ez-infscroll-status.is-loading::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	vertical-align: -2px;
	border: 2px solid #ddd;
	border-top-color: var(--ez-black);
	border-radius: 50%;
	animation: ez-infscroll-spin .7s linear infinite;
}

@keyframes ez-infscroll-spin {
	to {
		transform: rotate(360deg);
	}
}

.ez-infscroll-more {
	margin: 8px 16px 16px;
}

/* Paginacja chowana tylko gdy skrypt działa (fallback bez JS zostaje). */
@media (max-width: 820px) {
	body.ez-infscroll-on .woocommerce-pagination {
		display: none;
	}
}

/* ==========================================================================
   Newsletter — sekcja na stronie głównej (inc/newsletter.php)
   Czarny panel w klimacie Klubu Elity + pole zapisu w pigułce.
   ========================================================================== */

.ez-newsletter {
	max-width: var(--ez-container);
	margin: 0 auto 48px;
	padding: 0 16px;
}

.ez-newsletter__panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	background: var(--ez-black);
	color: #fff;
	border-radius: 8px;
	padding: 44px 48px;
	overflow: hidden;
}

/* Dekoracyjna koperta w tle. */
.ez-newsletter__panel::after {
	content: '';
	position: absolute;
	right: -30px;
	top: 50%;
	width: 260px;
	height: 260px;
	transform: translateY(-50%) rotate(-12deg);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='0.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") no-repeat center / contain;
	opacity: .07;
	pointer-events: none;
}

.ez-newsletter__text {
	position: relative;
	flex: 1 1 46%;
}

.ez-newsletter__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: var(--ez-black);
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	margin-bottom: 14px;
}

.ez-newsletter__title {
	margin: 0 0 10px;
	font-size: 26px;
	line-height: 1.25;
	color: #fff;
}

.ez-newsletter__text p {
	margin: 0;
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
	line-height: 1.55;
}

.ez-newsletter__form {
	position: relative;
	flex: 1 1 54%;
	max-width: 520px;
}

/* Pigułka: ikona + pole + przycisk w jednej zaokrąglonej obudowie. */
.ez-newsletter__field {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-radius: 999px;
	padding: 6px 6px 6px 18px;
	color: var(--ez-gray-text);
	transition: box-shadow .15s ease;
}

.ez-newsletter__field:focus-within {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}

.ez-newsletter__field svg {
	flex: none;
}

.ez-newsletter__field input[type="email"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 10px 0;
	font-size: 15px;
	color: var(--ez-black);
}

.ez-newsletter__field input[type="email"]:focus {
	outline: none;
}

.ez-newsletter__field input[type="email"]::placeholder {
	color: #9a9a9a;
}

.ez-newsletter__field button {
	flex: none;
	border: 0;
	border-radius: 999px;
	background: var(--ez-black);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 12px 26px;
	cursor: pointer;
	transition: opacity .15s ease, transform .15s ease;
}

.ez-newsletter__field button:hover {
	opacity: .85;
}

.ez-newsletter__field button:active {
	transform: scale(.97);
}

.ez-newsletter__field button:disabled {
	opacity: .5;
	cursor: default;
}

.ez-newsletter__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.ez-newsletter__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 14px;
	font-size: 12px;
	color: rgba(255, 255, 255, .6);
	line-height: 1.45;
}

.ez-newsletter__consent input {
	margin-top: 2px;
	accent-color: #fff;
}

.ez-newsletter__consent a {
	color: #fff;
	text-decoration: underline;
}

.ez-newsletter__msg {
	margin: 10px 0 0;
	font-size: 14px;
	min-height: 20px;
}

.ez-newsletter__msg.is-ok {
	color: #8be0a6;
	font-weight: 600;
}

.ez-newsletter__msg.is-err {
	color: #ff9faa;
	font-weight: 600;
}

@media (max-width: 820px) {
	.ez-newsletter__panel {
		flex-direction: column;
		align-items: stretch;
		gap: 22px;
		padding: 28px 22px;
	}

	.ez-newsletter__panel::after {
		width: 150px;
		height: 150px;
		right: -20px;
		top: 0;
		transform: rotate(-12deg);
	}

	.ez-newsletter__form {
		max-width: none;
	}

	.ez-newsletter__field {
		flex-wrap: wrap;
		border-radius: 24px;
		padding: 8px;
	}

	.ez-newsletter__field svg {
		margin-left: 10px;
	}

	.ez-newsletter__field button {
		width: 100%;
		margin-top: 4px;
	}
}

/* ==========================================================================
   Blog: single, home, archive, category, tag
   ========================================================================== */

.ez-blog {
	padding: 48px 16px;
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 48px;
	align-items: start;
}

.ez-blog--single {
	gap: 64px;
}

.ez-blog-main {
	min-width: 0;
}

/* Sidebar */
.ez-blog-sidebar {
	position: sticky;
	top: calc(var(--ez-header-h) + 24px);
	align-self: start;
}

.ez-blog-sidebar__section + .ez-blog-sidebar__section {
	margin-top: 40px;
}

.ez-blog-sidebar__title {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 0 0 16px;
}

/* Kafelki tematów */
.ez-blog-sidebar__tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.ez-blog-sidebar__tile {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--ez-gray-bg);
}

.ez-blog-sidebar__tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
	z-index: 1;
	transition: background .2s ease;
}

.ez-blog-sidebar__tile:hover::before {
	background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.65) 100%);
}

.ez-blog-sidebar__tile-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.ez-blog-sidebar__tile:hover .ez-blog-sidebar__tile-img {
	transform: scale(1.06);
}

.ez-blog-sidebar__tile-label {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	color: var(--ez-white);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.ez-blog-sidebar__tile-label small {
	font-weight: 400;
	opacity: .85;
}

.ez-blog-sidebar__tile:hover {
	text-decoration: none;
}

/* Najnowsze wpisy w sidebarze */
.ez-blog-sidebar__recent {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ez-blog-sidebar__recent li + li {
	margin-top: 14px;
}

.ez-blog-sidebar__recent a {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ez-blog-sidebar__recent a:hover {
	text-decoration: none;
}

.ez-blog-sidebar__recent-thumb {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-sm);
	object-fit: cover;
	flex: 0 0 auto;
	background: var(--ez-gray-bg);
}

.ez-blog-sidebar__recent-thumb--empty {
	display: inline-block;
}

.ez-blog-sidebar__recent-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ez-blog-sidebar__recent-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ez-black);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ez-blog-sidebar__recent a:hover .ez-blog-sidebar__recent-title {
	color: var(--ez-gray-text);
}

.ez-blog-sidebar__recent time {
	font-size: 12px;
	color: var(--ez-gray-text);
}

/* Nagłówek archiwum / home */
.ez-blog-header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--ez-border);
}

.ez-blog-header__title {
	font-size: 32px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin: 0 0 8px;
}

.ez-blog-header__desc {
	color: var(--ez-gray-text);
	font-size: 15px;
	margin: 0 0 8px;
}

.ez-blog-header__count {
	font-size: 13px;
	color: var(--ez-gray-text);
	margin: 0;
}

/* Grid wpisów */
.ez-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 24px;
	margin-bottom: 40px;
}

/* Karta wpisu */
.ez-blog-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ez-blog-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--ez-gray-bg);
}

.ez-blog-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.ez-blog-card__media:hover .ez-blog-card__img {
	transform: scale(1.04);
}

.ez-blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ez-blog-card__cat {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ez-gray-text);
	width: fit-content;
}

.ez-blog-card__cat:hover {
	color: var(--ez-black);
}

.ez-blog-card__title {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
	margin: 0;
}

.ez-blog-card__title a {
	color: var(--ez-black);
}

.ez-blog-card__title a:hover {
	color: var(--ez-gray-text);
	text-decoration: none;
}

.ez-blog-card__excerpt {
	font-size: 14px;
	color: var(--ez-gray-text);
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ez-blog-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: var(--ez-gray-text);
	margin-top: auto;
	padding-top: 4px;
}

/* Strona pojedynczego wpisu */
.ez-blog-post {
	min-width: 0;
	max-width: 760px;
}

.ez-blog-post__cats {
	margin-bottom: 12px;
}

.ez-blog-post__cats a {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ez-gray-text);
}

.ez-blog-post__cats a:hover {
	color: var(--ez-black);
}

.ez-blog-post__title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 16px;
}

.ez-blog-post__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--ez-gray-text);
	margin-bottom: 28px;
}

.ez-blog-post__sep {
	color: var(--ez-border);
}

.ez-blog-post__featured {
	margin: 0 0 32px;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--ez-gray-bg);
}

.ez-blog-post__featured img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.ez-blog-post__content {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ez-black);
}

.ez-blog-post__content > *:first-child {
	margin-top: 0;
}

.ez-blog-post__content h2,
.ez-blog-post__content h3,
.ez-blog-post__content h4 {
	font-weight: 500;
	margin: 36px 0 16px;
	line-height: 1.3;
}

.ez-blog-post__content h2 {
	font-size: 24px;
}

.ez-blog-post__content h3 {
	font-size: 20px;
}

.ez-blog-post__content p,
.ez-blog-post__content ul,
.ez-blog-post__content ol {
	margin: 0 0 18px;
}

.ez-blog-post__content ul,
.ez-blog-post__content ol {
	padding-left: 24px;
}

.ez-blog-post__content li {
	margin-bottom: 8px;
}

.ez-blog-post__content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ez-blog-post__content img {
	border-radius: var(--radius-md);
}

.ez-blog-post__content blockquote {
	margin: 24px 0;
	padding: 20px 24px;
	border-left: 3px solid var(--ez-black);
	background: var(--ez-gray-bg);
	font-style: italic;
}

.ez-blog-post__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--ez-border);
	font-size: 14px;
}

.ez-blog-post__tags strong {
	font-weight: 600;
}

.ez-blog-post__tags a {
	background: var(--ez-gray-bg);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	transition: background .15s ease;
}

.ez-blog-post__tags a:hover {
	background: var(--ez-gray-bg-2);
	text-decoration: none;
}

.ez-blog-post__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 40px;
}

.ez-blog-post__nav a {
	padding: 18px;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-md);
	transition: border-color .15s ease, background .15s ease;
}

.ez-blog-post__nav a:hover {
	border-color: var(--ez-black);
	background: var(--ez-gray-bg);
	text-decoration: none;
}

.ez-blog-post__nav span {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ez-gray-text);
	margin-bottom: 6px;
}

.ez-blog-post__nav strong {
	display: block;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ez-black);
}

.ez-blog-post__nav-next {
	text-align: right;
}

/* Paginacja */
.ez-blog .pagination,
.ez-blog .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.ez-blog .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 600;
	transition: background .15s ease, border-color .15s ease;
}

.ez-blog .page-numbers:hover {
	background: var(--ez-gray-bg);
	border-color: var(--ez-black);
	text-decoration: none;
}

.ez-blog .page-numbers.current {
	background: var(--ez-black);
	border-color: var(--ez-black);
	color: var(--ez-white);
}

.ez-blog-empty {
	color: var(--ez-gray-text);
	font-size: 16px;
}

/* Rail produktów w prawej kolumnie wpisu */
.ez-blog--has-products {
	grid-template-columns: 280px minmax(0, 1fr) 320px;
}

.ez-blog-products {
	position: sticky;
	top: calc(var(--ez-header-h) + 24px);
	align-self: start;
	min-width: 0;
}

.ez-blog-products__title {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 0 0 16px;
	color: #111;
}

.ez-blog-products__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ez-blog-product {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 14px;
	align-items: center;
	padding: 14px;
	border: 1px solid #eee;
	border-radius: 14px;
	background: #fff;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.ez-blog-product:hover {
	border-color: #ddd;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.ez-blog-product__media {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 10px;
	overflow: hidden;
	background: #f6f6f6;
	flex-shrink: 0;
}

.ez-blog-product__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ez-blog-product__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ez-blog-product__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #111;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ez-blog-product__title:hover {
	text-decoration: underline;
}

.ez-blog-product__price {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.ez-blog-product__price del {
	font-weight: 400;
	opacity: .55;
	margin-right: 6px;
}

.ez-blog-product__price ins {
	text-decoration: none;
}

.ez-blog-product__price .woocommerce-Price-amount {
	white-space: nowrap;
}

.ez-blog-product__btn.button {
	align-self: flex-start;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1;
	padding: 9px 14px;
}

/* RWD blog */
@media (max-width: 1024px) {
	.ez-blog {
		grid-template-columns: 240px 1fr;
		gap: 32px;
	}

	.ez-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 820px) {
	.ez-blog {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.ez-blog-sidebar {
		position: static;
		order: 1;
	}

	.ez-blog-main,
	.ez-blog-post {
		order: 0;
	}

	.ez-blog-sidebar__tiles {
		grid-template-columns: repeat(3, 1fr);
	}

	.ez-blog-sidebar__recent {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.ez-blog-sidebar__recent li + li {
		margin-top: 0;
	}

	.ez-blog-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px 16px;
	}
}

@media (max-width: 480px) {
	.ez-blog {
		padding: 32px 16px;
	}

	.ez-blog-sidebar__tiles {
		grid-template-columns: repeat(2, 1fr);
	}

	.ez-blog-sidebar__recent {
		grid-template-columns: 1fr;
	}

	.ez-blog-grid {
		grid-template-columns: 1fr;
	}

	.ez-blog-post__nav {
		grid-template-columns: 1fr;
	}

	.ez-blog-post__nav-next {
		text-align: left;
	}
}

/* RWD rail produktów — poniżej 1024 spada pod treść jako pełna szerokość */
@media (max-width: 1024px) {
	.ez-blog--has-products {
		grid-template-columns: 240px 1fr;
	}

	.ez-blog-products {
		grid-column: 1 / -1;
		position: static;
	}

	.ez-blog-products__list {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.ez-blog-product {
		flex: 1 1 240px;
	}
}

@media (max-width: 820px) {
	.ez-blog-products {
		order: 0;
	}
}

@media (max-width: 480px) {
	.ez-blog-product {
		flex-basis: 100%;
	}
}

/* ---- 404 ---- */
.ez-404 { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; text-align: center; }
.ez-404__code { font-size: 72px; font-weight: 800; line-height: 1; color: var(--ez-accent, #f59e0b); margin: 0 0 8px; }
.ez-404__title { font-size: 28px; margin: 0 0 12px; }
.ez-404__lead { color: #555; margin: 0 0 24px; }
.ez-404__search { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 32px; }
.ez-404__search input[type="search"] { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #d0d0d0; border-radius: 8px; font-size: 16px; }
.ez-404__h2 { font-size: 18px; margin: 0 0 12px; }
.ez-404__list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ez-404__list a { display: inline-block; padding: 8px 14px; border: 1px solid #ddd; border-radius: 999px; text-decoration: none; color: inherit; }
.ez-404__list a:hover { border-color: var(--ez-accent, #f59e0b); }
.ez-404__links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; font-weight: 600; }

/* ==========================================================================
   Formularz kontaktowy /kontakt/
   ========================================================================== */
.ez-page--contact .ez-contact__content {
	margin-bottom: 48px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--ez-black);
}

.ez-page--contact .ez-contact__content p {
	margin: 0 0 10px;
}

.ez-contact {
	max-width: 760px;
	margin: 0 0 80px;
	padding: 40px;
	background: var(--ez-gray-bg);
	border-radius: var(--radius-lg);
}

.ez-contact__title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 10px;
	color: var(--ez-black);
}

.ez-contact__lead {
	font-size: 15px;
	color: var(--ez-gray-text);
	margin: 0 0 32px;
	line-height: 1.5;
}

.ez-contact__notice {
	padding: 14px 18px;
	border-radius: var(--ez-radius);
	margin-bottom: 28px;
	font-size: 14px;
	line-height: 1.5;
}

.ez-contact__notice--success {
	background: #e8f5e9;
	border: 1px solid #a5d6a7;
	color: #1b5e20;
}

.ez-contact__notice--error {
	background: #ffebee;
	border: 1px solid #ef9a9a;
	color: #b71c1c;
}

.ez-contact__row {
	display: grid;
	gap: 20px;
}

.ez-contact__row + .ez-contact__row,
.ez-contact__row + .ez-contact__field,
.ez-contact__field + .ez-contact__field {
	margin-top: 24px;
}

.ez-contact__row--2 {
	grid-template-columns: repeat(2, 1fr);
}

.ez-contact__field {
	margin: 0;
}

.ez-contact__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--ez-black);
}

.ez-contact__required {
	color: var(--ez-sale);
}

.ez-contact__input,
.ez-contact__select,
.ez-contact__textarea {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	background: var(--ez-white);
	font-family: var(--ez-font);
	font-size: 15px;
	line-height: 1.4;
	color: var(--ez-black);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.ez-contact__input:focus,
.ez-contact__select:focus,
.ez-contact__textarea:focus {
	outline: none;
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
}

.ez-contact__select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236a6a6a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 42px;
}

.ez-contact__textarea {
	resize: vertical;
	min-height: 140px;
}

.ez-contact__field--order[hidden] {
	display: none;
}

.ez-contact__turnstile {
	margin-top: 12px;
	min-height: 65px;
}

.ez-contact__actions {
	margin-top: 28px;
}

.ez-contact__actions .ez-btn {
	width: 100%;
	min-height: 56px;
	padding: 16px 28px;
	font-size: 16px;
	font-weight: 600;
}

@media (max-width: 600px) {
	.ez-contact {
		padding: 24px;
		margin-bottom: 48px;
	}

	.ez-contact__row--2 {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Kanały kontaktowe na stronie /kontakt/
   ========================================================================== */
.ez-contact__channels {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 0 0 40px;
}

.ez-contact__channel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 24px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	text-decoration: none;
	color: inherit;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.ez-contact__channel:hover {
	border-color: var(--ez-accent, #f59e0b);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
	transform: translateY(-2px);
}

.ez-contact__channel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ez-gray-bg);
	color: var(--ez-accent, #f59e0b);
}

.ez-contact__channel-icon .ez-icon {
	width: 22px;
	height: 22px;
}

.ez-contact__channel-label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ez-gray-text);
}

.ez-contact__channel-value {
	font-size: 18px;
	font-weight: 800;
	color: var(--ez-black);
	line-height: 1.3;
}

@media (max-width: 600px) {
	.ez-contact__channels {
		grid-template-columns: 1fr;
	}

	.ez-contact__channel {
		padding: 20px;
	}

	.ez-contact__channel-value {
		font-size: 16px;
	}
}

/* ==========================================================================
   Formularz zwrotów Baselinker
   ========================================================================== */
.ez-returns-iframe {
	margin: 32px 0 48px;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--ez-white);
}

.ez-returns-iframe iframe {
	display: block;
	width: 100%;
	min-height: 600px;
	border: 0;
}

/* ==========================================================================
   Moje konto — sekcja Adresy
   ========================================================================== */
.ez-addresses__lead {
	font-size: 14px;
	line-height: 1.55;
	color: var(--ez-gray-text, #666);
	margin: 0 0 20px;
}

.woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 0;
}

.woocommerce-Address {
	padding: 0;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 18px 20px;
	background: var(--ez-gray-bg, #f7f7f7);
	border-bottom: 1px solid var(--ez-border);
}

.woocommerce-Address-title h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	color: var(--ez-black);
}

.woocommerce-Address-title__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: 50%;
	color: var(--ez-black);
}

.woocommerce-Address-title__icon .ez-icon {
	width: 16px;
	height: 16px;
}

.woocommerce-Address address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.65;
	color: var(--ez-black);
	margin: 0;
	padding: 20px;
	flex: 1;
}

.woocommerce-Address address br {
	margin-bottom: 4px;
}

.woocommerce-Address__empty {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ez-gray-text, #666);
}

.woocommerce-Address__empty .ez-icon {
	width: 18px;
	height: 18px;
	flex: none;
}

.woocommerce-Address-title .edit {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ez-black);
	text-decoration: none;
	padding: 7px 12px;
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	transition: border-color .15s, background .15s;
}

.woocommerce-Address-title .edit .ez-icon {
	width: 14px;
	height: 14px;
}

.woocommerce-Address-title .edit:hover {
	border-color: var(--ez-black);
	background: var(--ez-gray-bg);
}

.woocommerce-Address--empty .woocommerce-Address-title h3,
.woocommerce-Address--empty .woocommerce-Address-title__icon {
	color: var(--ez-gray-text, #666);
}

/* Formularz edycji adresu */
.woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper {
	margin: 0 0 20px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
	margin: 0 0 18px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 6px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .input-text,
.woocommerce-MyAccount-content .woocommerce-address-fields select {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	background: var(--ez-white);
	font-family: var(--ez-font);
	font-size: 15px;
	color: var(--ez-black);
	transition: border-color .15s, box-shadow .15s;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .input-text:focus,
.woocommerce-MyAccount-content .woocommerce-address-fields select:focus {
	outline: none;
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
}

.woocommerce-MyAccount-content .woocommerce-address-fields .select2-container .select2-selection--single {
	height: 48px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
}

.woocommerce-MyAccount-content .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 46px;
	padding-left: 14px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields button[type="submit"] {
	min-height: 52px;
	padding: 14px 28px;
	border: 0;
	border-radius: var(--ez-radius);
	background: var(--ez-black);
	color: var(--ez-white);
	font-family: var(--ez-font);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .15s;
}

.woocommerce-MyAccount-content .woocommerce-address-fields button[type="submit"]:hover {
	opacity: .85;
}

@media (max-width: 600px) {
	.woocommerce-Addresses {
		grid-template-columns: 1fr;
	}

	.woocommerce-Address {
		padding: 20px;
	}
}

/* ==========================================================================
   Formularz reklamacji
   ========================================================================== */
.ez-claim {
	max-width: 720px;
}

.ez-claim__title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--ez-black);
}

.ez-claim__lead {
	font-size: 14px;
	line-height: 1.55;
	color: var(--ez-gray-text, #666);
	margin: 0 0 24px;
}

.ez-claim__notice {
	padding: 14px 16px;
	border-radius: var(--ez-radius);
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.5;
}

.ez-claim__notice--success {
	background: #e9f7ef;
	color: #1e7e34;
	border: 1px solid #b8e0c8;
}

.ez-claim__notice--error {
	background: #fdedee;
	color: #b32d2e;
	border: 1px solid #f5c5c6;
}

.ez-claim__row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.ez-claim__field {
	margin: 0 0 18px;
}

.ez-claim__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--ez-black);
}

.ez-claim__required {
	color: #b32d2e;
}

.ez-claim__input,
.ez-claim__textarea,
.ez-claim__file {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	background: var(--ez-white);
	font-family: var(--ez-font);
	font-size: 15px;
	color: var(--ez-black);
	transition: border-color .15s, box-shadow .15s;
}

.ez-claim__input:focus,
.ez-claim__textarea:focus {
	outline: none;
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
}

.ez-claim__textarea {
	resize: vertical;
}

.ez-claim__file {
	padding: 10px 14px;
	font-size: 14px;
}

.ez-claim__hint {
	font-size: 12px;
	color: var(--ez-gray-text, #666);
	margin: 6px 0 0;
}

.ez-claim__file-list {
	margin: 10px 0 0;
}

.ez-claim__file-item {
	font-size: 13px;
	color: var(--ez-black);
	padding: 6px 0;
	border-bottom: 1px solid var(--ez-border);
}

.ez-claim__file-item:last-child {
	border-bottom: 0;
}

.ez-claim__consent {
	margin: 8px 0 20px;
}

.ez-claim__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ez-black);
	cursor: pointer;
}

.ez-claim__checkbox input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	flex: none;
}

.ez-claim__turnstile {
	margin: 0 0 20px;
}

.ez-claim__actions {
	margin: 8px 0 0;
}

.ez-claim__actions .ez-btn {
	min-height: 52px;
	padding: 14px 32px;
	font-size: 15px;
	font-weight: 600;
}

@media (max-width: 600px) {
	.ez-claim__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* ---- Cena katalogowa producenta (MSRP, informacyjna) ---- */
.ez-priceblock__msrp { display: block; margin-top: 4px; font-size: 13px; color: #666; }
.ez-priceblock__msrp .amount { text-decoration: line-through; }
.ez-card__price-msrp { display: block; font-size: 12px; color: #777; }
.ez-card__price-msrp .amount { text-decoration: line-through; }

/* ==========================================================================
   Moje konto — formularz edycji danych (edit-account)
   ========================================================================== */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm {
	max-width: 720px;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .ez-account-section {
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	padding: 24px;
	margin: 0 0 24px;
	background: var(--ez-white);
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm legend {
	font-size: 15px;
	font-weight: 700;
	padding: 0 10px;
	color: var(--ez-black);
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row {
	margin: 0 0 18px;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-wide,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-first,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-last {
	float: none;
	width: 100%;
	clear: both;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--ez-black);
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .input-text,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="email"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="password"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="text"] {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	background: var(--ez-white);
	font-family: var(--ez-font);
	font-size: 15px;
	color: var(--ez-black);
	transition: border-color .15s, box-shadow .15s;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .input-text:focus,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input:focus {
	outline: none;
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm em,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row em {
	font-size: 12px;
	color: var(--ez-gray-text, #666);
	font-style: normal;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"] {
	min-height: 52px;
	padding: 14px 28px;
	border: 0;
	border-radius: var(--ez-radius);
	background: var(--ez-black);
	color: var(--ez-white);
	font-family: var(--ez-font);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .15s;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"]:hover {
	opacity: .85;
}

/* ==========================================================================
   Moje konto — pozostałe zakładki (zamówienia, płatności, pobrania)
   ========================================================================== */

/* Karty / boxy w treści konta */
.woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-MyAccount-content .woocommerce-PaymentMethods,
.woocommerce-MyAccount-content .woocommerce-Downloads,
.woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-MyAccount-content .woocommerce-customer-details {
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	background: var(--ez-white);
	padding: 24px;
	margin: 0 0 24px;
}

/* Tytuły sekcji */
.woocommerce-MyAccount-content .woocommerce-order-details__title,
.woocommerce-MyAccount-content .woocommerce-customer-details__title,
.woocommerce-MyAccount-content .woocommerce-Downloads__title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 18px;
	color: var(--ez-black);
}

/* Tabela zamówień */
.woocommerce-MyAccount-content .woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-MyAccount-content .woocommerce-orders-table thead th {
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ez-gray-text, #6a6a6a);
	padding: 0 12px 12px;
	border-bottom: 1px solid var(--ez-border);
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody td {
	padding: 16px 12px;
	font-size: 14px;
	color: var(--ez-black);
	border-bottom: 1px solid var(--ez-border);
	vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:last-child td {
	border-bottom: 0;
}

.woocommerce-MyAccount-content .woocommerce-orders-table a {
	color: var(--ez-black);
	text-decoration: underline;
	font-weight: 600;
}

.woocommerce-MyAccount-content .woocommerce-orders-table a:hover {
	color: var(--ez-gray-text, #6a6a6a);
}

.woocommerce-MyAccount-content .woocommerce-orders-table .button {
	margin: 0 4px 4px 0;
	color: var(--ez-white);
	text-decoration: none;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details .button {
	color: var(--ez-white);
	text-decoration: none;
}

/* Tabela szczegółów zamówienia */
.woocommerce-MyAccount-content .woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 18px;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details thead th,
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th {
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ez-gray-text, #6a6a6a);
	padding: 12px;
	border-bottom: 1px solid var(--ez-border);
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody td,
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td {
	padding: 14px 12px;
	font-size: 14px;
	border-bottom: 1px solid var(--ez-border);
	vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th {
	border: 0;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td:last-child {
	font-weight: 700;
}

/* Metody płatności */
.woocommerce-MyAccount-content .woocommerce-PaymentMethods {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-MyAccount-content .woocommerce-PaymentMethods thead th {
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ez-gray-text, #6a6a6a);
	padding: 0 12px 12px;
	border-bottom: 1px solid var(--ez-border);
}

.woocommerce-MyAccount-content .woocommerce-PaymentMethods tbody td {
	padding: 16px 12px;
	font-size: 14px;
	border-bottom: 1px solid var(--ez-border);
	vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-PaymentMethods tbody tr:last-child td {
	border-bottom: 0;
}

/* Pobrania */
.woocommerce-MyAccount-content .woocommerce-Downloads table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-MyAccount-content .woocommerce-Downloads thead th {
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ez-gray-text, #6a6a6a);
	padding: 0 12px 12px;
	border-bottom: 1px solid var(--ez-border);
}

.woocommerce-MyAccount-content .woocommerce-Downloads tbody td {
	padding: 16px 12px;
	font-size: 14px;
	border-bottom: 1px solid var(--ez-border);
	vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-Downloads tbody tr:last-child td {
	border-bottom: 0;
}

/* Komunikaty w treści konta */
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	background: var(--ez-white);
	padding: 18px 20px;
	font-size: 14px;
	margin: 0 0 24px;
}

.woocommerce-MyAccount-content .woocommerce-error {
	border-color: #dc3545;
	background: #fff5f5;
}

.woocommerce-MyAccount-content .woocommerce-message {
	border-color: #28a745;
	background: #f6fff8;
}

/* Przyciski w treści konta */
.woocommerce-MyAccount-content .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid var(--ez-black);
	border-radius: var(--ez-radius);
	background: var(--ez-black);
	color: var(--ez-white);
	font-family: var(--ez-font);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: opacity .15s;
}

.woocommerce-MyAccount-content .button:hover {
	opacity: .85;
}

/* Adresy w szczegółach zamówienia */
.woocommerce-MyAccount-content .woocommerce-customer-details address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ez-black);
}

@media (max-width: 600px) {
	.woocommerce-MyAccount-content .woocommerce-orders-table,
	.woocommerce-MyAccount-content .woocommerce-PaymentMethods,
	.woocommerce-MyAccount-content .woocommerce-Downloads,
	.woocommerce-MyAccount-content .woocommerce-order-details,
	.woocommerce-MyAccount-content .woocommerce-customer-details {
		padding: 20px;
	}

	.woocommerce-MyAccount-content .woocommerce-orders-table thead,
	.woocommerce-MyAccount-content .woocommerce-PaymentMethods thead,
	.woocommerce-MyAccount-content .woocommerce-Downloads thead,
	.woocommerce-MyAccount-content .woocommerce-table--order-details thead {
		display: none;
	}

	.woocommerce-MyAccount-content .woocommerce-orders-table tbody td,
	.woocommerce-MyAccount-content .woocommerce-PaymentMethods tbody td,
	.woocommerce-MyAccount-content .woocommerce-Downloads tbody td,
	.woocommerce-MyAccount-content .woocommerce-table--order-details tbody td,
	.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td,
	.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th {
		display: block;
		width: 100%;
		padding: 8px 0;
		border: 0;
	}

	.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr,
	.woocommerce-MyAccount-content .woocommerce-PaymentMethods tbody tr,
	.woocommerce-MyAccount-content .woocommerce-Downloads tbody tr,
	.woocommerce-MyAccount-content .woocommerce-table--order-details tbody tr,
	.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid var(--ez-border);
	}

	.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:last-child,
	.woocommerce-MyAccount-content .woocommerce-PaymentMethods tbody tr:last-child,
	.woocommerce-MyAccount-content .woocommerce-Downloads tbody tr:last-child,
	.woocommerce-MyAccount-content .woocommerce-table--order-details tbody tr:last-child,
	.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 600px) {
	.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset,
	.woocommerce-MyAccount-content .woocommerce-EditAccountForm .ez-account-section {
		padding: 20px;
	}
}

/* ==========================================================================
   Moje konto — wspólne poprawki spójności kart
   ========================================================================== */

/* Nagłówek treści konta */
.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content > h3,
.woocommerce-MyAccount-content .woocommerce-column__title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 20px;
	color: var(--ez-black);
}

/* Puste stany / komunikaty */
.woocommerce-MyAccount-content .woocommerce-info:only-child,
.woocommerce-MyAccount-content .woocommerce-message:only-child {
	margin: 0;
}

/* Paginacja zamówień */
.woocommerce-MyAccount-content .woocommerce-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 24px;
}

.woocommerce-MyAccount-content .woocommerce-pagination .button {
	min-height: 40px;
	padding: 8px 18px;
	font-size: 13px;
}

/* Status zamówienia w tabeli */
.woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
	font-weight: 600;
}

/* Kolory statusów */
.woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-status mark {
	background: transparent;
	font-weight: 600;
	padding: 0;
}

/* Szczegóły zamówienia — adresy */
.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column {
	background: var(--ez-gray-bg);
	border-radius: var(--radius-md);
	padding: 20px;
}

.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column__title {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 12px;
}

.woocommerce-MyAccount-content .woocommerce-customer-details address {
	font-size: 14px;
	line-height: 1.65;
}

/* Tabela szczegółów zamówienia — wyróżnienie total */
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr:last-child td,
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr:last-child th {
	font-size: 16px;
	font-weight: 700;
	color: var(--ez-black);
	border-top: 2px solid var(--ez-black);
	border-bottom: 0;
}

/* Pobrania — brak plików */
.woocommerce-MyAccount-content .woocommerce-Downloads .woocommerce-info {
	margin: 0;
}

/* Metody płatności — brak zapisanych metod */
.woocommerce-MyAccount-content .woocommerce-PaymentMethods + .woocommerce-info {
	margin-top: 0;
}

/* Formularze w kontekście konta — spójne z edit-account */
.woocommerce-MyAccount-content .woocommerce-address-fields fieldset,
.woocommerce-MyAccount-content .woocommerce-address-fields .woocommerce-address-fields__field-wrapper {
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	padding: 24px;
	margin: 0 0 24px;
	background: var(--ez-white);
}

.woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
	margin: 0 0 18px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .form-row-wide,
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row-first,
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row-last {
	float: none;
	width: 100%;
	clear: both;
}

.woocommerce-MyAccount-content .woocommerce-address-fields label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--ez-black);
}

.woocommerce-MyAccount-content .woocommerce-address-fields .input-text,
.woocommerce-MyAccount-content .woocommerce-address-fields input[type="email"],
.woocommerce-MyAccount-content .woocommerce-address-fields input[type="tel"],
.woocommerce-MyAccount-content .woocommerce-address-fields input[type="text"] {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	background: var(--ez-white);
	font-size: 15px;
	color: var(--ez-black);
	transition: border-color .15s, box-shadow .15s;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .input-text:focus,
.woocommerce-MyAccount-content .woocommerce-address-fields input:focus {
	outline: none;
	border-color: var(--ez-black);
	box-shadow: 0 0 0 1px var(--ez-black);
}

@media (max-width: 600px) {
	.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns {
		grid-template-columns: 1fr;
	}

	.woocommerce-MyAccount-content .woocommerce-address-fields fieldset,
	.woocommerce-MyAccount-content .woocommerce-address-fields .woocommerce-address-fields__field-wrapper {
		padding: 20px;
	}
}

/* ==========================================================================
   Moje konto — zakładka Ulubione
   ========================================================================== */
.woocommerce-MyAccount-content .ez-wishlist-account .products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.woocommerce-MyAccount-content .ez-wishlist-account .products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}

@media (max-width: 1024px) {
	.woocommerce-MyAccount-content .ez-wishlist-account .products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.woocommerce-MyAccount-content .ez-wishlist-account .products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.woocommerce-MyAccount-content .ez-wishlist-account .products {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
}

/* ==========================================================================
   Konto → Klub Elity
   ========================================================================== */
.ez-klub-account {
	max-width: 640px;
}

.ez-klub__card {
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	padding: 24px;
	margin-top: 16px;
}

.ez-klub__card-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.ez-klub__tie {
	width: 24px;
	height: 24px;
	color: var(--ez-black);
}

.ez-klub__status {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ez-success);
}

.ez-klub__card--used .ez-klub__status {
	color: var(--ez-gray-text);
}

/* Karta punktów (zakładka Klub Elity) */
.ez-klub__card--points {
	margin-top: 0;
	margin-bottom: 16px;
}

.ez-klub__points-num {
	font-size: 40px;
	font-weight: 300;
	line-height: 1.1;
	color: var(--ez-black);
	margin: 0 0 8px;
}

.ez-klub__points-num small {
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ez-gray-text);
}

/* Historia punktów (tabela zamówień w karcie) */
.ez-klub__history {
	width: 100%;
	margin-top: 16px;
	border-collapse: collapse;
	font-size: 14px;
}

.ez-klub__history th,
.ez-klub__history td {
	padding: 10px 8px;
	text-align: left;
	border-bottom: 1px solid var(--ez-border);
}

.ez-klub__history th {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ez-gray-text);
}

.ez-klub__history td a {
	color: var(--ez-black);
	text-decoration: underline;
}

/* Wymiana punktów na kod rabatowy */
.ez-klub__redeem {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--ez-border);
}

.ez-klub__history--codes {
	margin-bottom: 24px;
}

.ez-klub__revert {
	margin: 0;
}

.ez-klub__revert .ez-btn {
	font-size: 12px;
	padding: 8px 14px;
}

/* Hover buttonów w kartach Klubu — reguła WooCommerce (background:#dcd7e2)
   ma wyższą specyficzność niż .ez-btn:hover i ładuje się po stylu motywu,
   więc bez tego nadpisania hover wyglądał niezgodnie z wizualnem sklepu. */
.woocommerce-account .woocommerce-MyAccount-content .button:not(:disabled):not(.disabled):hover {
	background: var(--ez-white);
	color: var(--ez-black);
	border-color: var(--ez-black);
	opacity: 1;
}

.woocommerce-account .woocommerce-MyAccount-content .button.ez-btn--outline:not(:disabled):not(.disabled):hover {
	background: var(--ez-black);
	color: var(--ez-white);
}

/* Wspólne stany akcji w panelu, także po załadowaniu stylów WooCommerce. */
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .button {
	min-height: 44px;
	max-width: 100%;
	gap: 8px;
	border: 1px solid var(--ez-black);
	background: var(--ez-black);
	color: var(--ez-white);
	line-height: 1.4;
	white-space: normal;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s, color .15s, border-color .15s;
}
.woocommerce-account .woocommerce-MyAccount-content .button.ez-btn--outline {
	background: var(--ez-white);
	color: var(--ez-black);
}
.woocommerce-account .woocommerce-MyAccount-content .button:is(:disabled, .disabled) {
	opacity: .5;
	cursor: not-allowed;
}
.woocommerce-account :is(.woocommerce-MyAccount-content, .ez-acct-nav) :is(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--ez-black);
	outline-offset: 3px;
}
.woocommerce-account .ez-acct-nav li a {
	min-height: 44px;
	transition: background-color .15s, color .15s;
}
.woocommerce-account .ez-acct-nav li a:is(:hover, [aria-current="page"]) {
	background: var(--ez-gray-bg);
	color: var(--ez-black);
}
.ez-acct-nav__soon {
	flex: none;
	padding: 3px 6px;
	border-radius: 4px;
	background: var(--ez-gray-bg);
	color: var(--ez-gray-text);
	font-size: 10px;
	font-weight: 500;
}
/* Komunikaty nie mogą zajmować kolumny przeznaczonej na nawigację. */
body.logged-in.woocommerce-account .ez-page .woocommerce > :is(.woocommerce-notices-wrapper, .woocommerce-error, .woocommerce-message, .woocommerce-info) {
	grid-column: 1 / -1;
	order: -2;
}
.woocommerce-account .woocommerce-notices-wrapper:empty {
	display: none;
}
.woocommerce-account .woocommerce-MyAccount-content :is(.ez-acct-info, .ez-acct-ph, .ez-wishlist-empty) {
	padding: 24px;
	margin: 0 0 20px;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
	background: var(--ez-white);
	overflow-wrap: anywhere;
}
.woocommerce-account .woocommerce-MyAccount-content :is(.ez-prefs, .ez-klub-account) {
	max-width: 720px;
}
.woocommerce-account .ez-klub__card {
	border-radius: var(--radius-lg);
}
.woocommerce-account .ez-prefs .ez-onb__group {
	padding: 20px;
	border: 1px solid var(--ez-border);
	border-radius: var(--radius-lg);
}
.woocommerce-account .ez-onb__tile:hover .ez-onb__tile-inner,
.woocommerce-account :is(.ez-onb__opt-row, .ez-onb__radio):hover {
	border-color: var(--ez-black);
}
.woocommerce-account .woocommerce-Address-title {
	flex-wrap: wrap;
}
.woocommerce-account .woocommerce-Address-title .edit {
	min-height: 44px;
}
.woocommerce-account .ez-klub__table-scroll {
	max-width: 100%;
	overflow-x: auto;
}
.woocommerce-account .ez-klub__table-scroll:focus-visible {
	outline: 2px solid var(--ez-black);
	outline-offset: 3px;
}
.ez-returns-iframe > p {
	margin: 16px;
}
.woocommerce-account .ez-klub__history code {
	overflow-wrap: anywhere;
}
.woocommerce-account .woocommerce-MyAccount-content .products::before,
.woocommerce-account .woocommerce-MyAccount-content .products::after {
	content: none;
}
.woocommerce-account .ez-wishlist-empty[hidden],
.ez-fav-feedback[hidden] {
	display: none;
}
.ez-fav-feedback {
	padding: 14px 18px;
	border: 1px solid var(--ez-sale);
	border-radius: var(--ez-radius);
	background: var(--ez-white);
	color: var(--ez-black);
}
body > .ez-fav-feedback {
	position: fixed;
	bottom: 90px;
	left: 16px;
	right: 16px;
	z-index: 1200;
}
.ez-fav-btn:disabled {
	opacity: .5;
	cursor: wait;
}
@media (max-width: 600px) {
	.woocommerce-account .woocommerce-MyAccount-content :is(.ez-acct-info, .ez-acct-ph, .ez-wishlist-empty, .ez-klub__card) {
		padding: 16px;
	}
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table td[data-title]::before {
		content: attr(data-title) ": ";
		float: left;
		font-weight: 600;
		margin-right: 12px;
	}
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before {
		content: none;
	}
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
		float: none;
		display: flex;
		margin: 0 0 12px;
	}
	.woocommerce-account .ez-acct-back {
		min-height: 44px;
	}
	.woocommerce-account .ez-prefs .ez-onb__tiles {
		grid-template-columns: 1fr;
	}
}
@media (prefers-reduced-motion: reduce) {
	.woocommerce-account :is(.button, .ez-acct-nav a, .ez-onb__tile-inner, .ez-onb__opt-row) {
		transition: none;
	}
}

.ez-klub__card--pending .ez-klub__status {
	color: var(--ez-sale);
}

.ez-klub__label {
	font-size: 14px;
	color: var(--ez-gray-text);
	margin: 0 0 12px;
}

.ez-klub__code {
	display: inline-block;
	background: var(--ez-black);
	color: var(--ez-white);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: .08em;
	padding: 14px 28px;
	border-radius: var(--ez-radius);
	margin-bottom: 16px;
}

.ez-klub__code--used {
	background: var(--ez-border);
	color: var(--ez-gray-text);
	text-decoration: line-through;
}

.ez-klub__rules {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
	color: var(--ez-gray-text);
}

.ez-klub__rules li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
}

.ez-klub__rules li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--ez-success);
	font-weight: 700;
}

.ez-klub__info {
	font-size: 14px;
	color: var(--ez-gray-text);
	margin: 0 0 12px;
}

.ez-klub__card .ez-btn {
	margin-top: 8px;
}

/* ==========================================================================
   Kasa — formularz kuponu rabatowego
   ========================================================================== */
#ezCouponSource {
	display: none;
}

.checkout_coupon {
	background: var(--ez-white);
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	padding: 16px;
	margin-bottom: 16px;
	display: block !important;
}

.woocommerce-form-coupon-toggle {
	display: none !important;
}

.checkout_coupon p {
	font-size: 14px;
	color: var(--ez-gray-text);
	margin: 0 0 12px;
}

.checkout_coupon .form-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.checkout_coupon .input-text,
.checkout_coupon .button {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.checkout_coupon .input-text {
	padding: 10px 12px;
	border: 1px solid var(--ez-border);
	border-radius: var(--ez-radius);
	font-size: 14px;
}

.checkout_coupon .button {
	background: var(--ez-black);
	color: var(--ez-white);
	border: none;
	border-radius: var(--ez-radius);
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: normal;
	text-align: center;
}

.checkout_coupon .button:hover {
	background: #333;
}

.ez-coupon-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-left: 6px;
	color: #e53935;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	vertical-align: middle;
}

.ez-coupon-remove:hover {
	color: #c62828;
}


/* Account order addresses: neutralize Woo float columns and clearfix grid items. */
.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns--addresses {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 margin: 0;
}
.woocommerce .woocommerce-MyAccount-content .woocommerce-columns--addresses::before,
.woocommerce .woocommerce-MyAccount-content .woocommerce-columns--addresses::after {
 content: none;
 display: none;
}
.woocommerce-MyAccount-content .woocommerce-columns--addresses .woocommerce-column.col-1,
.woocommerce-MyAccount-content .woocommerce-columns--addresses .woocommerce-column.col-2 {
 float: none;
 width: auto;
 min-width: 0;
 max-width: none;
 margin: 0;
}
.woocommerce .woocommerce-MyAccount-content .woocommerce-customer-details address {
 width: auto;
 min-width: 0;
 padding: 0;
 border: 0;
 border-radius: 0;
 margin: 0;
 overflow-wrap: anywhere;
}
.woocommerce-MyAccount-content .woocommerce-customer-details address p {
 margin-top: 12px;
 margin-bottom: 0;
}
@media (max-width: 600px) {
 .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns--addresses {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
 }
}

/* Category tree: independent expand controls, three levels. */
.ez-catnav[hidden] { display: none !important; }
.ez-catnav__row { display: flex; align-items: flex-start; gap: 4px; }
.ez-catnav__row > a { flex: 1; min-width: 0; padding: 7px 0; overflow-wrap: anywhere; }
.ez-catnav__toggle, .ez-catnav__spacer { flex: 0 0 30px; width: 30px; height: 34px; }
.ez-catnav__toggle { display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 0; background: transparent; color: var(--ez-black); font: 22px/1 var(--ez-font); cursor: pointer; border-radius: 4px; }
.ez-catnav__toggle:hover { background: var(--ez-gray-bg); }
.ez-catnav__toggle:focus-visible { outline: 2px solid var(--ez-black); outline-offset: 1px; }
.ez-catnav li.is-parent > .ez-catnav__row > a,
.ez-catnav li.is-current > .ez-catnav__row > a { font-weight: 700; }
.ez-catnav li.is-current > .ez-catnav__row > a { text-decoration: underline; text-underline-offset: 3px; }

/* Print placement information card (mouse, keyboard and touch). */
.ez-nadruk-preview { width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; box-sizing: border-box; padding: 24px; border-radius: 16px; pointer-events: auto; box-shadow: 0 16px 60px rgba(20,30,40,.16); }
.ez-nadruk-preview h3 { font-size: 17px; font-weight: 700; line-height: 1.4; margin: 0 30px 18px 0; }
.ez-nadruk-preview img { width: 100%; max-width: 100%; height: auto; max-height: 360px; object-fit: contain; border-radius: 12px; }
.ez-nadruk-preview__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: transparent; color: #222; border-radius: 50%; font: 28px/1 sans-serif; cursor: pointer; }
.ez-nadruk-preview__close:hover { background: #f2f3f4; }
.ez-nadruk-preview__close:focus-visible { outline: 2px solid #222; }
.ez-nadruk-preview__size { font-size: 16px; font-weight: 700; line-height: 1.6; margin: 16px 0 0; white-space: pre-line; }
.ez-nadruk-preview__size:empty { display: none; }
.ez-nadruk-preview__note { margin: 8px 0 0; color: #687078; font-size: 12px; }
.ez-nadruk__opt-info { cursor: pointer; }
@media (max-width: 480px) { .ez-nadruk-preview { padding: 20px; } .ez-nadruk-preview img { max-height: 280px; } }
