/**
 * Mobile Header & Components v5.2.0
 * ============================================================================
 * ZMIANY v5.2.0 vs 5.0.0:
 *   [A] display:none dla mobile-components GLOBALNIE (root cause desktop fix)
 *   [B] Topbar touch targets: min 44px (Apple HIG / Material Design 3 / NNG)
 *   [C] Logo height: 72px + filter:invert (widoczne na KAŻDEJ stronie)
 *   [D] Smooth scroll: will-change:transform + GPU layers (eliminacja rwania)
 *   [E] Gap fix: CSS custom properties --topbar-h, --address-h, --menubar-h
 *   [F] Mobile Search Overlay (#mobileSearchOverlay)
 *   [G] iPhone 18 Pro Max (480px) + Samsung Fold (360px) breakpoints
 *   [H] Notch/Dynamic Island: env(safe-area-inset-top) konsekwentnie
 * ============================================================================
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
   Domyślne wartości; JS (mobile-menu.js v4.7) nadpisuje po pomiarze
   ============================================================ */
:root {
	--topbar-h:    56px;
	--address-h:   68px;
	--menubar-h:   88px;   /* 72px logo + 8px padding top + bottom */
	--total-nav-h: 212px;  /* suma powyższych */
}

/* ============================================================
   [A] KRYTYCZNE: mobile-components UKRYTE na desktop
   Bez tego renderują się na każdym viewporcie i psują desktop layout!
   ============================================================ */
/* Desktop components UKRYTE globalnie, pokazane tylko w @media mobile */
.liquid-glass-topbar-wrapper,
.address-card-wrapper,
.mobile-menu-bar-wrapper {
	display: none !important;
}

/* CRITICAL: #mobileSearchOverlay ukryty globalnie BEZ !important
   żeby JS mógł pokazać przez .is-open */
#mobileSearchOverlay {
	display: none; /* Ukryty globalnie, pokazany w media query */
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

/* ============================================================
   SCROLL BEHAVIOR - site-header (compat z parent theme)
   ============================================================ */
@media (max-width: 768px) {
	.site-header {
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}
	body.scroll-down .site-header { transform: translateY(-100%); }
	body.scroll-up  .site-header  { transform: translateY(0); }
	body.at-top     .site-header  { transform: translateY(0) !important; }
	body.menu-open  .site-header  { transform: translateY(0) !important; }
}

/* ============================================================
   PRODUCT ARCHIVE – 2 COLUMNS MOBILE LAYOUT v4.5.2
   ============================================================ */
@media only screen and (max-width: 767px) {

	.container.sidebar-left {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px !important;
		padding: 0 10px !important;
	}
	.container.sidebar-left > .row {
		display: contents !important;
	}
	.container.sidebar-left::before,
	.container.sidebar-left::after,
	.container.sidebar-left > .row::before,
	.container.sidebar-left > .row::after {
		display: none !important;
		content: none !important;
	}
	.container.sidebar-left .col:empty,
	.container.sidebar-left .col:not(:has(.item-single)) {
		display: none !important;
	}
	.container.sidebar-left > .pagination,
	.container.sidebar-left > .woocommerce-pagination {
		grid-column: 1 / -1 !important;
		display: block !important;
		width: 100% !important;
		margin-top: 20px !important;
		text-align: center !important;
	}
	.container.sidebar-left .col {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		float: none !important;
		margin: 0 !important;
		max-width: none !important;
	}

	.item-single {
		display: flex !important;
		flex-direction: column !important;
		height: 100% !important;
		background: #ffffff;
		border: 1px solid #e8e8e8;
		border-radius: 8px;
		overflow: hidden;
	}
	.item-single .image-wrapper,
	.item-single .woocommerce-loop-product__link,
	.item-single a.woocommerce-LoopProduct-link {
		display: block !important;
		position: relative;
		width: 100% !important;
		aspect-ratio: 1 / 1 !important;
		overflow: hidden !important;
		background: #f9f9f9;
	}
	.item-single .image-wrapper img,
	.item-single .woocommerce-loop-product__link img,
	.item-single a.woocommerce-LoopProduct-link img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		display: block !important;
	}
	.item-single .details {
		padding: 12px 8px !important;
		flex-grow: 1;
		display: flex;
		flex-direction: column;
		gap: 6px;
	}
	.item-single .details .path { font-size: 11px !important; color: #999 !important; margin: 0 !important; }
	.item-single .details .path a { color: inherit !important; text-decoration: none !important; }
	.item-single .details h2 {
		font-size: 13px !important;
		line-height: 1.4 !important;
		min-height: 3.5em !important;
		max-height: 5.6em !important;
		overflow: hidden !important;
		margin: 0 !important;
		text-align: center;
		font-weight: 500 !important;
		color: #333 !important;
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
	}
	.item-single .details h2 a { color: inherit !important; text-decoration: none !important; }
	.item-single .details .price {
		font-size: 15px !important;
		font-weight: 700 !important;
		text-align: center;
		margin: 8px 0 0 0 !important;
		color: #000 !important;
	}
	.item-single .details .price del { opacity: 0.5; font-size: 13px; margin-right: 6px; }
	.item-single .details .price ins { text-decoration: none; color: #d32f2f; }
	/* NOTE: .item-single .more NIE jest tu — obsługuje go color-scheme.css
	   jako transparent overlay z serduszkiem (wishlist) */
	.item-single .short-description,
	.item-single .star-rating,
	.item-single .add-to-cart-button-wrap,
	.item-single .quick-features { display: none !important; }
	.item-single .onsale {
		position: absolute !important; top: 8px !important; left: 8px !important; z-index: 2;
		background: #d32f2f !important; color: #fff !important;
		font-size: 11px !important; font-weight: 700 !important;
		padding: 4px 8px !important; border-radius: 4px !important;
		text-transform: uppercase; letter-spacing: 0.5px;
	}

	@supports not (display: grid) {
		.container.sidebar-left { display: flex !important; flex-wrap: wrap !important; }
		.container.sidebar-left .col { width: calc(50% - 6px) !important; margin: 0 3px 12px 3px !important; }
		.container.sidebar-left > .pagination { width: 100% !important; }
	}
}

/* ============================================================
   CATEGORY EMBLEMS v2.0 – LIQUID GLASS
   ============================================================ */
.item-single,
.product.type-product,
article.product,
.image-wrapper,
.image-slides.cycle-slideshow {
	position: relative !important;
}

.item-single + .category-emblem,
.product + .category-emblem,
.image-wrapper + .category-emblem,
.image-slides + .category-emblem {
	position: absolute !important; top: 16px !important; right: 16px !important; z-index: 999 !important;
}

.category-emblem {
	position: absolute !important;
	width: 32px !important; height: 32px !important;
	z-index: 100 !important; pointer-events: none;
	background: rgba(255,255,255,0.35) !important;
	backdrop-filter: blur(12px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
	border: 2px solid rgba(255,255,255,0.7) !important;
	border-radius: 50% !important;
	box-shadow:
		0 0 0 1px rgba(0,0,0,0.1),
		0 0 8px rgba(255,255,255,0.6),
		0 4px 12px rgba(0,0,0,0.12),
		inset 0 1px 3px rgba(255,255,255,0.6) !important;
	transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;
	padding: 4px !important;
	display: flex !important; align-items: center !important; justify-content: center !important;
}
.category-emblem svg { width: 20px !important; height: 20px !important; display: block !important; }

@media only screen and (max-width: 767px) {
	.item-single .category-emblem { top: 12px !important; right: 12px !important; }
}
.item-single:active .category-emblem {
	transform: scale(1.08) !important;
	box-shadow: 0 0 12px rgba(255,255,255,0.8), 0 6px 16px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.7) !important;
}

@keyframes steam-rise  { 0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:.7;transform:translateY(-2px)} }
@keyframes flame-flicker{ 0%,100%{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.05)} }
@keyframes drop-pulse  { 0%,100%{opacity:.7;transform:translateY(0)}50%{opacity:.9;transform:translateY(1px)} }

.category-emblem.coffee  .steam-1    { animation: steam-rise    2s   ease-in-out infinite; }
.category-emblem.coffee  .steam-2    { animation: steam-rise    2s   ease-in-out .5s infinite; }
.category-emblem.roaster .flame-outer{ animation: flame-flicker 1.8s ease-in-out infinite; }
.category-emblem.roaster .flame-inner{ animation: flame-flicker 1.8s ease-in-out .3s infinite; }
.category-emblem.espresso .drop      { animation: drop-pulse    2.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
	.category-emblem, .category-emblem * { animation: none !important; }
}

@media only screen and (min-width: 768px) {
	.item-single .category-emblem,
	.product .category-emblem,
	.image-wrapper .category-emblem,
	.image-slides .category-emblem {
		top: 16px !important; right: 16px !important; z-index: 999 !important;
	}
	.item-single:hover .category-emblem,
	.product:hover .category-emblem,
	.image-wrapper:hover .category-emblem {
		transform: scale(1.08) rotate(3deg) !important;
		box-shadow: 0 0 12px rgba(255,255,255,0.9), 0 6px 20px rgba(0,0,0,0.15), inset 0 1px 4px rgba(255,255,255,0.7) !important;
	}
	.image-slides.cycle-slideshow, .image-wrapper { overflow: visible !important; }
}

/* ============================================================
   [MAIN] MOBILE COMPONENTS v5.2.0
   ============================================================ */
@media (max-width: 767px) {

	/* ── Odkryj mobile components ── */
	.liquid-glass-topbar-wrapper,
	.address-card-wrapper,
	.mobile-menu-bar-wrapper {
		display: block !important;
	}
	/* Note: #mobileSearchOverlay ma swoje własne reguły dalej (display:flex) */

	/* ── Ukryj desktop header i topbar ── */
	.polaris-topbar,
	.topbar-content,
	.polaris-modern-header,
	.affix-wrapper,
	.affix-data,
	#mainHeader,
	.container-fluid.header {
		display: none !important;
	}

	/* ================================================================
	   [D] LIQUID GLASS TOPBAR – GPU-accelerated smooth hide/show
	   will-change + backface-visibility → eliminuje rwanie animacji
	   ================================================================ */
	.liquid-glass-topbar-wrapper {
		position: fixed;
		top: 0; left: 0; right: 0;
		max-width: 460px;
		margin: 0 auto;
		z-index: 9999;
		/* [D] GPU layer */
		will-change: transform;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		transform: translateY(0);
		opacity: 1;
		/* Dłuższa, bardziej naturalna krzywa */
		transition:
			transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
			opacity   0.28s ease;
	}
	body.topbar-hidden .liquid-glass-topbar-wrapper {
		transform: translateY(-110%);
		opacity: 0;
		pointer-events: none;
	}

	.liquid-glass-topbar {
		background: rgba(43, 17, 8, 0.88);
		backdrop-filter: blur(20px) saturate(180%);
		-webkit-backdrop-filter: blur(20px) saturate(180%);
		border-bottom: 1px solid rgba(255,255,255,0.07);
		/* [H] safe-area: notch / Dynamic Island */
		padding: calc(env(safe-area-inset-top, 0px) + 8px) 16px 10px;
	}

	.topbar-contacts {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 8px;
	}

	/* ── [B] TOUCH TARGETS: 44px minimum (Apple HIG + NNG) ── */
	.liquid-glass-topbar-wrapper .topbar-item {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;           /* Apple HIG minimum */
		min-width: 44px;            /* Apple HIG minimum */
		padding: 6px 10px;
		border-radius: 10px;
		background: rgba(234, 88, 12, 0.10);
		border: 1px solid rgba(234, 88, 12, 0.22);
		color: var(--text-secondary, #E8D5C4) !important;
		text-decoration: none !important;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 0.01em;
		transition: background 0.18s ease;
		-webkit-tap-highlight-color: transparent;
	}
	.liquid-glass-topbar-wrapper .topbar-item:active {
		background: rgba(234, 88, 12, 0.28);
	}
	/* Icon circle */
	.topbar-icon-wrapper {
		width: 34px; height: 34px;
		border-radius: 50%;
		background: rgba(234, 88, 12, 0.15);
		border: 1px solid rgba(234, 88, 12, 0.3);
		display: flex; align-items: center; justify-content: center;
		flex-shrink: 0;
	}
	.topbar-icon-wrapper i,
	.topbar-icon-wrapper svg {
		color: #EA580C;
		font-size: 14px; width: 14px; height: 14px;
	}

	/* ================================================================
	   [E] ADDRESS CARD – gap-free (CSS custom props + JS pomiar)
	   ================================================================ */
	.address-card-wrapper {
		position: fixed;
		left: 0; right: 0;
		max-width: 460px;
		margin: 0 auto;
		z-index: 9998;
		/* [D] GPU layer */
		will-change: top;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		transition: top 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	}
	body:not(.topbar-hidden) .address-card-wrapper {
		/* JS nadpisuje --topbar-h po dokładnym pomiarze */
		top: var(--topbar-h, 56px);
	}
	body.topbar-hidden .address-card-wrapper {
		top: env(safe-area-inset-top, 0px);
	}

	.address-card {
		background: rgba(43, 17, 8, 0.94);
		backdrop-filter: blur(16px) saturate(160%);
		-webkit-backdrop-filter: blur(16px) saturate(160%);
		border-bottom: 1px solid rgba(255,255,255,0.05);
		padding: 10px 16px;
		display: flex;
		align-items: center;
		gap: 12px;
	}
	.address-icon { width: 22px; height: 22px; color: #EA580C; flex-shrink: 0; }
	.address-content { flex: 1; min-width: 0; }
	.address-label {
		font-size: 10px; text-transform: uppercase;
		letter-spacing: 0.1em; color: rgba(232,213,196,0.5);
		margin-bottom: 2px; font-weight: 700;
	}
	.address-text {
		font-size: 13px; color: #E8D5C4;
		font-weight: 500; line-height: 1.3;
		white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	.address-button {
		width: 44px; height: 44px;
		border-radius: 11px;
		background: #EA580C;
		border: none;
		display: flex; align-items: center; justify-content: center;
		color: #FFF;
		text-decoration: none !important;
		flex-shrink: 0;
		transition: transform 0.18s ease;
		-webkit-tap-highlight-color: transparent;
	}
	.address-button svg { width: 20px; height: 20px; }
	.address-button:active { transform: scale(0.93); }

	/* ================================================================
	   MOBILE MENU BAR – gap-free positioning
	   ================================================================ */
	.mobile-menu-bar-wrapper {
		position: fixed;
		left: 0; right: 0;
		max-width: 460px;
		margin: 0 auto;
		z-index: 9997;
		will-change: top;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		transition: top 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	}
	body:not(.topbar-hidden) .mobile-menu-bar-wrapper {
		top: calc(var(--topbar-h, 56px) + var(--address-h, 68px));
	}
	body.topbar-hidden .mobile-menu-bar-wrapper {
		top: calc(env(safe-area-inset-top, 0px) + var(--address-h, 68px));
	}

	/* Gap od treści strony */
	.mobile-menu-bar {
		padding: 0 14px 14px;
	}

	.menu-bar-container {
		background: rgba(43, 17, 8, 0.95);
		/* backdrop-filter na menu bar USUNIĘTO — główny przyczyna rwania scroll */
		/* backdrop-filter: blur(20px) saturate(180%); */
		border-radius: 16px;
		padding: 6px 8px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 6px;
		border: 1.5px solid rgba(234, 88, 12, 0.3);
		/* glowPulse animation USUNIĘTA — każda klatka poświęca GPU,
		   przy 12 kartach na stronicy = 12x repaint = rwanie */
		/* animation: glowPulse 3s ease-in-out infinite; */
		box-shadow: 0 0 14px rgba(234,88,12,0.22);
		min-height: 84px;
	}

	@keyframes glowPulse {
		0%   { border-color: rgba(234,88,12,0.18); box-shadow: 0 0 4px rgba(234,88,12,0.07); }
		50%  { border-color: rgba(234,88,12,0.85); box-shadow: 0 0 14px rgba(234,88,12,0.32); }
		100% { border-color: rgba(234,88,12,0.18); box-shadow: 0 0 4px rgba(234,88,12,0.07); }
	}

	/* ── Logo section ── */
	.menu-logo-section {
		display: flex;
		align-items: center;
		padding: 0 4px;
		flex-shrink: 0;
	}
	.mobile-menu-logo-link {
		display: flex;
		align-items: center;
		text-decoration: none !important;
		-webkit-tap-highlight-color: transparent;
	}
	/* [C] Logo 72px + filter:invert → widoczne na KAŻDEJ stronie
	   CRITICAL FIX: WooCommerce nadpisuje img z wyższą specyficznością
	   .woocommerce img { max-width: 100% } (spec. 0,1,1) > .mobile-menu-logo-img (0,1,0)
	   → logo kolapsuje do 0x0px na stronach .woocommerce/.woocommerce-page
	   FIX: !important + wyższe selektory + min-width na container */
	.woocommerce .mobile-menu-logo-img,
	.woocommerce-page .mobile-menu-logo-img,
	.mobile-menu-bar-wrapper .mobile-menu-logo-img,
	.mobile-menu-logo-img {
		height: 72px !important;
		width: auto !important;
		max-width: 130px !important;
		min-width: unset !important;
		object-fit: contain !important;
		/* filter: brightness(0) invert(1) !important; */
		/* USUNIĘTO — logo_glass_v2.png ma własne kolory (ciemny tekst
		   wtapiający się w tło) — filtr zamieniał logo w białe sylwetki */
		filter: none !important;
		display: block !important;
		flex-shrink: 0 !important;
	}
	/* Container min-width: logo nie kolapsuje w flexbox gdy brak treści */
	.menu-logo-section {
		min-width: 80px;
	}

	/* ── Icons group ── */
	.menu-icons-group {
		display: flex;
		align-items: center;
		gap: 3px;
	}
	.menu-icon-btn {
		min-width: 44px; min-height: 44px;
		border-radius: 11px;
		display: flex; align-items: center; justify-content: center;
		color: #E8D5C4;
		background: transparent;
		border: none;
		text-decoration: none !important;
		transition: all 0.18s ease;
		position: relative;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.menu-icon-btn:active { transform: scale(0.93); }
	.menu-icon-btn i, .menu-icon-btn svg { font-size: 20px; width: 20px; height: 20px; }
	.menu-icon-btn.primary {
		background: #EA580C;
		color: #FFF;
		box-shadow: 0 4px 12px rgba(234,88,12,0.25);
	}
	.menu-icon-btn.primary:active { background: #C2410C; }

	.cart-badge {
		position: absolute; top: 7px; right: 7px;
		width: 16px; height: 16px;
		background: #EA580C;
		border: 2px solid rgba(43,17,8,0.9);
		border-radius: 50%;
		font-size: 9px; font-weight: 800;
		color: #FFF;
		display: flex; align-items: center; justify-content: center;
		line-height: 1;
	}

	/* ================================================================
	   [E] BODY PADDING-TOP – CSS custom props z JS
	   ================================================================ */
	body {
		padding-top: calc(env(safe-area-inset-top, 0px) + var(--total-nav-h, 212px)) !important;
	}
	body.topbar-hidden {
		padding-top: calc(env(safe-area-inset-top, 0px) + var(--address-h, 68px) + var(--menubar-h, 88px)) !important;
	}

	/* ================================================================
	   [F] MOBILE SEARCH OVERLAY
	   ================================================================ */
	#mobileSearchOverlay {
		position: fixed;
		inset: 0;
		z-index: 99999;
		display: flex !important;
		flex-direction: column;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.28s ease, visibility 0.28s ease;
		pointer-events: none;
	}
	#mobileSearchOverlay.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: all;
	}
	.mobile-search-backdrop {
		position: absolute; inset: 0;
		background: rgba(0,0,0,0.65);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
		cursor: pointer;
		pointer-events: none; /* Domyślnie nieaktywny */
		transition: pointer-events 0s 0.4s; /* Aktywuje się po 400ms */
	}
	#mobileSearchOverlay.is-open .mobile-search-backdrop {
		pointer-events: all; /* Aktywny gdy overlay otwarty */
	}
	.mobile-search-panel {
		position: relative; z-index: 1;
		background: rgba(30, 12, 5, 0.98);
		border-bottom: 1px solid rgba(234,88,12,0.3);
		padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 20px;
		display: flex; flex-direction: column; gap: 14px;
		transform: translateY(-100%);
		transition: transform 0.32s cubic-bezier(0.25,0.46,0.45,0.94);
		will-change: transform;
	}
	#mobileSearchOverlay.is-open .mobile-search-panel {
		transform: translateY(0);
	}
	.mobile-search-header {
		display: flex; align-items: center; justify-content: space-between;
	}
	.mobile-search-title {
		font-size: 13px; font-weight: 700; text-transform: uppercase;
		letter-spacing: 0.1em; color: rgba(255,255,255,0.45);
	}
	.mobile-search-close {
		width: 44px; height: 44px;
		border-radius: 11px;
		background: rgba(255,255,255,0.07);
		border: 1px solid rgba(255,255,255,0.1);
		display: flex; align-items: center; justify-content: center;
		color: #FFF; font-size: 18px;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.mobile-search-form {
		display: flex; gap: 8px; align-items: center;
	}
	/* WooCommerce product search form styles */
	.mobile-search-form form {
		display: flex; gap: 8px; width: 100%; align-items: center;
	}
	.mobile-search-form input[type="search"],
	.mobile-search-form input[type="text"] {
		flex: 1;
		height: 52px;
		background: rgba(255,255,255,0.07) !important;
		border: 1.5px solid rgba(234,88,12,0.35) !important;
		border-radius: 14px !important;
		padding: 0 16px !important;
		font-size: 16px !important;   /* 16px → iOS nie zoomuje */
		color: #FFF !important;
		outline: none !important;
		-webkit-appearance: none;
		transition: border-color 0.18s ease;
	}
	.mobile-search-form input:focus {
		border-color: rgba(234,88,12,0.85) !important;
		background: rgba(255,255,255,0.11) !important;
	}
	.mobile-search-form input::placeholder { color: rgba(255,255,255,0.3) !important; }
	.mobile-search-form button[type="submit"],
	.mobile-search-form input[type="submit"] {
		width: 52px !important; height: 52px !important;
		border-radius: 14px !important;
		background: #EA580C !important;
		border: none !important;
		cursor: pointer !important;
		font-size: 0 !important;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
		background-size: 22px !important;
		flex-shrink: 0 !important;
		transition: background-color 0.18s ease !important;
	}
	.mobile-search-form button[type="submit"]:active { background-color: #C2410C !important; }

	/* ================================================================
	   HERO SECTION
	   ================================================================ */
	.hero-home-wrapper { padding: 0 20px 48px; max-width: 460px; margin: 0 auto; }
	.hero-card {
		border-radius: 40px; overflow: hidden;
		background: linear-gradient(135deg, #7c2d12 0%, #2B1108 50%, #1a0802 100%);
		padding: 40px; border: 1px solid rgba(255,255,255,0.1);
		box-shadow: 0 30px 60px -15px rgba(0,0,0,0.6); position: relative;
	}
	.hero-title {
		font-family: 'Cabinet Grotesk', sans-serif;
		font-size: 36px; font-weight: 700; color: #FFF;
		text-transform: uppercase; line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 24px;
	}
	.hero-title-accent { color: #FB923C; }
	.hero-description { color: #FFF; font-size: 16px; line-height: 1.6; font-weight: 500; opacity: 0.9; margin-bottom: 40px; }
	.hero-cta-group { display: flex; flex-direction: column; gap: 16px; }
	.hero-cta-primary {
		height: 60px; padding: 0 32px; border-radius: 30px;
		background: #EA580C; color: #FFF !important;
		font-size: 18px; font-weight: 800; text-transform: uppercase;
		text-decoration: none !important; display: flex; align-items: center; justify-content: center;
		border: 2px solid #EA580C;
		box-shadow: 0 0 25px rgba(234,88,12,0.45), 0 15px 30px -5px rgba(124,45,18,0.7), inset 0 0 0 1px rgba(255,255,255,0.3);
		-webkit-tap-highlight-color: transparent;
	}
	.hero-cta-primary:active { transform: scale(0.95); }
	.hero-cta-secondary {
		display: flex; align-items: center; justify-content: center; gap: 8px;
		color: rgba(255,255,255,0.45) !important;
		font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
		text-decoration: none !important;
	}

	/* ================================================================
	   [G] RESPONSIVE BREAKPOINTS
	   ================================================================ */

	/* iPhone 18 Pro Max / przyszłe modele */
	@media (min-width: 431px) and (max-width: 480px) {
		.liquid-glass-topbar-wrapper,
		.address-card-wrapper,
		.mobile-menu-bar-wrapper { max-width: 480px; }
	}

	/* iPhone 14/15/16/17 Pro Max (430px) */
	@media (max-width: 430px) {
		.topbar-item span { font-size: 12px; }
		.hero-title { font-size: 32px; }
	}

	/* iPhone Pro (393px) */
	@media (max-width: 393px) {
		.menu-bar-container { gap: 3px; padding: 5px 6px; }
		.menu-icon-btn { min-width: 42px; min-height: 42px; }
		.hero-card { padding: 32px; }
	}

	/* Samsung Galaxy Fold / Flip (360px) */
	@media (max-width: 360px) {
		.menu-icon-btn { min-width: 38px; min-height: 38px; }
		.menu-icon-btn i, .menu-icon-btn svg { font-size: 18px; width: 18px; height: 18px; }
		.woocommerce .mobile-menu-logo-img,
		.woocommerce-page .mobile-menu-logo-img,
		.mobile-menu-logo-img { height: 60px !important; max-width: 100px !important; }
	}

	/* iPhone SE / mini (375px) */
	@media (max-width: 375px) {
		.liquid-glass-topbar { padding-left: 12px; padding-right: 12px; }
		.address-card { padding: 9px 14px; }
		.mobile-menu-bar { padding: 0 10px 12px; }
		.woocommerce .mobile-menu-logo-img,
		.woocommerce-page .mobile-menu-logo-img,
		.mobile-menu-logo-img { max-width: 110px !important; }
		.hero-title { font-size: 28px; }
	}

	/* Bardzo wąskie (350px) */
	@media (max-width: 350px) {
		.woocommerce .mobile-menu-logo-img,
		.woocommerce-page .mobile-menu-logo-img,
		.mobile-menu-logo-img { height: 52px !important; max-width: 90px !important; }
		.hero-card { padding: 24px; border-radius: 32px; }
	}

	/* Retina/HiDPI – subpixel borders */
	@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
		.menu-bar-container, .address-button, .menu-icon-btn { border-width: 0.5px; }
		.liquid-glass-topbar, .address-card { border-bottom-width: 0.5px; }
	}

	/* Accessibility: reduced motion */
	@media (prefers-reduced-motion: reduce) {
		.liquid-glass-topbar-wrapper,
		.address-card-wrapper,
		.mobile-menu-bar-wrapper,
		.mobile-search-panel,
		.menu-bar-container {
			transition: none !important;
			animation: none !important;
			will-change: auto !important;
		}
	}

	/* High contrast */
	@media (prefers-contrast: high) {
		.menu-bar-container, .address-card, .liquid-glass-topbar { border-width: 2px !important; }
	}
}




/* ============================================================================
   HERO HOME WRAPPER – AA Blog Grid 2×2 (v3.0 Final)
   TYLKO mobile ≤460px + Retina
   Template: templates/hero-home.php
   ============================================================================ */

/* ── Ukryj VC Grid GLOBALNIE (wszystkie breakpointy) ── */
.vc_grid-container-wrapper.vc_grid-animation-fadeIn,
.vc-blog-separator {
	display: none !important;
}

/* ── MOBILE ONLY: Grid 2×2 ── */
@media only screen and (max-width: 460px),
	   only screen and (max-width: 920px) and (-webkit-min-device-pixel-ratio: 2),
	   only screen and (max-width: 920px) and (min-resolution: 192dpi) {

	.hero-home-wrapper {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px;
		padding: 0 20px 20px;
		max-width: 460px;
		width: 100%;
		margin: 0 auto;
		box-sizing: border-box;
	}

	/* ── Blog Tile (3 posty) ── */
	.aa-blog-tile {
		position: relative;
		aspect-ratio: 1 / 1;
		border-radius: 2.5rem;
		overflow: hidden;
		display: block;
		text-decoration: none;
		background: rgba(43, 17, 8, 0.45);
		border: 1px solid rgba(255, 255, 255, 0.06);
		box-shadow: 0 0 0 1.5px rgba(234, 88, 12, 0.12);
		-webkit-tap-highlight-color: transparent;
		animation: tileIn 0.4s ease both;
	}
	.aa-blog-tile:nth-child(1) { animation-delay: 0.04s; }
	.aa-blog-tile:nth-child(2) { animation-delay: 0.10s; }
	.aa-blog-tile:nth-child(3) { animation-delay: 0.16s; }

	@keyframes tileIn {
		from { opacity: 0; transform: scale(0.96) translateY(6px); }
		to   { opacity: 1; transform: scale(1) translateY(0); }
	}

	/* Skeleton loading (pokazuje się przed załadowaniem img) */
	.aa-tile-skeleton {
		position: absolute;
		inset: 0;
		background: linear-gradient(
			90deg,
			rgba(43, 17, 8, 0.3) 0%,
			rgba(99, 38, 19, 0.4) 50%,
			rgba(43, 17, 8, 0.3) 100%
		);
		background-size: 200% 100%;
		animation: skeletonShimmer 1.5s ease-in-out infinite;
		z-index: 0;
	}
	@keyframes skeletonShimmer {
		0% { background-position: 200% 0; }
		100% { background-position: -200% 0; }
	}

	/* Obrazek */
	.aa-blog-tile-img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		opacity: 0;
		transition: opacity 0.3s ease, transform 0.5s ease;
		display: block;
		z-index: 1;
	}
	/* Gdy się załaduje, ukryj skeleton */
	.aa-blog-tile-img[src]:not([src=""]) {
		opacity: 0.82;
	}
	.aa-blog-tile:active .aa-blog-tile-img {
		transform: scale(1.04);
	}

	/* Gradient overlay */
	.aa-blog-tile::after {
		content: '';
		position: absolute;
		inset: 0;
		background: linear-gradient(
			to top,
			rgba(56, 16, 4, 0.92) 0%,
			rgba(56, 16, 4, 0.28) 45%,
			transparent 70%
		);
		border-radius: 2.5rem;
		z-index: 2;
		pointer-events: none;
	}

	/* Tytuł */
	.aa-blog-tile-title {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 14px 16px;
		z-index: 3;
		font-size: 14px;
		font-weight: 800;
		line-height: 1.2;
		color: #fff;
		text-transform: uppercase;
		letter-spacing: 0.02em;
		text-shadow: 0 1px 8px rgba(0,0,0,0.5);
		word-break: break-word;
		hyphens: auto;
		display: block;
	}

	/* ── Ripple Effect ── */
	.aa-tile-ripple {
		position: absolute;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.5);
		width: 0;
		height: 0;
		pointer-events: none;
		transform: translate(-50%, -50%);
		animation: ripple 0.6s ease-out;
		opacity: 0;
		z-index: 10;
	}
	@keyframes ripple {
		0% {
			width: 0;
			height: 0;
			opacity: 0.5;
		}
		100% {
			width: 300px;
			height: 300px;
			opacity: 0;
		}
	}

	/* ── Hero Card (4. pozycja, cała klikalna) ── */
	.aa-hero-card {
		position: relative;
		aspect-ratio: 1 / 1;
		border-radius: 2.5rem;
		overflow: hidden;
		background: linear-gradient(145deg, #632613 0%, #2B1108 55%, #1a0802 100%);
		border: 1.5px solid rgba(234, 88, 12, 0.35);
		box-shadow: 0 0 0 1.5px rgba(234, 88, 12, 0.15);
		animation: tileIn 0.4s ease 0.22s both, heroGlow 3s ease-in-out 1s infinite;
		display: block;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}

	@keyframes heroGlow {
		0%, 100% { box-shadow: 0 0 0 1.5px rgba(234,88,12,0.18), 0 0 8px rgba(234,88,12,0.07); }
		50%       { box-shadow: 0 0 0 1.5px rgba(234,88,12,0.85), 0 0 20px rgba(234,88,12,0.22); }
	}

	/* Gradient border */
	.aa-hero-card::before {
		content: '';
		position: absolute;
		inset: 0;
		border-radius: 2.5rem;
		padding: 1.5px;
		background: linear-gradient(135deg, rgba(234,88,12,0.5), rgba(234,88,12,0.04));
		-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
		mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
		-webkit-mask-composite: xor;
		mask-composite: exclude;
		pointer-events: none;
		z-index: 3;
	}

	/* Hero inner content */
	.aa-hero-inner {
		position: absolute;
		inset: 0;
		padding: 20px 18px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		z-index: 2;
	}

	.aa-hero-title {
		font-family: 'Cabinet Grotesk', sans-serif;
		font-size: 26px;
		font-weight: 900;
		line-height: 0.92;
		color: #fff;
		text-transform: uppercase;
		letter-spacing: -0.02em;
		margin: 0 0 8px;
	}
	.aa-hero-title-accent {
		color: #EA580C;
		display: block;
	}

	.aa-hero-desc {
		font-size: 12px;
		line-height: 1.5;
		color: #E8D5C4;
		opacity: 0.88;
		margin: 0;
	}

	.aa-hero-cta-wrap {
		display: flex;
		flex-direction: column;
		gap: 6px;
		margin-top: auto;
	}

	.aa-hero-btn-primary {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 52px;
		background: #632613;
		border: 1.5px solid #EA580C;
		border-radius: 9999px;
		color: #fff;
		font-size: 13px;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		transition: background 0.18s ease;
		cursor: pointer;
	}
	.aa-hero-card:active .aa-hero-btn-primary {
		background: #EA580C;
	}

	.aa-hero-btn-secondary {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 5px;
		height: 36px;
		color: #A89085;
		font-size: 10px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.1em;
	}
	.aa-hero-btn-secondary svg {
		width: 16px;
		height: 16px;
		flex-shrink: 0;
	}
	.aa-hero-card:active .aa-hero-btn-secondary {
		color: #ffdacf;
	}

	/* ── Separator "Blog & Inspiracje" ── */
	#aa-blog-separator {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 0 20px 16px;
		max-width: 460px;
		margin: 0 auto;
		box-sizing: border-box;
	}
	.aa-sep-line {
		height: 1px;
		flex: 1;
		background: rgba(255,255,255,0.10);
	}
	.aa-sep-text {
		font-size: 10px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.2em;
		color: #A89085;
		white-space: nowrap;
	}

	/* ── Responsive tweaks ── */
	@media (max-width: 375px) {
		.hero-home-wrapper {
			padding: 0 14px 16px;
			gap: 12px;
		}
		.aa-blog-tile-title {
			font-size: 12px;
			padding: 12px;
		}
		.aa-hero-title {
			font-size: 22px;
		}
		.aa-hero-inner {
			padding: 16px 14px;
		}
	}

	@media (max-width: 350px) {
		.hero-home-wrapper {
			gap: 10px;
		}
		.aa-hero-btn-primary {
			height: 44px;
			font-size: 12px;
		}
	}
}

/* ============================================================================
   SEKCJE DODATKOWE v1.0 – Akcesoria & Barista + Flow Produkcji
   TYLKO mobile ≤460px + Retina
   ============================================================================ */
@media only screen and (max-width: 460px),
	   only screen and (max-width: 920px) and (-webkit-min-device-pixel-ratio: 2),
	   only screen and (max-width: 920px) and (min-resolution: 192dpi) {

	/* Animacja glow-pulse dla kafli kategorii */
	@keyframes aa-glow-pulse {
		0%, 100% {
			border-color: rgba(234, 88, 12, 0.25);
			box-shadow: 0 0 8px rgba(234, 88, 12, 0.08);
		}
		50% {
			border-color: rgba(255, 116, 46, 0.85);
			box-shadow: 0 0 22px rgba(234, 88, 12, 0.35);
		}
	}

	/* Wrapper sekcji */
	.aa-extra-section {
		padding: 0 18px;
		max-width: 460px;
		margin: 24px auto 0;
		box-sizing: border-box;
	}

	/* Nagłówek sekcji (separator z tytułem H2) */
	.aa-section-header {
		display: flex;
		align-items: center;
		gap: 12px;
		margin-bottom: 16px;
	}
	.aa-section-title {
		margin: 0;
		font-family: 'Cabinet Grotesk', sans-serif;
		font-size: 10px;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: 0.2em;
		white-space: nowrap;
		line-height: 1;
	}
	.aa-section-title--accent { color: #EA580C; }
	.aa-section-title--muted  { color: #A89085; }

	/* ── KAFLE KATEGORII (Akcesoria & Barista) ── */
	.aa-cat-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}

	.aa-cat-tile {
		position: relative;
		aspect-ratio: 1 / 1;
		border-radius: 2.5rem;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 20px;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
		/* Liquid glass */
		background: rgba(43, 17, 8, 0.45);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border: 1px solid rgba(234, 88, 12, 0.25);
		/* Glow pulse */
		animation: aa-glow-pulse 3s ease-in-out infinite;
		/* Touch feedback */
		transition: transform 0.12s ease;
		will-change: transform;
	}
	.aa-cat-tile:active {
		transform: scale(0.93);
	}

	/* Gradient kierunkowy (dekoracja – bez drop-shadow na kontenerze, only na SVG) */
	.aa-cat-tile__gradient {
		position: absolute;
		inset: 0;
		pointer-events: none;
		z-index: 0;
	}
	.aa-cat-tile__gradient--br { background: radial-gradient(ellipse at 100% 100%, rgba(234,88,12,0.18) 0%, transparent 65%); }
	.aa-cat-tile__gradient--tr { background: radial-gradient(ellipse at 100% 0%,   rgba(234,88,12,0.18) 0%, transparent 65%); }
	.aa-cat-tile__gradient--bl { background: radial-gradient(ellipse at 0% 100%,   rgba(234,88,12,0.18) 0%, transparent 65%); }
	.aa-cat-tile__gradient--tl { background: radial-gradient(ellipse at 0% 0%,     rgba(234,88,12,0.18) 0%, transparent 65%); }

	/* Ikona kafla */
	.aa-cat-tile__icon {
		position: relative;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 1;
		padding-top: 6px;
	}
	.aa-cat-tile__icon svg {
		filter: drop-shadow(0 0 6px rgba(255, 116, 46, 0.35));
	}

	/* Tekst kafla */
	.aa-cat-tile__text {
		position: relative;
		z-index: 1;
		display: flex;
		flex-direction: column;
		gap: 2px;
	}
	.aa-cat-tile__name {
		display: block;
		color: #fff;
		font-size: 13px;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: -0.02em;
		line-height: 1;
	}
	.aa-cat-tile__price {
		display: block;
		color: #ff742e;
		font-size: 10px;
		font-weight: 900;
		letter-spacing: 0.02em;
	}

	/* ── KAFLE FLOW PRODUKCJI ── */
	#aa-process-section {
		position: relative; /* dla flow-line absolute */
	}
	.aa-process-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px;
		position: relative;
		z-index: 1;
	}

	/* Linia dekoracyjna w tle sekcji process */
	.aa-process-flow-line {
		position: absolute;
		top: 60px;
		left: 50%;
		transform: translateX(-50%);
		width: 80%;
		height: 180px;
		pointer-events: none;
		z-index: 0;
		opacity: 0.5;
	}

	.aa-process-tile {
		position: relative;
		aspect-ratio: 1 / 1;
		border-radius: 2.5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 10px;
		padding: 18px 14px;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
		/* Liquid glass */
		background: rgba(43, 17, 8, 0.45);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		border: 1px solid rgba(234, 88, 12, 0.15);
		box-shadow: 0 4px 16px rgba(234, 88, 12, 0.04);
		transition: transform 0.12s ease, border-color 0.12s ease;
		will-change: transform;
		z-index: 1;
	}
	.aa-process-tile:active {
		transform: scale(0.93);
		border-color: rgba(234, 88, 12, 0.6);
	}

	.aa-process-tile__icon {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.aa-process-tile__icon svg {
		filter: drop-shadow(0 0 8px rgba(255, 116, 46, 0.5));
	}

	.aa-process-tile__body {
		display: flex;
		flex-direction: column;
		gap: 4px;
	}
	.aa-process-tile__title {
		margin: 0;
		color: #fff;
		font-size: 12px;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		line-height: 1;
	}
	.aa-process-tile__desc {
		margin: 0;
		color: #E8D5C4;
		font-size: 9px;
		line-height: 1.4;
		opacity: 0.82;
	}

	/* ── CTA Button ── */
	.aa-cta-wrap {
		display: flex;
		justify-content: center;
		padding: 28px 18px 36px;
		max-width: 460px;
		margin: 0 auto;
	}
	.aa-cta-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		height: 52px;
		padding: 0 36px;
		border-radius: 9999px;
		background: #EA580C;
		color: #fff;
		font-size: 13px;
		font-weight: 900;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
		box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
		transition: transform 0.12s ease, box-shadow 0.12s ease;
		will-change: transform;
		white-space: nowrap;
	}
	.aa-cta-btn:active {
		transform: scale(0.96);
		box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
	}
	.aa-cta-btn svg {
		flex-shrink: 0;
		transition: transform 0.2s ease;
	}
	.aa-cta-btn:active svg {
		transform: translateX(3px);
	}

	/* Tweaks dla małych ekranów (SE, mini) */
	.aa-extra-section.compact { padding: 0 14px; }
}

/* iPhone SE / 375px i mniej – sekcje dodatkowe */
@media only screen and (max-width: 375px) {
	.aa-extra-section    { padding: 0 14px !important; }
	.aa-cat-grid,
	.aa-process-grid     { gap: 10px; }
	.aa-cat-tile         { padding: 16px; border-radius: 1.8rem; }
	.aa-process-tile     { padding: 14px 10px; border-radius: 1.8rem; }
	.aa-cat-tile__name   { font-size: 11px; }
	.aa-process-tile__title { font-size: 11px; }
}

/* ── Animacja linii SVG w sekcji Flow Produkcji ── */
@keyframes aa-dash-flow {
	to { stroke-dashoffset: -120; }
}
@media (prefers-reduced-motion: reduce) {
	.aa-process-flow-line path { animation: none !important; }
}

/* ── DESKTOP: ukryj całkowicie ── */
@media (min-width: 461px) {
	.hero-home-wrapper,
	#aa-blog-separator,
	.aa-extra-section,
	.aa-cta-wrap {
		display: none !important;
	}
}


/* ============================================================================
   GAP FIX v1.0 — Nadmiarowy margin-top nad products-grid / blog
   ============================================================================
   Problem: parent theme Polaris/Pleione dodaje margin-top lub padding-top
   na wrapperach treści strony (.page-content, .row, .main-content, itp.).
   Te marginesy są liczone od góry viewportu, nie od dołu naszego fixed nav.
   Efekt: ~90px nadmiarowego białego gap-a między menu a pierwszym kontenerem.

   Fix: zerujemy margin-top / padding-top na pierwszych elementach wątku treści.
   Strategia: specyficzne selektory Polaris + ogólne dzieci .page-content.
   ============================================================================ */
@media only screen and (max-width: 767px) {

	/* Kontener gridu produktów / blogów (Visual Composer + Polaris classes) */
	.container.products-grid,
	.container.inline-4-grid,
	.container.blog,
	.container.products-grid.inline-4-grid,
	.container.products-grid.blog,
	.container.inline-4-grid.blog,
	.container.products-grid.inline-4-grid.blog {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	/* Pierwszy .row wewnątrz kontenera treści */
	.container.products-grid > .row:first-child,
	.container.blog > .row:first-child {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	/* Ogólny wrapper treści — Polaris parent theme */
	.page-content,
	.entry-content,
	.site-main,
	.main-content,
	.content-area {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	/* Pierwszy .container po body (gdy treść strony zaczyna się od kontenera) */
	body > .container:first-of-type:not(.liquid-glass-topbar-wrapper):not(.address-card-wrapper):not(.mobile-menu-bar-wrapper),
	body > main:first-of-type > .container:first-child,
	body > main:first-of-type > .row:first-child,
	body > main:first-of-type {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	/* Polaris — specyficzne klasy page wrappers */
	.polaris-page-content,
	.polaris-main,
	.polaris-content-wrapper,
	#main,
	#content,
	#primary {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	/* Polaris — sekcja z tytułem strony (.post-title / .page-header)
	   Często generuje dodatkowe 40-60px pustej przestrzeni */
	.page-header,
	.post-header,
	.polaris-page-header {
		margin-top: 0 !important;
		padding-top: 0 !important;
		margin-bottom: 8px !important;
	}

	/* Pleione / Polaris — vc_row pierwszy na stronie */
	.vc_row-fluid:first-child,
	.vc_row:first-child,
	.wpb_row:first-child {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

}