/* =========================================================================
   pirofaszer.pl — fundament wg Figmy hQWZntKTVnWgxrseTkcXcv.
   Tokeny, typografia, przyciski, nagłówek (5:2/5:3), menu na telefonie (5:4), stopka (5:264/5:276).
   Komputer = ramki 1440 (kontener 1344 + 48 px marginesu), telefon = ramki 390 (margines 16–20 px).
   Widoki mają własne pliki assets/css/v-*.css.
   ========================================================================= */

:root {
	--pf-ink: #17111f;        /* ciemne tło nagłówka/stopki, główny tekst */
	--pf-ink-2: #30223e;      /* linie i kafle na ciemnym */
	--pf-muted: #c3b6d0;      /* tekst pomocniczy na ciemnym */
	--pf-text-2: #51465c;     /* tekst pomocniczy na jasnym */
	--pf-cream: #fffdf7;      /* tło treści */
	--pf-sand: #f3ecd9;       /* pasy informacyjne */
	--pf-purple: #6924df;     /* przyciski, akcenty */
	--pf-lime: #e4ff39;       /* wyróżnienia na ciemnym */
	--pf-container: 1344px;
	--pf-gutter: 48px;
	--pf-font: 'Roboto', system-ui, sans-serif;
	--pf-display: 'Barlow Condensed', 'Roboto Condensed', sans-serif;
	--pf-chrome: linear-gradient(180deg, #fff 0%, #c9ccd1 46%, #fff 52%, #c9ccd1 100%);

	/* WoodMart: te same fonty i kolory w jego elementach (formularze Woo, powiadomienia). */
	--wd-text-font: var(--pf-font);
	--wd-title-font: var(--pf-display);
	--wd-entities-title-font: var(--pf-font);
	--wd-primary-color: var(--pf-purple);
	--wd-alternative-color: var(--pf-lime);
	--wd-text-color: var(--pf-text-2);
	--wd-title-color: var(--pf-ink);
	--wd-link-color: var(--pf-ink);
	--wd-link-color-hover: var(--pf-purple);
	--btn-accented-bgcolor: var(--pf-purple);
	--btn-accented-bgcolor-hover: #5a1cc4;
}

@media (max-width: 1023.98px) {
	:root { --pf-gutter: 16px; }
}

body,
body .wd-page-wrapper.website-wrapper,
body .wd-page-content.main-page-wrapper {
	background-color: var(--pf-cream) !important;
	color: var(--pf-ink);
	font-family: var(--pf-font);
}

.pf-container {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--pf-container) + 2 * var(--pf-gutter));
	margin-inline: auto;
	padding-inline: var(--pf-gutter);
}

.pf-icon { display: block; flex: none; }
/* WoodMart daje li margin-bottom 10 px — w naszych listach nawigacji odstępy są z Figmy. */
.pf-header li, .pf-drawer li, .pf-footer li { margin: 0; }

@media (min-width: 1024px) { .pf-only-mobile { display: none !important; } }
@media (max-width: 1023.98px) { .pf-only-desktop { display: none !important; } }

/* --- Przycisk z twardym cieniem (Figma 5:100: 2 px ramka #17111f, cień 3/3/0) --- */
.pf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0 14px;
	border: 2px solid var(--pf-ink);
	border-radius: 2px;
	background: var(--pf-purple);
	box-shadow: 3px 3px 0 var(--pf-ink);
	color: var(--pf-cream) !important;
	font: 600 14px/1 var(--pf-font);
	text-decoration: none;
	cursor: pointer;
	transition: transform .1s, box-shadow .1s;
}
.pf-btn:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--pf-ink); }
.pf-btn:active { transform: translate(3px, 3px); box-shadow: none; }
.pf-btn--lime { background: var(--pf-lime); color: var(--pf-ink) !important; }
.pf-btn--ghost { background: transparent; border-color: var(--pf-muted); box-shadow: none; }

/* --- Logo tekstowe: chrom + limonkowe „.PL” (5:14/5:15) --- */
.pf-logo {
	display: inline-flex;
	font: italic 700 32px/1.2 var(--pf-display);
	text-decoration: none;
	white-space: nowrap;
}
.pf-logo__chrome { background: var(--pf-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-logo__pl { color: var(--pf-lime); }

/* --- Przycisk-ikona 44×44 (telefon) --- */
.pf-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
}

/* =========================== NAGŁÓWEK ============================ */
.pf-header { background: var(--pf-ink); color: var(--pf-cream); position: relative; z-index: 400; }
.pf-header a { color: inherit; text-decoration: none; }

.pf-topbar { height: 32px; font: 400 12px/32px var(--pf-font); color: var(--pf-muted); }
.pf-topbar__in { display: flex; justify-content: space-between; }
.pf-topbar p { margin: 0; white-space: nowrap; }
.pf-topbar strong { font-weight: 500; color: var(--pf-lime); margin-left: 6px; }
@media (min-width: 1024px) { .pf-topbar p.pf-topbar__contact { margin-right: 48px; } }
@media (max-width: 379.98px) { .pf-topbar__pl { display: none; } } /* 360 px: cały napis nie mieścił się, ucinało „299 zł” */

.pf-headbar__in {
	display: flex;
	align-items: center;
	height: 80px;
	border-top: 1px solid var(--pf-ink-2);
}
/* Figma 5:6: logo 48→330 (wyszukiwarka od x=330), wyszukiwarka 650 + 40, akcje Konto 110 / Ulubione 122 / Koszyk — kończą się na x≈1342. */
.pf-headbar .pf-logo { flex: 0 0 282px; }

.pf-search {
	display: flex;
	flex: 0 1 650px;
	height: 48px;
	margin: 0 40px 0 0;
	border-radius: 4px;
	background: var(--pf-cream);
	overflow: hidden;
}
.pf-search input[type="search"] {
	flex: 1;
	height: 48px;
	min-width: 0;
	padding: 0 18px;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--pf-ink);
	font: 400 16px var(--pf-font);
}
.pf-search input::placeholder { color: var(--pf-text-2); opacity: 1; }
.pf-search button { display: grid; place-items: center; width: 56px; height: 48px; padding: 0; border: 0; border-radius: 4px; background: var(--pf-purple); cursor: pointer; }

.pf-actions { display: flex; align-items: center; }
.pf-action {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 48px;
	padding-left: 10px;
	font: 500 13px var(--pf-font);
	position: relative;
}
.pf-action { box-sizing: border-box; }
@media (min-width: 1024px) {
	.pf-action:nth-child(2) { width: 110px; }
	.pf-action:nth-child(3) { width: 122px; }
}
.pf-cart-count {
	position: absolute;
	top: -6px;
	left: 25px;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	box-sizing: border-box;
	border-radius: 10px;
	background: var(--pf-purple);
	color: var(--pf-cream);
	font: 500 12px/1 var(--pf-font);
}

/* Nawigacja kategorii (5:7) */
.pf-nav { height: 56px; border-top: 1px solid var(--pf-ink-2); }
.pf-nav__list { display: flex; align-items: center; height: 56px; margin: 0 0 0 -8px; padding: 0; list-style: none; gap: 19px; }
.pf-nav__item { position: static; display: flex; align-items: center; height: 56px; }
.pf-nav__item > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 56px;
	padding: 0 8px;
	font: 500 15px var(--pf-font);
	color: var(--pf-cream);
}
.pf-nav__item > a:hover,
.pf-nav__item.is-active > a,
.pf-nav__item--mega:hover > a,
.pf-nav__item--mega:focus-within > a { color: var(--pf-lime); }
.pf-nav__item.is-active > a::after,
.pf-nav__item--mega:hover > a::after {
	content: "";
	position: absolute;
	left: 8px;
	right: 7px;
	bottom: 0;
	height: 3px;
	background: var(--pf-purple);
}
.pf-nav__item--mega > a { padding-right: 10px; }
/* Strzałka „Wyrzutnie”: plik limonkowy (stan aktywny 5:41); nieaktywna biała jak tekst. */
.pf-nav__item--mega:not(.is-active):not(:hover):not(:focus-within) > a .pf-icon { filter: brightness(0) invert(1); }
.pf-nav__item--pick > a {
	height: 44px;
	padding: 0 11px;
	border-radius: 3px;
	background: var(--pf-lime);
	color: var(--pf-ink) !important;
}

/* Mega menu Wyrzutni (5:8) */
.pf-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--pf-cream);
	color: var(--pf-ink);
	box-shadow: 0 12px 24px rgba(23, 17, 31, .12);
	visibility: hidden;
	opacity: 0;
	transition: opacity .15s, visibility .15s;
}
.pf-nav__item--mega:hover .pf-mega,
.pf-nav__item--mega:focus-within .pf-mega { visibility: visible; opacity: 1; }
.pf-mega__in { display: flex; justify-content: space-between; min-height: 310px; padding-top: 28px; padding-bottom: 28px; }
.pf-mega__cols { display: grid; grid-template-columns: 262px 238px 180px; padding-top: 2px; padding-right: 58px; border-right: 1px solid var(--pf-muted); margin-bottom: 4px; }
.pf-mega__title { margin: 0 0 7px; font: 700 22px/1.2 var(--pf-display); color: var(--pf-ink); }
.pf-mega__col ul { margin: 0; padding: 0; list-style: none; width: 180px; }
.pf-mega__col a { display: flex; align-items: center; justify-content: space-between; height: 44px; padding-right: 10px; font: 400 15px var(--pf-font); color: var(--pf-ink) !important; }
.pf-mega__col a:hover { color: var(--pf-purple) !important; }
.pf-mega__promo {
	position: relative;
	box-sizing: border-box;
	flex: 0 1 564px;
	min-width: 0;
	height: 254px;
	padding: 20px 24px;
	border-radius: 4px;
	background: var(--pf-ink);
	color: var(--pf-cream);
}
.pf-mega__kicker { margin: 0 0 17px; font: 500 12px var(--pf-font); color: var(--pf-muted); }
.pf-mega__head { margin: 9px 0 0; font: italic 700 34px/1.2 var(--pf-display); color: var(--pf-cream); }
.pf-mega__text { margin: 0; font: 400 14px var(--pf-font); color: var(--pf-muted); }
.pf-mega__btn { position: absolute; right: 24px; top: 186px; width: 186px; } /* Figma: x=354 w ramce 564 = 24 od prawej; od prawej, żeby nie wychodził poza ekran przy 1024–1439 */

/* „Więcej” — pozostałe kategorie główne (drzewo jak na PL, 18.11) */
.pf-nav__item--more { position: relative; }
.pf-more {
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 20;
	width: max-content;
	max-width: min(640px, 90vw);
	padding: 16px 20px;
	background: var(--pf-cream);
	box-shadow: 0 12px 24px rgba(23, 17, 31, .12);
	visibility: hidden;
	opacity: 0;
	transition: opacity .15s, visibility .15s;
}
.pf-nav__item--more:hover .pf-more,
.pf-nav__item--more:focus-within .pf-more { visibility: visible; opacity: 1; }
.pf-more__list { display: grid; grid-template-columns: repeat(2, minmax(220px, auto)); column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.pf-more__list a { display: flex; align-items: center; min-height: 40px; font: 400 15px var(--pf-font); color: var(--pf-ink) !important; }
.pf-more__list a:hover,
.pf-more__list a.is-on { color: var(--pf-purple) !important; }

/* Podkategorie nad listingiem (drzewo jak na PL) */
.pf-cat__subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }

/* Nagłówek na telefonie (5:3) */
@media (max-width: 1023.98px) {
	.pf-topbar { height: 32px; overflow-x: auto; scrollbar-width: none; font-size: 11px; }
	.pf-topbar__in { padding-inline: 16px; }
	.pf-topbar__contact { display: none; }
	.pf-headbar__in { position: relative; height: 56px; padding: 0 12px 0 6px; justify-content: space-between; }
	.pf-headbar__in::before { content: ""; position: absolute; left: 16px; right: 16px; top: -1px; height: 1px; background: var(--pf-ink-2); }
	.pf-headbar__in { border-top: 0; }
	.pf-headbar .pf-logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; font-size: 24px; }
	.pf-actions { gap: 4px; margin-left: auto; }
	.pf-action--cart { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.pf-action--cart .pf-cart-count { top: 1px; left: 25px; min-width: 18px; height: 18px; border-radius: 9px; font-size: 11px; }
	/* Wyszukiwarka na telefonie: wysuwana pod nagłówkiem po kliknięciu lupy */
	.pf-search { display: none; position: absolute; left: 16px; right: 16px; top: 100%; margin: 0; z-index: 5; box-shadow: 0 8px 20px rgba(23, 17, 31, .3); }
	.pf-search.is-open { display: flex; }
}

/* =========================== MENU NA TELEFONIE (5:4) ============================ */
.pf-drawer[hidden] { display: none; }
.pf-drawer { position: fixed; inset: 0; z-index: 1000; }
/* Zalogowany admin: pasek WP (32/46 px, z-index 99999) zasłaniał górę mini-koszyka, menu i filtrów. */
body.admin-bar :is(.pf-mc, .pf-drawer, .pf-sr__filters) { top: 32px; }
@media (max-width: 782px) { body.admin-bar :is(.pf-mc, .pf-drawer, .pf-sr__filters) { top: 46px; } }
.pf-drawer__shade { position: absolute; inset: 0; background: rgba(23, 17, 31, .72); }
.pf-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: min(352px, 90vw);
	box-sizing: border-box;
	padding: 0 20px 24px;
	overflow-y: auto;
	background: var(--pf-ink);
	color: var(--pf-cream);
	font-family: var(--pf-font);
}
.pf-drawer__panel a { color: var(--pf-cream); text-decoration: none; }
.pf-drawer__head { display: flex; justify-content: space-between; align-items: center; height: 63px; margin-right: -14px; border-bottom: 1px solid var(--pf-ink-2); }
.pf-logo--drawer { font-size: 26px; }
.pf-drawer__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.pf-drawer__tile { position: relative; box-sizing: border-box; height: 96px; padding: 13px 12px; border-radius: 4px; background: var(--pf-ink-2); }
.pf-drawer__tile small { display: block; font: 500 10px var(--pf-font); color: var(--pf-muted); }
.pf-drawer__tile b { display: block; margin-top: 10px; font: 700 25px/1.2 var(--pf-display); }
.pf-drawer__tile .pf-icon { position: absolute; right: 16px; bottom: 11px; width: 20px; height: 20px; }
.pf-drawer__tile--lime { background: var(--pf-lime); }
.pf-drawer__tile--lime small, .pf-drawer__tile--lime b { color: var(--pf-ink); }
.pf-drawer__tile--lime b { margin-top: 5px; font-size: 23px; }
.pf-drawer__label { margin: 24px 0 10px; font: 500 11px var(--pf-font); color: var(--pf-muted); }
.pf-drawer__list { margin: 0; padding: 0; list-style: none; }
.pf-drawer__list a { display: flex; justify-content: space-between; align-items: center; height: 48px; border-bottom: 1px solid var(--pf-ink-2); font: 500 18px var(--pf-font); }
.pf-drawer__account { display: flex; align-items: center; height: 48px; margin-top: 20px; padding: 0 12px; border-radius: 4px; background: var(--pf-ink-2); }
.pf-drawer__account a { display: flex; align-items: center; gap: 8px; font: 500 13px var(--pf-font); }
.pf-drawer__account a + a { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--pf-text-2); }
.pf-drawer__account a:first-child { width: 132px; }
.pf-drawer__phone { display: flex; align-items: center; gap: 12px; height: 44px; font: 500 18px var(--pf-font); }
.pf-drawer__hours { margin: -6px 0 0 32px; font: 400 12px var(--pf-font); color: var(--pf-muted); }
.pf-drawer__mail { display: flex; align-items: center; gap: 12px; height: 44px; margin-top: 4px; font: 400 15px var(--pf-font); }
.pf-drawer__legal { display: flex; gap: 14px; margin-top: 20px; padding-top: 21px; border-top: 1px solid var(--pf-ink-2); }
.pf-drawer__legal p { margin: 0; }
.pf-drawer__legal strong { display: block; font: 600 16px var(--pf-font); }
.pf-drawer__legal span { display: block; margin-top: 4px; font: 400 12px/1.2 var(--pf-font); color: var(--pf-muted); }
body.pf-lock { overflow: hidden; }

/* Elementy WoodMart spoza Figmy: przycisk paska bocznego (telefon) i „do góry”. */
.wd-sidebar-opener, .scrollToTop { display: none !important; }

/* =========================== STOPKA ============================ */
.pf-footer { background: var(--pf-ink); color: var(--pf-muted); font-family: var(--pf-font); }
.pf-footer a { color: inherit; text-decoration: none; }
.pf-footer a:hover { color: var(--pf-lime); }
.pf-footer__grid { display: grid; grid-template-columns: 464px 286px 1fr; padding-top: 44px; padding-bottom: 54px; }
.pf-logo--footer { font-size: 34px; }
.pf-footer__claim { margin: 13px 0 0; font: 400 14px var(--pf-font); }
.pf-footer__contact { display: flex; gap: 12px; margin-top: 30px; color: var(--pf-cream) !important; font: 400 15px var(--pf-font); }
.pf-footer__contact--phone { margin-top: 32px; font: 500 16px var(--pf-font); }
.pf-footer__contact--phone + .pf-footer__contact { margin-top: 20px; }
.pf-footer__contact small { display: block; margin-top: 9px; font: 400 12px var(--pf-font); color: var(--pf-muted); }
.pf-footer__title { margin: 4px 0 10px; font: 700 24px/1.2 var(--pf-display); color: var(--pf-cream); text-transform: uppercase; }
.pf-footer__col ul { margin: 0; padding: 0; list-style: none; }
.pf-footer__col li a { display: flex; align-items: center; height: 44px; font: 400 14px var(--pf-font); }
.pf-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 26px; border-top: 1px solid var(--pf-ink-2); font: 400 11px var(--pf-font); }
.pf-footer__bottom p { margin: 0; }
/* Ikony obok dwulinijkowego tekstu: od góry, bez rozciągania przez flex (Figma 10:1059, 10:1092). */
.pf-footer__contact, .pf-drawer__legal { align-items: flex-start; }

@media (max-width: 1023.98px) {
	.pf-footer .pf-container { padding-inline: 20px; }
	.pf-footer__grid { grid-template-columns: repeat(2, minmax(0, 166px)); column-gap: 18px; padding-top: 34px; padding-bottom: 34px; }
	.pf-footer__brand { grid-column: 1 / -1; }
	.pf-footer__brand { margin-bottom: 44px; }
	.pf-footer__bottom { padding: 18px 0 20px; }
}

/*
 * Zdjęcia produktów z białym tłem (packshoty z PL) wtapiamy w kremowe/piaskowe tło kart: mix-blend-mode multiply
 * zamienia biel na kolor tła pod spodem, a kolory produktu zostają (krem #fffdf7 prawie nie przyciemnia). Decyzja Michała 14.11.2026.
 * Nie dotyczy ciemnych teł (slajd filmu, kafle „Zobacz efekt”) — tam multiply przyciemniłoby całe zdjęcie.
 */
.pf-pcard__media img,
.pf-pg__slide--image .pf-pg__img,
.pf-pg__thumb .pf-pg__timg:not(.pf-pg__timg--cover),
.pf-pp-card__img,
.pf-sc__img img, img.pf-sc__img,
.pf-set__img img,
.pf-pick__img img,
.pf-ci__thumb img,
.pf-mc__thumb img { mix-blend-mode: multiply; }
.pf-suggest__thumb { background-color: var(--pf-cream); background-blend-mode: multiply; }

/* 1024–1279: pozycje menu łamały się na 2 linie („Fontanny i wulkany”, „Race i dymy”…) — mniejsze odstępy i font, jedna linia (QA 14.11 Q23). */
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.pf-nav__list { gap: 6px; }
	.pf-nav__item > a { padding-inline: 6px; font-size: 13px; white-space: nowrap; }
}

/* Ukryty panel menu WoodMart (motyw ma własne menu) — był w drzewie dostępności z linkiem „Create your first navigation menu here” (QA 14.11 Q30). */
.mobile-nav.wd-side-hidden { display: none !important; }

/* Telefon: okruszki miały 14–17 px wysokości — cel dotyku min. 24 px (QA 14.11 Q30). */
@media (max-width: 1023.98px) {
	:is(.pf-crumbs, .pf-ct-crumbs, .pf-pb__crumbs, .pf-sr__crumbs, .pf-cart__crumbs, .pf-acc__crumb) a { display: inline-block; padding-block: 5px; margin-block: -5px; }
}

.pf-nowrap { white-space: nowrap; }

/* Pasek kodu FASZER (inc/v-promocje.php) */
.pf-promobar { background: var(--pf-lime, #c9f413); color: #111; font: 500 13px/1.35 var(--pf-font); text-align: center; padding: 7px 0; }
.pf-promobar .pf-container { white-space: normal; }
.pf-promobar__kod { letter-spacing: .06em; background: #111; color: var(--pf-lime, #c9f413); padding: 1px 7px; border-radius: 4px; user-select: all; }
.pf-promobar a { color: #111; text-decoration: underline; font-weight: 600; }
@media (max-width: 767px) { .pf-promobar__dop { display: none; } }

/* Ceny przekreślone większe i wyraźniejsze (Michał 19.11) */
.pf-pcard__old, .pf-pb__amount del, .pf-pp-card__price del, .pf-home del, .woocommerce del {
	text-decoration: line-through; text-decoration-color: #e0245e; text-decoration-thickness: 2px; opacity: 1;
}
.pf-pcard .pf-pcard__old { font-size: 16px; font-weight: 500; }
.pf-pb__amount del { font-size: .62em; font-weight: 500; }
.pf-pp-card__price del, .pf-home del { font-size: .75em; font-weight: 500; }
@media (max-width: 767px) {
	.pf-pcard .pf-pcard__old { font-size: 13px; top: 0; }
	.pf-pcard .pf-pcard__price { flex-wrap: wrap; }
}

/* FASZER BOXY w menu na telefonie na zielono (19.11) */
.pf-drawer__lime > a { background: var(--pf-lime); color: var(--pf-ink) !important; border-radius: 3px; padding-left: 10px !important; padding-right: 10px !important; }
.pf-drawer__lime > a .pf-icon { filter: brightness(0); }

/* FASZER BOX: oszczędność (19.11) */
.pf-pcard__oszcz b, .pf-pb__oszcz b { color: #e0245e; font-weight: 700; }
