/* ==========================================================================
   NUVO — główne style motywu
   ========================================================================== */

:root {
	--bg: #f7f5f1;
	--surface: #ffffff;
	--ink: #1b1a18;
	--muted: #6d6860;
	--line: #e3ded6;
	--accent: #9c5a3c;
	--accent-ink: #ffffff;
	--sale: #b23b2e;
	--radius: 2px;
	--container: 1240px;
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

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

.narrow { max-width: 760px; }

.section { padding: 64px 0; }
.section.container { padding-left: 24px; padding-right: 24px; }

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 8px 14px;
}

.eyebrow {
	font-size: .75rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 12px;
}

.page-title { margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   Przyciski
   -------------------------------------------------------------------------- */

.btn,
.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-family: var(--font-sans);
	font-size: .8rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}

.btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
input[type="submit"]:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--ink);
	border-color: var(--ink);
}

.btn--light {
	background: #fff;
	color: var(--ink);
	border-color: #fff;
}
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }

.link-arrow {
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   Formularze
   -------------------------------------------------------------------------- */

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], input[type="url"], select, textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	font: inherit;
}
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--ink);
}

.woocommerce-product-search,
.search-form {
	display: flex;
	gap: 8px;
}
.woocommerce-product-search button,
.search-form .search-submit {
	padding: 12px 20px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fff;
	cursor: pointer;
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Nagłówek
   -------------------------------------------------------------------------- */

.topbar {
	background: var(--ink);
	color: #e9e4dc;
	text-align: center;
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.topbar p { margin: 0; padding: 9px 16px; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "brand nav actions";
	align-items: center;
	gap: 32px;
	height: 76px;
}
.site-brand { grid-area: brand; }
.primary-nav { grid-area: nav; justify-self: center; }
.header-actions { grid-area: actions; }
.nav-toggle { grid-area: toggle; }
.site-brand__name {
	font-family: var(--font-serif);
	font-size: 1.9rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	padding-left: .32em; /* wyrównanie optyczne przy letter-spacing */
}
.site-brand .custom-logo { max-height: 48px; width: auto; margin: 0 auto; }

.primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
}
.primary-nav a {
	white-space: nowrap;
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 6px 0;
	border-bottom: 1px solid transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { border-bottom-color: currentColor; color: var(--ink); }
.primary-nav .sub-menu { display: none; }

.header-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 18px;
}
.header-actions button {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
}
.header-cart, .header-account { display: inline-flex; align-items: center; position: relative; }
.header-cart__count {
	position: absolute;
	top: -7px;
	right: -10px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--accent);
	color: #fff;
	font-size: .68rem;
	line-height: 18px;
	text-align: center;
}

.header-search {
	border-top: 1px solid var(--line);
	padding: 16px 0;
	background: var(--bg);
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px 0;
	width: 28px;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
}
.nav-toggle span:not(.screen-reader-text) {
	display: block;
	height: 1.5px;
	width: 22px;
	background: var(--ink);
	transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Strona główna
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	color: #fff;
	background:
		radial-gradient(1200px 500px at 80% 20%, rgba(214, 170, 132, .35), transparent 60%),
		radial-gradient(900px 600px at 10% 100%, rgba(156, 90, 60, .45), transparent 60%),
		linear-gradient(135deg, #2a2420 0%, #3d332c 55%, #5a4639 100%);
	overflow: hidden;
}
.hero::after {
	content: "NUVO";
	position: absolute;
	right: -2vw;
	bottom: -6vw;
	font-family: var(--font-serif);
	font-size: 26vw;
	line-height: 1;
	letter-spacing: .05em;
	color: rgba(255, 255, 255, .05);
	pointer-events: none;
}
.hero__inner {
	position: relative;
	z-index: 1;
	padding-top: 120px;
	padding-bottom: 130px;
	max-width: var(--container);
}
.hero .eyebrow { color: #d9c6b4; }
.hero__title {
	font-size: clamp(2.6rem, 7vw, 5.4rem);
	margin-bottom: 20px;
	max-width: 12ch;
}
.hero__lead {
	max-width: 42ch;
	font-size: 1.1rem;
	color: #e8ded3;
	margin-bottom: 36px;
}

.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}
.section__head h2 { margin: 0; }

.cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.cat-tile {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: #e8e2d8;
	overflow: hidden;
}
.cat-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.cat-tile:hover .cat-tile__img { transform: scale(1.04); }
.cat-tile__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--font-serif);
	font-size: 6rem;
	color: rgba(27, 26, 24, .12);
	background: linear-gradient(160deg, #efe9df, #ddd3c4);
}
.cat-tile__label {
	position: absolute;
	left: 16px;
	bottom: 16px;
	background: var(--surface);
	color: var(--ink);
	padding: 8px 14px;
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.story {
	background: #ece6dc;
	padding: 96px 0;
	text-align: center;
}
.story__inner { max-width: 760px; }
.story p { color: var(--muted); font-size: 1.1rem; margin: 0; }

.perks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	text-align: center;
}
.perk h3 { margin-bottom: 4px; }
.perk p { color: var(--muted); margin: 0; font-size: .95rem; }

/* --------------------------------------------------------------------------
   Lista produktów (WooCommerce)
   -------------------------------------------------------------------------- */

.shop-main { padding-top: 40px; padding-bottom: 80px; }

.woocommerce-breadcrumb {
	font-size: .78rem;
	color: var(--muted);
	margin-bottom: 16px;
	letter-spacing: .04em;
}
.woocommerce-products-header__title { margin-bottom: 12px; }
.term-description { color: var(--muted); max-width: 60ch; }

.woocommerce-result-count {
	float: left;
	margin: 8px 0 24px;
	color: var(--muted);
	font-size: .85rem;
}
.woocommerce-ordering { float: right; margin: 0 0 24px; }
.woocommerce-ordering select { width: auto; padding: 8px 12px; }

ul.products {
	clear: both;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px 20px;
}
ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products::before, ul.products::after { display: none !important; }

ul.products li.product {
	position: relative;
	margin: 0 !important;
	width: auto !important;
	float: none !important;
	display: flex;
	flex-direction: column;
}
ul.products li.product a img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: #e8e2d8;
	margin-bottom: 14px;
	transition: opacity .3s;
}
ul.products li.product a:hover img { opacity: .88; }
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-category__title {
	font-family: var(--font-sans);
	font-size: .95rem;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0 0 4px;
}
ul.products li.product .price {
	display: block;
	font-size: .95rem;
	color: var(--ink);
	margin-bottom: 12px;
}
ul.products li.product .price del { color: var(--muted); margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; color: var(--sale); }
ul.products li.product .button {
	margin-top: auto;
	align-self: flex-start;
	padding: 10px 16px;
	font-size: .7rem;
	background: transparent;
	color: var(--ink);
}
ul.products li.product .button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
ul.products li.product .added_to_cart {
	font-size: .75rem;
	margin-top: 8px;
	text-decoration: underline;
}
ul.products li.product .star-rating { margin-bottom: 6px; }

.onsale,
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	position: absolute;
	right: auto;
	margin: 0;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: var(--sale);
	color: #fff;
	font-size: .7rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 5px 10px;
	min-height: 0;
	min-width: 0;
	border-radius: 0;
	line-height: 1.4;
}

.woocommerce-pagination { margin-top: 48px; text-align: center; }
.woocommerce-pagination ul {
	display: inline-flex;
	list-style: none;
	gap: 6px;
	padding: 0;
	margin: 0;
	border: 0 !important;
}
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	font-size: .85rem;
}
.woocommerce-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Karta produktu
   -------------------------------------------------------------------------- */

.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 56px;
	position: relative;
}
.single-product div.product .woocommerce-product-gallery {
	position: relative;
	width: auto !important;
	float: none !important;
	margin: 0;
}
.single-product div.product .woocommerce-product-gallery img { width: 100%; background: #e8e2d8; }
.single-product div.product .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	background: var(--surface);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0;
}
.single-product div.product .flex-control-thumbs {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
}
.single-product div.product .flex-control-thumbs img { cursor: pointer; opacity: .6; }
.single-product div.product .flex-control-thumbs img.flex-active,
.single-product div.product .flex-control-thumbs img:hover { opacity: 1; }

.single-product div.product .summary {
	width: auto !important;
	float: none !important;
	position: sticky;
	top: 120px;
	align-self: start;
}
.single-product .product_title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.single-product div.product p.price,
.single-product div.product span.price {
	font-size: 1.25rem;
	color: var(--ink);
	margin-bottom: 20px;
}
.single-product div.product p.price ins { text-decoration: none; color: var(--sale); }
.single-product div.product p.price del { color: var(--muted); }
.woocommerce-product-details__short-description { color: var(--muted); margin-bottom: 24px; }

.single-product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0;
}
.single-product form.cart.variations_form { display: block; }
.single-product form.cart .quantity input.qty {
	width: 72px;
	text-align: center;
	height: 100%;
	min-height: 46px;
}
.single-product form.cart .single_add_to_cart_button { flex: 1; min-height: 46px; }
.single-product .woocommerce-variation-add-to-cart { display: flex; gap: 12px; margin-top: 16px; }

table.variations { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
table.variations th, table.variations td { padding: 6px 0; text-align: left; vertical-align: middle; }
table.variations th label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.reset_variations { font-size: .8rem; color: var(--muted); }

.product_meta {
	border-top: 1px solid var(--line);
	padding-top: 16px;
	font-size: .85rem;
	color: var(--muted);
}
.product_meta > span { display: block; margin-bottom: 4px; }

.woocommerce-tabs,
.related.products,
.upsells.products {
	grid-column: 1 / -1;
}
.woocommerce-tabs { margin-top: 24px; }
.woocommerce-tabs ul.tabs {
	list-style: none;
	display: flex;
	gap: 28px;
	padding: 0;
	margin: 0 0 24px;
	border-bottom: 1px solid var(--line);
}
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 0;
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid transparent;
	margin-bottom: -1px;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--ink); }
.woocommerce-tabs .panel { max-width: 760px; }
.woocommerce-tabs .panel > h2:first-child { display: none; }

table.shop_attributes { width: 100%; border-collapse: collapse; }
table.shop_attributes th, table.shop_attributes td {
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
}
table.shop_attributes td p { margin: 0; }

.related.products, .upsells.products { margin-top: 64px; }
.related.products > h2, .upsells.products > h2 { margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Komunikaty
   -------------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 3px solid var(--ink);
	padding: 16px 20px;
	margin: 0 0 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { border-left-color: var(--sale); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; padding: 10px 16px; }

/* --------------------------------------------------------------------------
   Koszyk / zamówienie / konto (klasyczne szablony)
   -------------------------------------------------------------------------- */

.woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	background: var(--surface);
	border: 1px solid var(--line);
	margin-bottom: 32px;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: middle;
}
.woocommerce table.shop_table th {
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 500;
}
.woocommerce table.shop_table img { width: 64px; }
.woocommerce a.remove { font-size: 1.4rem; color: var(--muted); }

.woocommerce .col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 { width: auto; float: none; }

.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label { display: block; font-size: .85rem; margin-bottom: 6px; }
.woocommerce form .form-row-first,
.woocommerce form .form-row-last { width: 48%; float: left; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide { clear: both; }

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	border-bottom: 1px solid var(--line);
}
.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 0;
	font-size: .78rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.woocommerce-MyAccount-navigation .is-active a { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* Bloki koszyka i zamówienia (nowe WooCommerce) */
.wc-block-cart, .wc-block-checkout { margin-top: 8px; }
.wc-block-components-product-name { font-family: var(--font-sans); }

/* --------------------------------------------------------------------------
   Wpisy
   -------------------------------------------------------------------------- */

.post-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 24px;
}
.post-card img { margin-bottom: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.post-card__title { font-size: 1.3rem; margin-bottom: 4px; }
.post-card__meta { color: var(--muted); font-size: .8rem; }

.entry-content > * { max-width: 100%; }
.entry-content a { text-decoration: underline; }

.notfound { text-align: center; max-width: 640px; }
.notfound .woocommerce-product-search { margin: 24px 0; }

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--ink);
	color: #cfc8bd;
	padding-top: 72px;
	margin-top: 0;
	font-size: .9rem;
}
.site-footer a:hover { color: #fff; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 56px;
}
.site-footer__logo {
	font-family: var(--font-serif);
	font-size: 1.6rem;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 12px;
}
.site-footer h3 {
	font-family: var(--font-sans);
	font-size: .75rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding-top: 20px;
	padding-bottom: 28px;
	font-size: .78rem;
	color: #8f887d;
}
.site-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Responsywność
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	ul.products, .cat-grid { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.single-product div.product { gap: 36px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }

	.site-header__inner {
		height: 64px;
		grid-template-columns: 1fr auto 1fr;
		grid-template-areas: "toggle brand actions";
		gap: 12px;
	}
	.site-brand { text-align: center; }
	.nav-toggle { justify-self: start; }
	.site-brand__name { font-size: 1.5rem; }

	.nav-toggle { display: flex; }

	.primary-nav {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		width: min(320px, 85vw);
		background: var(--bg);
		padding: 96px 28px 28px;
		transform: translateX(-100%);
		transition: transform .25s ease;
		box-shadow: 12px 0 40px rgba(0, 0, 0, .12);
		z-index: 60;
		grid-area: auto;
	}
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav ul { flex-direction: column; gap: 18px; }
	.primary-nav a { font-size: .95rem; }
	.nav-toggle { position: relative; z-index: 70; }
	body.nav-open { overflow: hidden; }

	.header-actions { gap: 14px; }
	.header-account { display: none; }

	.hero__inner { padding-top: 80px; padding-bottom: 90px; }

	ul.products, .cat-grid, .post-list { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
	.perks { grid-template-columns: 1fr; }

	.single-product div.product { grid-template-columns: 1fr; gap: 24px; }
	.single-product div.product .summary { position: static; }

	.woocommerce .col2-set { grid-template-columns: 1fr; }
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last { width: 100%; float: none; }

	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr td {
		display: block;
		text-align: right;
	}
	.woocommerce table.shop_table_responsive tr td::before {
		content: attr(data-title) ": ";
		float: left;
		font-weight: 500;
	}

	.section { padding: 44px 0; }
	.story { padding: 64px 0; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   Animacje
   ========================================================================== */

/* Nagłówek — cień po przewinięciu */
.site-header { transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(27, 26, 24, .07); }

/* Podkreślenie linków w menu wysuwane od lewej */
.primary-nav a {
	border-bottom: 0;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
	transition: background-size .35s ease, color .2s;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { background-size: 100% 1px; }

/* Hero — wejście tekstu i powolny ruch tła */
@keyframes nuvo-fade-up {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: none; }
}
@keyframes nuvo-drift {
	0%   { background-position: 0% 0%, 0% 100%, 0 0; }
	50%  { background-position: 8% 6%, 6% 94%, 0 0; }
	100% { background-position: 0% 0%, 0% 100%, 0 0; }
}
@keyframes nuvo-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-14px); }
}

.hero {
	background-size: 130% 130%, 130% 130%, 100% 100%;
	animation: nuvo-drift 18s ease-in-out infinite;
}
.hero::after { animation: nuvo-float 9s ease-in-out infinite; }
.hero__inner > * {
	opacity: 0;
	animation: nuvo-fade-up .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.hero__inner > *:nth-child(1) { animation-delay: .1s; }
.hero__inner > *:nth-child(2) { animation-delay: .25s; }
.hero__inner > *:nth-child(3) { animation-delay: .45s; }
.hero__inner > *:nth-child(4) { animation-delay: .65s; }

/* Pojawianie się przy przewijaniu (klasy dodaje main.js) */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Karty produktów — przybliżenie zdjęcia i uniesienie przycisku */
ul.products li.product .woocommerce-LoopProduct-link { display: block; }
ul.products li.product a img {
	transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .3s;
	clip-path: inset(0);
}
ul.products li.product:hover a img { transform: scale(1.04); opacity: 1; }
ul.products li.product .button { transition: background .2s, color .2s, transform .25s ease; }
ul.products li.product:hover .button { transform: translateY(-2px); }

/* Kafelki kategorii — etykieta przesuwa się przy najechaniu */
.cat-tile__label { transition: transform .35s ease, background .3s, color .3s; }
.cat-tile:hover .cat-tile__label { transform: translateY(-6px); background: var(--ink); color: #fff; }
.cat-tile__placeholder { transition: transform .6s ease; }
.cat-tile:hover .cat-tile__placeholder { transform: scale(1.04); }

/* Przyciski — delikatne uniesienie */
.btn, .woocommerce a.button, .woocommerce button.button { transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { transform: translateY(-1px); }

/* Licznik koszyka — podskok po dodaniu produktu */
@keyframes nuvo-bump {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.45); }
	100% { transform: scale(1); }
}
.header-cart__count.bump { animation: nuvo-bump .45s ease; }

/* Wyszukiwarka — wysuwanie */
.header-search:not([hidden]) { animation: nuvo-fade-up .35s ease both; }

/* Osoby, które wyłączyły animacje w systemie */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.hero__inner > * { opacity: 1; }
}
