/* Gard House — drobne poprawki globalne motywu (ładowane na całej stronie). */

/* Menu główne w nagłówku: pozycje nie łamią się na dwie linie ("Ogród i SPA", "E-mobilność"). */
.elementor-location-header .premium-main-nav-menu > li > a.premium-menu-link {
	white-space: nowrap;
}
@media (min-width: 1025px) {
	.elementor-location-header .premium-main-nav-menu > li > a.premium-menu-link {
		padding-left: 9px;
		padding-right: 9px;
	}
}

/* Tokeny wspólne dla stopki i szablonów (strona główna nadpisuje je w .gh-home tymi samymi wartościami). */
:root {
	--gh-green: var(--e-global-color-primary, #437C31);
	--gh-green-dark: var(--e-global-color-8f9fe5f, #2F5E22);
	--gh-ink: #1b211d;
	--gh-text: #323232;
	--gh-muted: #566058;
	--gh-surface: #f4f6f2;
	--gh-tint: #e8f0e4;
	--gh-line: #e1e6de;
	--gh-radius: 16px;
	--gh-head-font: var(--e-global-typography-primary-font-family, "Mukta"), sans-serif;
}

/* Nagłówek: logo po lewej → menu → konto / koszyk (kolejność DOM: logo, menu, konto, koszyk). */
.elementor-location-header .elementor-widget-theme-site-logo img { width: auto; max-width: 100%; max-height: 58px; }
.elementor-location-header > .elementor-section { box-shadow: 0 1px 0 var(--gh-line); }
.elementor-location-header .elementor-container { align-items: center; }
@media (min-width: 1025px) {
	.elementor-location-header .premium-nav-widget-container { justify-content: flex-start; }
}
@media (max-width: 1024px) {
	/* tablet i telefon: logo · konto · koszyk · hamburger */
	.elementor-location-header .elementor-container { flex-wrap: nowrap; }
	.elementor-location-header .elementor-element-1d8d876c { order: 1; }
	.elementor-location-header .elementor-element-15f88827 { order: 2; }
	.elementor-location-header .elementor-element-4e3b91b { order: 3; }
	.elementor-location-header .elementor-element-4a660b1c { order: 4; }
	.elementor-location-header .elementor-element-1d8d876c img { max-height: 48px; }
}

/* V13: ikona konta w nagłówku — jedyny użytek fontu ElementsKit (ekiticons, 450 kB, ładowany na każdej stronie dla jednego glifu). Font i arkusz są blokowane (inc/perf.php), ikona rysowana maską SVG. */
i.icon.icon-user::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* V13.1: zabezpieczenie — zamknięty lightbox PhotoSwipe nigdy nie jest widoczny (bez arkusza PhotoSwipe przyciski wychodziły jako zielone kropki w stopce). */
.pswp:not(.pswp--open) { display: none !important; }

/* V13.6: ramka zastępcza zdjęć kart podczas pobierania (wolna sieć). Proporcje rezerwują atrybuty width/height i reguły kart — tu tylko neutralne tło
   do chwili załadowania obrazu (klasa gh-ld z inc/img-loading.php), żeby karta nie wyglądała na pustą. Po załadowaniu tło znika (zdjęcia z przezroczystością bez zmian). */
html.gh-js body ul.products li.product img:not(.gh-ld), /* wyższa specyficzność niż woo.css (body.woocommerce-page ul.products li.product img: białe tło) */
html.gh-js .gh-op-card .elementor-image-box-img img:not(.gh-ld),
html.gh-js article.post img.wp-post-image:not(.gh-ld),
html.gh-js .e-loop-item .elementor-widget-image img:not(.gh-ld),
html.gh-js .gh-guide-card img:not(.gh-ld),
html.gh-js .gh-op3-mosaic img:not(.gh-ld) { background-color: var(--gh-surface, #f4f6f2); }
