/*
Theme Name: BOHO Sklep
Description: Prosta prezentacja oferty sklepu BOHO YARN: pasek z danymi firmy, logo i koszyk, linia kategorii, siatka produktów w 4 kolumnach. Dane firmy i logo pochodzą z ustawień faktur (Finanse → Konfiguracja).
Author: eCommerce Manager
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: boho-sklep
*/

/* ============================================================== TOKENY */
:root {
	--ink: #1C1B19;
	--ink-soft: #3B3833;
	--on-dark: #F2EEE7;
	--on-dark-2: #C9C1B4;
	--on-dark-3: #A89F92;
	--nav: #D6CFC4;
	--accent: #B4552D;
	--accent-dark: #8E3F1F;
	--accent-light: #E0A07F;
	--accent-light2: #EBC0A6;
	--accent-bg: #F8EFE9;
	--accent-bg2: #FBF5F1;
	--page: #F7F4EF;
	--surface: #fff;
	--field: #F3EFE9;
	--line: #ECE6DD;
	--line2: #E6DFD5;
	--line3: #DED6CB;
	--line4: #F1ECE5;
	--line5: #EAE3D9;
	--dashed: #CFC6B9;
	--muted: #7D7469;
	--muted2: #857B70;
	--muted3: #968C80;
	--muted4: #5E564C;
	--ok: #2E7D5B;
	--ok2: #1E9E68;
	--ok-dark: #14603F;
	--ok-bg: #F1FAF5;
	--ok-line: #BFE3CF;
	--cta: #B4552D;
	--cta-hover: #8E3F1F;
	--violet: #6C4BD8;
	--violet-bg: #F4F0FF;
	--wrap: 1280px;
	--pad: 24px;
	--sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--display: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
input, button, select, textarea { font-family: inherit; font-size: inherit; }

.bh-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.bh-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	z-index: 999;
}

.bh-skip:focus { left: 8px; top: 8px; color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ============================================================= NAGLOWEK */
.bh-header { background: var(--ink); color: var(--on-dark); }

/* --- 1. pasek zaufania + akcje --- */
.bh-topbar {
	background: #07090C;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	font-size: 12.5px;
	font-weight: 500;
}

.bh-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 20px;
	padding-top: 7px;
	padding-bottom: 7px;
}

.bh-topbar__msg { display: flex; flex-wrap: wrap; gap: 4px 24px; color: #8F9CAA; }
.bh-topbar__msg span + span::before { content: "\00b7"; color: #3C4654; margin-right: 24px; }

.bh-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }

.bh-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 10px;
	border-radius: 8px;
	color: var(--nav);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.bh-action:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.bh-action .bh-ico { flex: none; opacity: .85; }
.bh-action--phone { color: #fff; }
.bh-action--phone .bh-ico { color: var(--accent-light); opacity: 1; }

.bh-cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background: var(--accent);
	color: #fff;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
}

@media (max-width: 900px) {
	.bh-topbar__msg span:nth-child(n+2) { display: none; }
	.bh-topbar__msg span + span::before { content: none; }
	.bh-action__label { display: none; }
	.bh-action--phone .bh-action__label { display: inline; }
}

/* --- 2. pasek z logo i menu: jasny, zeby odcinal sie od czerni --- */
.bh-navbar {
	background: #fff;
	border-bottom: 3px solid var(--accent);
	box-shadow: 0 2px 14px rgba(11, 14, 18, .18);
}

.bh-navbar__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	flex-wrap: wrap;
	padding-top: 14px;
	padding-bottom: 12px;
}

.bh-navbar__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.bh-navbar__menu { padding-bottom: 2px; }

/* na stronie glownej logo jest w hero, wiec gorny rzad ma sens tylko pod hamburgera */
.bh-navbar--home .bh-navbar__top { padding-top: 8px; padding-bottom: 8px; }

@media (min-width: 1081px) {
	.bh-navbar--home .bh-navbar__top { display: none; }
	.bh-navbar--home .bh-navbar__menu { padding-top: 4px; }
}

/* logo: obrazek (albo napis zastępczy) i podpis pod spodem */
.bh-logo {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	flex: none;
	line-height: 1;
	text-decoration: none;
}

.bh-logo__img { display: block; width: auto; height: auto; max-height: 44px; }

.bh-logo__text {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(24px, 2.4vw, 30px);
	letter-spacing: .02em;
}

.bh-logo__mark { color: var(--accent); }

.bh-logo__sub {
	display: block;
	font-family: var(--sans);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--muted3);
	margin-top: 5px;
}

.bh-logo--dark, .bh-logo--dark:hover { color: var(--ink); }

/* logo w hero: większe, na ciemnym tle */
.bh-logo--hero, .bh-logo--hero:hover { color: #fff; }
.bh-logo--hero .bh-logo__img { max-height: 96px; }
.bh-logo--hero .bh-logo__text { font-size: clamp(44px, 5vw, 62px); }
.bh-logo--hero .bh-logo__mark { color: var(--accent-light); }
.bh-logo--hero .bh-logo__sub { font-size: 13px; letter-spacing: .34em; color: #9AA7B4; margin-top: 10px; }

@media (max-width: 560px) {
	.bh-logo__img { max-height: 36px; }
	.bh-logo--hero .bh-logo__img { max-height: 68px; }
}

.bh-nav { min-width: 0; }

.bh-nav > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bh-nav li { position: relative; list-style: none; }

.bh-nav > ul > li > a {
	display: block;
	padding: 12px 14px;
	border-radius: 9px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink-soft);
}

.bh-nav > ul > li:hover > a,
.bh-nav > ul > li:focus-within > a { color: var(--accent); background: var(--accent-bg); }
.bh-nav .current-menu-item > a,
.bh-nav .current-menu-parent > a { color: #fff; background: var(--ink); }

/* Podmenu bez martwej przerwy miedzy rodzicem a lista - wizualny odstep robi
   przezroczysta ramka gorna. Przy `top: calc(100% + 12px)` kursor gubil hover w luce. */
.bh-nav .sub-menu {
	position: absolute;
	z-index: 70;
	top: 100%;
	left: 0;
	display: none;
	min-width: 240px;
	flex-direction: column;
	margin: 0;
	padding: 8px;
	background: #fff;
	background-clip: padding-box;
	border: 1px solid var(--line2);
	border-top: 8px solid transparent;
	border-radius: 0 0 14px 14px;
	box-shadow: 0 24px 50px -20px rgba(11, 14, 18, .35);
}

.bh-nav li:hover > .sub-menu,
.bh-nav li:focus-within > .sub-menu,
.bh-nav li.is-open > .sub-menu { display: flex; }

.bh-nav .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 9px;
	color: var(--ink-soft);
	font-size: 14.5px;
	font-weight: 500;
}

.bh-nav .sub-menu a:hover { background: var(--accent-bg); color: var(--accent); }
.bh-nav .sub-menu .sub-menu { top: -9px; left: calc(100% + 2px); border-top-width: 1px; border-radius: 14px; }

.bh-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 7px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .7;
}

/* przycisk rozwijajacy wyszukiwarke */
.bh-finder-toggle {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	background: var(--accent);
	border: 0;
	border-radius: 10px;
	color: #fff;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.bh-finder-toggle:hover { background: var(--accent-dark); }
.bh-finder-toggle .bh-ico { fill: currentColor; stroke: none; }
.bh-finder-toggle[aria-expanded="true"] { background: var(--accent-dark); }

/* szuflada z wyszukiwarka */
.bh-finder-drawer {
	background: #0B0E12;
	background-image: radial-gradient(900px 300px at 70% -40%, rgba(22, 104, 255, .3), transparent 70%);
	animation: bh-drawer .22s ease-out;
}

.bh-finder-drawer[hidden] { display: none; }
.bh-finder-drawer__inner { padding-top: 22px; padding-bottom: 26px; }

@keyframes bh-drawer {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) { .bh-finder-drawer { animation: none; } }

/* hamburger */
.bh-burger {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: transparent;
	border: 1px solid var(--line3);
	border-radius: 10px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.bh-burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.bh-burger span + span { margin-left: -26px; margin-top: 5px; }
.bh-burger span:nth-child(3) { margin-top: 11px; }

@media (max-width: 1080px) {
	.bh-burger { display: inline-flex; }
	.bh-nav { display: none; }
	.bh-nav.is-open { display: block; }
	.bh-navbar__menu:has(.bh-nav:not(.is-open)) { padding-bottom: 0; }
	.bh-nav > ul { flex-direction: column; gap: 0; padding-bottom: 10px; }
	.bh-nav > ul > li > a { padding: 13px 0; border-radius: 0; border-bottom: 1px solid var(--line4); }
	.bh-nav > ul > li:hover > a { background: transparent; }
	.bh-nav .menu-item-has-children > a::after { float: right; margin-top: 6px; }
	.bh-nav .sub-menu {
		position: static;
		display: flex;
		background: transparent;
		box-shadow: none;
		border: 0;
		padding: 4px 0 10px 14px;
		min-width: 0;
	}
	.bh-nav .sub-menu a { color: var(--muted); padding: 8px 0; }
}

@media (max-width: 560px) {
	.bh-finder-toggle span { display: none; }
	.bh-finder-toggle { padding: 12px 14px; }
}

/* ================================================================= HERO */
.bh-hero {
	position: relative;
	overflow: hidden;
	background: #0B0E12;
	color: var(--on-dark);
	padding: 44px 0 64px;
	isolation: isolate;
}

.bh-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bh-hero__bg svg { width: 100%; height: 100%; display: block; }

.bh-hero__sine {
	stroke-dasharray: 16 10;
	animation: bh-flow 3.2s linear infinite;
}

.bh-hero__square {
	stroke-dasharray: 10 8;
	animation: bh-flow 2.4s linear infinite reverse;
}

@keyframes bh-flow { to { stroke-dashoffset: -52; } }

@media (prefers-reduced-motion: reduce) {
	.bh-hero__sine, .bh-hero__square { animation: none; stroke-dasharray: none; }
}

.bh-hero__inner { position: relative; z-index: 1; }

.bh-hero__head {
	max-width: var(--wrap);
	margin: 0 auto 28px;
	padding: 0 var(--pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 48px;
	flex-wrap: wrap;
}

.bh-hero h1 {
	margin: 0;
	flex: 0 1 auto;
	max-width: 640px;
	font-size: clamp(27px, 3.2vw, 44px);
	line-height: 1.08;
	color: #fff;
	text-align: right;
	text-wrap: balance;
}

@media (max-width: 820px) {
	.bh-hero__head { flex-direction: column; justify-content: center; }
	.bh-hero h1 { text-align: center; }
}

.bh-hero__finder {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--pad);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	align-items: stretch;
}

/* z banerem wyszukiwarka oddaje mu prawa kolumne */
/* baner trzyma własne proporcje i zostaje przy górnej krawędzi: przy wysokiej
   wyszukiwarce (zakładka „Parametry i wtyk") rozciągnięty obrazek robił się kilkakrotnie
   powiększony, bo object-fit: cover skalował go do wysokości kolumny */
.bh-hero__finder.has-baner { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }

/* banery w prawej kolumnie, jeden pod drugim (zwykle jeden) */
.bh-banery { display: grid; gap: 16px; align-content: start; }

.bh-baner {
	display: block;
	border-radius: 22px;
	overflow: hidden;
	background: #0B0E12;
	box-shadow: 0 18px 44px -26px rgba(0, 0, 0, .9);
	transition: transform .18s ease, box-shadow .18s ease;
}

.bh-baner:hover,
.bh-baner:focus-visible { transform: translateY(-2px); box-shadow: 0 24px 52px -24px rgba(0, 0, 0, .95); }

.bh-baner__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

@media (max-width: 1160px) {
	.bh-hero__finder.has-baner { grid-template-columns: minmax(0, 1fr); }
	.bh-banery { max-width: 478px; margin: 0 auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.bh-baner { transition: none; }
	.bh-baner:hover, .bh-baner:focus-visible { transform: none; }
}

.bh-hero__below { max-width: var(--wrap); margin: 36px auto 0; padding: 0 var(--pad); }

.bh-hero__lead {
	max-width: 760px;
	margin: 0 auto 26px;
	font-size: 17.5px;
	line-height: 1.6;
	color: var(--on-dark-2);
	text-align: center;
	text-wrap: pretty;
}

.bh-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	padding: 6px 13px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent-light2);
	background: rgba(11, 14, 18, .4);
}

.bh-usp {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px 28px;
	margin: 0;
	padding: 0;
	max-width: none;
}

.bh-usp li { display: flex; gap: 12px; align-items: flex-start; list-style: none; }

.bh-usp__tick {
	flex: none;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(22, 104, 255, .18);
	border: 1px solid rgba(22, 104, 255, .5);
	color: var(--accent-light);
	font-size: 12px;
	font-weight: 700;
}

.bh-usp b { display: block; font-size: 15px; font-weight: 600; color: var(--on-dark); }
.bh-usp span { font-size: 14px; color: var(--on-dark-3); }

/* ======================================================== PASEK ZAUFANIA */
.bh-trust { background: #fff; padding: 28px 0; border-bottom: 1px solid var(--line5); }

.bh-trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 24px;
}

.bh-trust b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.bh-trust span { display: block; margin-top: 5px; font-size: 14px; color: var(--muted); }

/* ============================================================== SEKCJE */
.bh-section { padding: 64px 0 8px; }
.bh-section--tight { padding-top: 44px; }

.bh-section__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.bh-section__head h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.bh-section__note { font-size: 15px; color: var(--muted); }

/* kafle marek */
/* Marki: poziomy suwak (przewijanie palcem, strzałki na desktopie), wszystkie marki z kategorią. */
.bh-brands-slider { position: relative; }
.bh-brands {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 2px 2px 10px;
	scrollbar-width: none;
}
.bh-brands::-webkit-scrollbar { display: none; }

.bh-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 0 0 168px;
	scroll-snap-align: start;
	padding: 22px 12px;
	background: #fff;
	border: 1px solid var(--line2);
	border-radius: 14px;
	text-align: center;
}

.bh-brands__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line2);
	background: #fff;
	color: var(--ink);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(11, 14, 18, .12);
}
.bh-brands__arrow[hidden] { display: none; }
.bh-brands__arrow:hover { border-color: var(--ink); }
.bh-brands__arrow--prev { left: -16px; }
.bh-brands__arrow--next { right: -16px; }
@media (max-width: 900px) {
	.bh-brand { flex-basis: 140px; padding: 18px 10px; }
	.bh-brands__arrow { display: none !important; }
}

.bh-brand:hover { border-color: var(--ink); }
.bh-brand b { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.bh-brand span { font-size: 13px; color: var(--muted3); }

/* ====================================================== KARTA PRODUKTU */
/* Woo renderuje „Podobne produkty" jako ul.products, a nasze kafelki mają klasę bh-card,
   więc siatka musi objąć oba zapisy. */
.bh-products,
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bh-products--wide { gap: 18px; }

@media (max-width: 1040px) {
	.bh-products, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.bh-products, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
	.bh-products, .woocommerce ul.products { grid-template-columns: minmax(0, 1fr); }
}

/* Woo dokłada własne szerokości i float na li.product */
.woocommerce ul.products li.product,
.woocommerce ul.products li.bh-card {
	width: auto;
	margin: 0;
	float: none;
	clear: none;
}

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

.bh-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
}

.bh-card:hover { border-color: var(--ink); }

.bh-card__media {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	padding: 14px;
	background: var(--page);
	overflow: hidden;
}

.bh-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.bh-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }

.bh-card__title {
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink);
	min-height: 42px;
}

.bh-card__title:hover { color: var(--accent); }
.bh-card__spec { font-size: 13px; color: var(--muted2); }

.bh-card__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
}

.bh-card__price { font-family: var(--display); font-size: 19px; font-weight: 700; white-space: nowrap; }
.bh-card__price del { font-size: 15px; font-weight: 400; color: var(--muted3); }
.bh-card__price ins { text-decoration: none; }

.bh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 18px;
	font-size: 14.5px;
	font-weight: 600;
	border-radius: 9px;
	border: 1px solid var(--cta);
	background: var(--cta);
	color: #fff;
	cursor: pointer;
	text-align: center;
}

.bh-btn:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }
.bh-btn--solid { background: var(--ink); color: #fff; }
.bh-btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.bh-btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.bh-btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.bh-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.bh-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.bh-btn--wide { width: 100%; }

/* ============================================================ BLOK B2B */
.bh-b2b { padding: 64px 0 8px; }

.bh-b2b__card {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 36px;
	padding: 44px;
	background: var(--ink);
	background-image: radial-gradient(700px 320px at 90% -20%, rgba(22, 104, 255, .25), transparent 70%);
	border-radius: 22px;
	color: var(--on-dark);
}

.bh-b2b__over { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); }
.bh-b2b h2 { margin: 12px 0 0; font-size: clamp(24px, 3vw, 32px); color: #fff; }
.bh-b2b p { margin: 14px 0 0; color: var(--on-dark-2); max-width: 460px; }
.bh-b2b__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.bh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; align-content: start; }

.bh-stat { padding: 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; }
.bh-stat b { display: block; font-family: var(--display); font-size: 24px; font-weight: 700; color: #fff; }
.bh-stat span { display: block; margin-top: 4px; font-size: 13px; color: var(--on-dark-3); }

/* ============================================================== STOPKA */
.bh-footer { background: var(--ink); color: var(--on-dark-3); padding: 52px 0 34px; margin-top: 72px; }

.bh-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
	gap: 36px;
}

@media (max-width: 860px) {
	.bh-footer__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

.bh-footer .bh-logo__img { max-height: 40px; }
.bh-footer .bh-logo__sub { color: #6B7787; }

.bh-footer b { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.bh-footer ul { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.bh-footer a { color: var(--on-dark-3); }
.bh-footer a:hover { color: #fff; }
.bh-footer__addr { margin-top: 14px; font-size: 14.5px; line-height: 1.6; }
.bh-footer__contact { margin-top: 14px; font-size: 14.5px; color: var(--nav); }

.bh-footer__bottom {
	max-width: var(--wrap);
	margin: 34px auto 0;
	padding: 20px var(--pad) 0;
	border-top: 1px solid rgba(255, 255, 255, .09);
	font-size: 13px;
	color: var(--muted);
}

/* ======================================================== TREŚĆ / STRONY */
.bh-page { padding: 40px 0 0; }
.bh-page--grey { background: var(--page); padding-bottom: 64px; }
.bh-page h1 { font-size: clamp(26px, 3.4vw, 36px); }

.bh-breadcrumb, .woocommerce-breadcrumb {
	margin-bottom: 14px;
	font-size: 13.5px;
	color: var(--muted2);
}

.bh-breadcrumb a, .woocommerce-breadcrumb a { color: var(--muted2); }
.bh-breadcrumb a:hover, .woocommerce-breadcrumb a:hover { color: var(--ink); }

/* Kris: strony i wpisy mają iść na pełną szerokość kontenera, nie w wąskiej kolumnie.
   Sam tekst akapitu dostaje trochę większy interlinię, żeby dłuższe wiersze dało się czytać. */
.bh-prose { max-width: 100%; }
.bh-prose p, .bh-prose ul, .bh-prose ol { line-height: 1.75; }
.bh-prose p, .bh-prose ul, .bh-prose ol { font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); }
.bh-prose h2 { margin-top: 1.6em; font-size: 26px; }
.bh-prose h3 { margin-top: 1.4em; font-size: 20px; }
.bh-prose a { text-decoration: underline; }

.bh-entry-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.bh-entry { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.bh-entry h2 { font-size: 22px; margin-bottom: 6px; }
.bh-entry h2 a { color: var(--ink); }
.bh-entry h2 a:hover { color: var(--accent); }
.bh-entry__meta { font-size: 13.5px; color: var(--muted2); }

/* ========================================================= WOOCOMMERCE */
.bh-shop { background: var(--page); padding: 26px 0 72px; }

.bh-shop__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}



.bh-rail {
	position: sticky;
	top: 20px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
}

.bh-rail h3 { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); margin: 0 0 10px; }
.bh-rail + .bh-rail, .bh-rail__group + .bh-rail__group { margin-top: 18px; }
.bh-rail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.bh-rail a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; color: var(--ink-soft); }
.bh-rail a:hover { background: var(--accent-bg); color: var(--accent); }
.bh-rail .is-current > a { background: var(--ink); color: #fff; }
.bh-rail .bh-rail__count { color: var(--muted3); font-size: 13px; }
.bh-rail .is-current .bh-rail__count { color: rgba(255, 255, 255, .6); }
.bh-rail__sub { padding-left: 10px !important; }

.bh-shop__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}

.bh-shop__count { font-size: 14.5px; color: var(--muted); }
.woocommerce-ordering select { padding: 9px 12px; border: 1px solid var(--line3); border-radius: 8px; background: #fff; }
.woocommerce-result-count { display: none; }

.bh-pagination { margin-top: 28px; }
.bh-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 12px;
	margin-right: 6px;
	border: 1px solid var(--line3);
	border-radius: 9px;
	background: #fff;
	color: var(--ink);
	font-weight: 600;
}

.bh-pagination .page-numbers.current,
.bh-pagination .page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.bh-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bh-pagination li { display: inline; }

/* karta produktu (single) */
.bh-single { background: #fff; padding: 26px 0 0; }

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

/* Woo trzyma galerie i podsumowanie na floatach 48% — w gridzie to rozjezdza kolumny */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product div.images,
.woocommerce div.product .summary,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	min-width: 0;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .up-sells,
.woocommerce div.product .szfit {
	grid-column: 1 / -1;
	margin-top: 24px;
}

@media (max-width: 900px) {
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* galeria */
.woocommerce div.product .woocommerce-product-gallery__wrapper {
	border-radius: 18px;
	overflow: hidden;
	background: var(--page);
}

.woocommerce div.product .woocommerce-product-gallery img { max-width: 100%; height: auto; }

/* pasek miniatur: jedna linia, przewijana w poziomie */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0 0 8px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: var(--line3) transparent;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { height: 7px; }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-track { background: var(--page); border-radius: 99px; }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb { background: var(--line3); border-radius: 99px; }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:hover { background: var(--muted3); }

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 112px;
	width: 112px;
	margin: 0;
	float: none;
	scroll-snap-align: start;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img {
	width: 112px;
	height: 112px;
	object-fit: contain;
	background: var(--page);
	border: 1px solid var(--line);
	border-radius: 12px;
	opacity: 1;
	padding: 6px;
	cursor: pointer;
	transition: border-color .15s ease;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--accent);
}

/* zamiast ikony lupy: całe zdjęcie otwiera lightbox */
.woocommerce div.product .woocommerce-product-gallery__trigger { display: none; }
.woocommerce div.product .woocommerce-product-gallery__image { cursor: zoom-in; }

.woocommerce div.product .woocommerce-product-gallery__image a,
.woocommerce div.product .woocommerce-product-gallery__image img { display: block; width: 100%; }

/* podsumowanie */
.woocommerce div.product .product_title {
	font-size: clamp(22px, 2.4vw, 32px);
	line-height: 1.15;
	margin-bottom: 12px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: var(--display);
	font-size: 34px;
	font-weight: 700;
	color: var(--ink);
	margin: 14px 0;
}

.woocommerce div.product p.price del { font-size: 22px; font-weight: 400; color: var(--muted3); }
.woocommerce div.product p.price ins { text-decoration: none; }

.woocommerce div.product .stock { font-size: 14.5px; font-weight: 600; color: var(--ok); }
.woocommerce div.product .out-of-stock { color: #A33; }

.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 18px 0; }
.woocommerce div.product form.cart .quantity { flex: none; }

.woocommerce div.product .product_meta {
	display: block;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--line4);
	font-size: 13.5px;
	color: var(--muted2);
}

.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }
.woocommerce div.product .product_meta a { color: var(--muted); }
.woocommerce div.product .product_meta .sku_wrapper { display: none; }

/* zakładki opisu */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 18px;
	padding: 0;
	border-bottom: 1px solid var(--line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 16px;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
	border-bottom: 3px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--accent); }

.woocommerce div.product .woocommerce-tabs .panel { max-width: 900px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 22px; }
.woocommerce div.product .woocommerce-tabs .panel img { border-radius: 12px; }

.woocommerce div.product .related > h2, .woocommerce div.product .up-sells > h2 { font-size: 24px; margin-bottom: 16px; }
.woocommerce div.product .related ul.products, .woocommerce div.product .up-sells ul.products { margin: 0; padding: 0; }

.bh-sku { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted3); }

.bh-compat {
	margin: 18px 0;
	padding: 18px;
	border: 1px solid var(--ok-line);
	background: var(--ok-bg);
	border-radius: 14px;
}

.bh-compat__head { display: flex; gap: 11px; align-items: flex-start; }

.bh-compat__tick {
	flex: none;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ok2);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.bh-compat__head b { font-family: var(--display); font-size: 16.5px; color: var(--ok-dark); }
.bh-compat__head p { margin: 3px 0 0; font-size: 14.5px; color: #3B6B55; }

.bh-compat__link {
	display: inline-block;
	margin-top: 6px;
	color: var(--ok-dark);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: underline;
}

.bh-compat__link:hover { color: var(--accent); }

.bh-compat__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; max-height: 220px; overflow-y: auto; }
.bh-compat__chips[hidden] { display: none; }
.bh-compat__chips span { padding: 5px 10px; font-size: 12.5px; background: #fff; border: 1px solid #CFE8DB; border-radius: 999px; color: var(--ok-dark); }

.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
	min-height: 54px;
	padding: 16px 28px;
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 600;
	background: var(--cta);
	color: #fff;
	border: 0;
	border-radius: 13px;
}

.woocommerce div.product form.cart .button:hover { background: var(--cta-hover); }

.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td {
	padding: 10px 0;
	border-bottom: 1px solid var(--line4);
	font-size: 15px;
}

.woocommerce table.shop_attributes th { color: var(--muted2); font-weight: 500; }
.woocommerce table.shop_attributes td { color: var(--ink); font-weight: 600; font-style: normal; }

.bh-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 20px; }
.bh-badge { padding: 12px 14px; border: 1px solid var(--line2); border-radius: 12px; font-size: 13.5px; color: var(--muted); }
.bh-badge b { display: block; font-family: var(--display); font-size: 15px; color: var(--ink); }

.bh-stock { font-size: 14.5px; font-weight: 600; color: var(--ok); }
.bh-stock--out { color: #A33; }

/* komunikaty Woo */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top: 0;
	border-left: 3px solid var(--accent);
	background: var(--accent-bg);
	border-radius: 12px;
	padding: 14px 18px;
	list-style: none;
	font-size: 15px;
}

.woocommerce-error { border-left-color: #C0392B; background: #FDF0EE; }
.woocommerce-message { border-left-color: var(--ok2); background: var(--ok-bg); }

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--ink);
	color: #fff;
	border-radius: 9px;
	font-family: var(--sans);
	font-weight: 600;
	padding: 12px 20px;
}

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

.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--cta); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--cta-hover); }

/* „dodaj do koszyka" w pętlach Woo (shortcode [products], podobne produkty) */
.woocommerce ul.products a.add_to_cart_button,
.woocommerce ul.products a.button.product_type_simple {
	background: var(--cta);
	border-color: var(--cta);
	color: #fff;
}

.woocommerce ul.products a.add_to_cart_button:hover,
.woocommerce ul.products a.button.product_type_simple:hover {
	background: var(--cta-hover);
	border-color: var(--cta-hover);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce table.cart td.actions .coupon .input-text {
	padding: 12px 14px;
	border: 1px solid var(--line3);
	border-radius: 10px;
}

.woocommerce .quantity .qty { padding: 12px 8px; border: 1px solid var(--line3); border-radius: 10px; }

/* wyszukiwarka na stronach innych niż główna */
.bh-finder-strip { background: var(--ink); padding: 34px 0 44px; }
.bh-finder-strip .szf { max-width: 880px; margin: 0 auto; }

/* sekcja dobierania na karcie produktu / kategorii */
.bh-cta-finder {
	margin-top: 26px;
	padding: 20px 22px;
	border: 1px dashed var(--dashed);
	border-radius: 16px;
	font-size: 15px;
	color: var(--muted);
}

.bh-cta-finder a { font-weight: 600; }

/* ====================================================== KAFLE PORADNIKÓW */
.bh-guides {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 940px) { .bh-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bh-guides { grid-template-columns: minmax(0, 1fr); } }

.bh-guide {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
}

.bh-guide:hover { border-color: var(--ink); }

.bh-guide__media {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	background: var(--page);
	overflow: hidden;
}

.bh-guide__media img { width: 100%; height: 100%; object-fit: cover; }

.bh-guide__placeholder {
	font-family: var(--display);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: .22em;
	color: #C8D0DA;
}

.bh-guide__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }

.bh-guide__tag {
	align-self: flex-start;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
	background: var(--accent-bg);
	border-radius: 999px;
}

.bh-guide__title {
	font-family: var(--display);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: var(--ink);
	text-decoration: none;
}

.bh-guide__title:hover { color: var(--accent); }
.bh-guide__lead { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.bh-guide__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ================================================ POLECANE W TREŚCI WPISU */
.bh-rec {
	margin: 32px 0;
	padding: 22px;
	background: var(--page);
	border: 1px solid var(--line);
	border-radius: 16px;
}

.bh-rec__title {
	margin: 0 0 4px;
	font-family: var(--display);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -.01em;
}

.bh-rec__lead { margin: 0 0 16px; font-size: 14.5px; color: var(--muted); }
.bh-rec .bh-products--rec { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.bh-rec .bh-card { background: #fff; }

/* wyszukiwarka wstawiona w treść wpisu */
.bh-prose .szf { margin: 32px 0; box-shadow: 0 18px 44px -28px rgba(11, 14, 18, .5); border: 1px solid var(--line); }

/* ------------------------------------------------------------- treść wpisu */
.bh-post-hero { background: var(--page); border-bottom: 1px solid var(--line); padding: 32px 0; }
.bh-post-hero .bh-guide__tag { display: inline-block; margin-bottom: 12px; }
.bh-post-hero h1 { max-width: 860px; font-size: clamp(26px, 3.4vw, 40px); }
.bh-post-hero__lead { max-width: 720px; margin: 12px 0 0; font-size: 17.5px; line-height: 1.6; color: var(--muted); }
.bh-post-thumb { margin: 0 0 28px; border-radius: 18px; overflow: hidden; }
.bh-post-thumb img { width: 100%; height: auto; display: block; }

.bh-prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15.5px; }
.bh-prose th, .bh-prose td { padding: 11px 12px; border-bottom: 1px solid var(--line4); text-align: left; }
.bh-prose th { font-weight: 600; color: var(--muted2); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.bh-prose td strong { color: var(--ink); }
.bh-prose blockquote {
	margin: 24px 0;
	padding: 16px 20px;
	background: var(--accent-bg);
	border-left: 3px solid var(--accent);
	border-radius: 0 12px 12px 0;
}
.bh-prose blockquote p { margin: 0; font-size: 15.5px; }
.bh-prose ul li, .bh-prose ol li { margin-bottom: 8px; }

/* notka o koncie firmowym w „Moim koncie" */
.bh-konto-b2b {
	margin: 14px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--line2, #DDE3E9);
	border-left: 3px solid var(--accent, #1668FF);
	border-radius: 10px;
	background: var(--field, #F1F4F7);
	font-size: 14.5px;
	line-height: 1.5;
}

.bh-konto-b2b a { color: var(--accent, #1668FF); font-weight: 600; }

/* ==========================================================================
   Strona główna: banery kategorii, Okazja dnia, Bestsellery (2026-09-28)
   ========================================================================== */
.bh-kat { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.bh-kat__tile {
	display: flex; flex-direction: column; min-height: 100%;
	background: #fff; border: 1px solid var(--line2); border-radius: 16px; overflow: hidden;
	color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.bh-kat__tile:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 14, 18, .08); }
.bh-kat__media { display: block; aspect-ratio: 4 / 3; background: var(--field); overflow: hidden; }
.bh-kat__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; display: block; }
.bh-kat__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.bh-kat__body b { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.bh-kat__desc { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.bh-kat__more { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
@media (max-width: 1080px) { .bh-kat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .bh-kat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .bh-kat__body { padding: 12px; } .bh-kat__desc { display: none; } }

.bh-oferta__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.bh-oferta__grid--bez-okazji { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1080px) { .bh-oferta__grid { grid-template-columns: minmax(0, 1fr); } }
.bh-best, .bh-okazja { min-width: 0; }

.bh-okazja { background: #fff; border: 2px solid var(--accent); border-radius: 18px; padding: 22px 20px 18px; text-align: center; }
.bh-okazja__title { margin: 0 0 4px; font-size: 26px; letter-spacing: .02em; text-transform: uppercase; }
.bh-okazja__lead { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.bh-countdown { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; }
.bh-countdown span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bh-countdown b { display: block; min-width: 46px; padding: 8px 6px; background: var(--field); border-radius: 10px; font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1; }
.bh-countdown small { font-size: 11.5px; color: var(--muted); }
.bh-products--okazja { display: block; margin: 0; padding: 0; list-style: none; }
.bh-products--okazja .bh-card { max-width: none; }

.bh-section__head--in { margin-bottom: 14px; }
.bh-slider { position: relative; }
.bh-slider__track {
	display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 2px 2px 10px; margin: 0; list-style: none; scrollbar-width: none; grid-template-columns: none !important;
}
.bh-slider__track::-webkit-scrollbar { display: none; }
.bh-slider__track > .bh-card { flex: 0 0 236px; width: 236px; max-width: none; scroll-snap-align: start; float: none; margin: 0; }
.bh-slider__arrow {
	position: absolute; top: 40%; transform: translateY(-50%); z-index: 2;
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: #fff; color: var(--ink);
	font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(11, 14, 18, .12);
}
.bh-slider__arrow[hidden] { display: none; }
.bh-slider__arrow:hover { border-color: var(--ink); }
.bh-slider__arrow--prev { left: -16px; }
.bh-slider__arrow--next { right: -16px; }
@media (max-width: 900px) { .bh-slider__arrow { display: none !important; } .bh-slider__track > .bh-card { flex-basis: 200px; width: 200px; } }

.bh-card__media { position: relative; }
.bh-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 1; }
.bh-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; }
.bh-badge--bestseller { background: #E6F7EE; color: var(--ok-dark); }
.bh-badge--nowosc { background: #fff; color: var(--ink); border: 1px solid var(--line3); }
.bh-badge--promocja { background: var(--accent); color: #fff; }

/* ============================================================== BOHO */
/* Przycisk koszyka w pasku z logo */
.bh-cartbtn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
	border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; line-height: 1; }
.bh-cartbtn:hover, .bh-cartbtn:focus-visible { background: var(--accent); color: #fff; }
.bh-cartbtn__sum { font-family: var(--display); font-weight: 600; }
.bh-cartbtn .bh-cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
	display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
@media (max-width: 560px) {
	.bh-cartbtn { padding: 10px 12px; }
	.bh-cartbtn__label, .bh-cartbtn__sum { display: none; }
}

/* Logo BOHO jest szerokie i cienkie - trochę więcej wysokości */
.bh-logo__img { max-height: 58px; }
@media (max-width: 560px) { .bh-logo__img { max-height: 42px; } }

.bh-footer__name { display: block; font-family: var(--display); font-size: 18px; letter-spacing: .08em;
	text-transform: uppercase; margin-bottom: 8px; color: var(--on-dark); }

/* Tło całej strony w kolorze sklepu - bez białego pasa nad stopką */
body.bh-body { background: var(--page); }

/* Stronicowanie: WooCommerce dokłada własne ramki i kolory (#cfc8d8), nadpisujemy je */
.woocommerce nav.woocommerce-pagination { text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex !important; flex-wrap: wrap; gap: 6px; border: 0 !important; margin: 0 !important; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; margin: 0 !important; overflow: visible !important; float: none !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex !important; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px !important; margin: 0 !important;
	border: 1px solid var(--line3) !important; border-radius: 999px !important;
	background: #fff !important; color: var(--ink) !important;
	font-family: var(--sans); font-size: 15px !important; font-weight: 600; line-height: 1 !important; text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus-visible { border-color: var(--accent) !important; color: var(--accent) !important; background: var(--accent-bg) !important; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.woocommerce nav.woocommerce-pagination ul li span.dots { border-color: transparent !important; background: transparent !important; min-width: 24px; padding: 0 !important; color: var(--muted) !important; }

/* Stopka: linia kategorii */
.bh-footer__cats { padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.bh-footer__cats ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; }
.bh-footer__cats li { display: inline; }
.bh-footer__cats a { font-size: 14.5px; }
.bh-footer__grid--2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) !important; }
@media (max-width: 860px) { .bh-footer__grid--2 { grid-template-columns: 1fr !important; } }

/* Stopka: dolny pasek z odnośnikiem „Chcesz taki sklep?" */
.bh-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.bh-footer__promo { color: var(--on-dark-2) !important; font-size: 13px; }
.bh-footer__promo strong { color: #fff; letter-spacing: .06em; margin-left: 4px; }
.bh-footer__promo:hover strong { color: var(--accent-light); }

/* Strony informacyjne */
.bh-prose h2 { font-size: 20px; margin-top: 1.6em; }
.bh-prose .bh-wzor { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }

/* Nagłówek: większe logo i wyszukiwarka pośrodku */
.bh-navbar__top { flex-wrap: nowrap; }
.bh-navbar__top .bh-logo { flex: 0 0 auto; }
.bh-logo__img { max-height: 84px; }
.bh-search { flex: 1 1 auto; max-width: 580px; margin: 0 auto; display: flex; }
.bh-search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 20px; font-size: 15px;
	border: 1px solid var(--line3); border-right: 0; border-radius: 999px 0 0 999px; background: #fff; color: var(--ink); outline: none; }
.bh-search input[type="search"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.bh-search button { flex: 0 0 58px; height: 48px; border: 0; border-radius: 0 999px 999px 0; background: var(--ink); color: #fff;
	cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.bh-search button:hover, .bh-search button:focus-visible { background: var(--accent); }
.bh-navbar__tools { margin-left: 0; flex: 0 0 auto; }
@media (max-width: 900px) {
	.bh-navbar__top { flex-wrap: wrap; }
	.bh-navbar__tools { margin-left: auto; }
	.bh-search { order: 3; flex-basis: 100%; max-width: none; }
	.bh-logo__img { max-height: 60px; }
}

/* Wyszukiwarka dokładnie na środku, niezależnie od szerokości logo i koszyka */
@media (min-width: 901px) {
	.bh-navbar__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px) minmax(0, 1fr); align-items: center; }
	.bh-navbar__top .bh-logo { justify-self: start; }
	.bh-search { width: 100%; max-width: none; margin: 0; }
	.bh-navbar__tools { justify-self: end; }
}


/* ============================================================== BANERY (moduł z JedzBio) */
.bh-banner { position: relative; overflow: hidden; background: var(--ink); }

.bh-banner--strip  { min-height: 150px; }

.bh-banner--small  { min-height: 320px; }

.bh-banner--medium { min-height: 460px; }

.bh-banner--large  { min-height: 600px; }

.bh-banner--full   { min-height: 100vh; }

.bh-banner__media { position: absolute; inset: 0; }

.bh-banner__media img,
.bh-banner__media video,
.bh-banner__media iframe {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; border: 0; display: block;
}

/* YouTube nie da sie przyciac object-fitem - skalujemy ramke. */
.bh-banner__media iframe {
	width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%;
	top: 50%; left: 50%; transform: translate(-50%, -50%); inset: auto;
}

.bh-banner__overlay { position: absolute; inset: 0; display: block; }

.bh-banner__inner {
	position: relative; z-index: 2;
	display: flex; align-items: center;
	min-height: inherit; padding: 56px 0;
}

.bh-banner--strip .bh-banner__inner  { min-height: 150px; padding: 22px 0; }

.bh-banner--small .bh-banner__inner  { min-height: 320px; }

.bh-banner--medium .bh-banner__inner { min-height: 460px; }

.bh-banner--large .bh-banner__inner  { min-height: 600px; }

.bh-banner--full .bh-banner__inner   { min-height: 100vh; }

.bh-banner__content { color: #fff; max-width: 620px; }

.bh-banner.is-center .bh-banner__content { max-width: 760px; margin-inline: auto; text-align: center; }

.bh-banner__kicker {
	display: inline-block; margin-bottom: 14px; padding: 5px 14px;
	background: var(--accent-light); color: var(--ink); border-radius: 999px;
	font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
}

.bh-banner__title {
	font-size: clamp(30px, 4.6vw, 56px); font-weight: 900;
	letter-spacing: -.03em; line-height: 1.05; margin-bottom: .35em;
	text-shadow: 0 2px 24px rgba(10, 30, 18, .35);
}

.bh-banner__sub {
	font-size: 17px; opacity: .95; margin-bottom: 1.6em; max-width: 48ch;
	text-shadow: 0 1px 14px rgba(10, 30, 18, .35);
}

.bh-banner.is-center .bh-banner__sub { margin-inline: auto; }

.bh-banner--strip .bh-banner__title { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 0; }

.bh-banner--strip .bh-banner__sub { display: none; }

@media (max-width: 860px) {
.bh-banner--large { min-height: 420px; }
.bh-banner--large .bh-banner__inner { min-height: 420px; }
.bh-banner--medium, .bh-banner--medium .bh-banner__inner { min-height: 360px; }
.bh-banner__content, .bh-banner.is-center .bh-banner__content { text-align: left; margin-inline: 0; }
}


/* ------------------------------------------------ BANERY: karuzela + przyciski */
.bh-bslider { position: relative; }
.bh-bslider__track { position: relative; }
.bh-bslide { display: none; }
.bh-bslide.is-active,
.bh-bslider.is-single .bh-bslide { display: block; }
.bh-bslider__dots {
	position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3;
	display: flex; justify-content: center; gap: 9px;
}
.bh-bdot {
	width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
	background: rgba(255, 255, 255, .5); transition: width .2s ease, background .2s ease;
}
.bh-bdot.is-active { background: var(--accent-light); width: 26px; }
.bh-btn--lg { padding: 15px 34px; font-size: 15px; }
.bh-bbtn--green { background: var(--accent); border-color: var(--accent); color: #fff; }
.bh-bbtn--green:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.bh-bbtn--gold { background: #fff; border-color: #fff; color: var(--ink); }
.bh-bbtn--gold:hover { background: var(--accent-bg); border-color: var(--accent-bg); color: var(--ink); }
.bh-bbtn--ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.bh-bbtn--ghost:hover { background: #fff; color: var(--ink); }

/* ------------------------------------------------ STRONA GŁÓWNA */
.bh-front-banner { margin-bottom: 8px; }
.bh-front-banner--mid { margin: 0 0 28px; border-radius: 14px; overflow: hidden; }
.bh-front-banner--foot { margin-top: 48px; }
.bh-shop--front { padding-top: 28px; }
.bh-blog { padding: 56px 0 8px; }
.bh-blog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.bh-blog__head h2 { margin: 0; font-family: var(--font-display, inherit); font-size: clamp(24px, 2.6vw, 32px); }
.bh-blog__all { font-weight: 600; white-space: nowrap; }

/* ------------------------------------------------ BESTSELLERY (strona główna) */
.bh-bestsellers { padding: 36px 0 8px; }
.bh-bestsellers__title { margin: 0 0 18px; font-family: var(--font-display, inherit); font-size: clamp(24px, 2.6vw, 32px); }
.bh-badge--bestseller { background: var(--accent); color: #fff; }

/* ------------------------------------------------ NEWSLETTER z kodem rabatowym (moduł email marketingu) */
.bh-news { margin: 40px 0 8px; }
.bh-news .ecm-newsletter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; background: var(--ink); color: #fff; border-radius: 16px; padding: 36px 40px; box-sizing: border-box; }
.bh-news .ecm-newsletter > * { min-width: 0; }
.bh-news .ecm-newsletter h2 { color: #fff; font-family: var(--font-display, inherit); font-size: clamp(24px, 2.8vw, 34px); margin: 4px 0 8px; }
.bh-news .ecm-newsletter p, .bh-news .ecm-newsletter li { color: rgba(255, 255, 255, .82); font-size: 15px; }
.bh-news .ecm-newsletter ul { margin: 10px 0 0; padding-left: 1.2em; }
.bh-news .ecm-newsletter__eyebrow { color: var(--accent-light); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.bh-news .ecm-newsletter__form-wrap { flex: 1; min-width: 280px; max-width: 520px; }
.bh-news .ecm-newsletter__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.bh-news .ecm-newsletter__row input { flex: 1 1 220px; min-width: 0; padding: 14px 16px; border-radius: 10px; border: 0; font-size: 15px; }
.bh-news .ecm-newsletter__row button { flex: 0 0 auto; width: auto; padding: 14px 26px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.bh-news .ecm-newsletter__row button:hover { background: var(--accent-dark); }
@media (max-width: 600px) { .bh-news .ecm-newsletter { padding: 26px 22px; } .bh-news .ecm-newsletter__row input, .bh-news .ecm-newsletter__row button { flex: 1 1 100%; width: 100%; } }
.bh-news .ecm-newsletter__consent { display: block; margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .75); }
.bh-news .ecm-newsletter__consent a { color: var(--accent-light); text-decoration: underline; }
.bh-news .ecm-newsletter__trap { position: absolute; left: -9999px; }
.bh-news .ecm-newsletter__notice { margin-bottom: 12px; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.bh-news .ecm-newsletter__notice.is-success { background: rgba(255, 255, 255, .14); color: #fff; }
.bh-news .ecm-newsletter__notice.is-error { background: #b3261e; color: #fff; }

/* okienko z kodem rabatowym */
.bh-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bh-modal[hidden] { display: none; }
.bh-modal__scrim { position: absolute; inset: 0; background: rgba(28, 27, 25, .6); border: 0; cursor: pointer; }
.bh-modal__box { position: relative; z-index: 1; width: 100%; max-width: 460px; background: #fff; border-radius: 16px; padding: 32px 28px 26px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.bh-modal__x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.bh-modal__kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.bh-modal__title { font-family: var(--font-display, inherit); font-size: 28px; margin: 12px 0 10px; }
.bh-modal__code { display: flex; gap: 10px; justify-content: center; align-items: center; margin: 8px 0 6px; }
.bh-modal__code code { font-size: 26px; font-weight: 800; letter-spacing: .12em; padding: 10px 18px; border: 2px dashed var(--accent); border-radius: 10px; background: var(--accent-bg2); color: var(--ink); }
.bh-btn--ghost-dark { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.bh-btn--ghost-dark:hover { background: var(--ink); color: #fff; }
.bh-modal__note { font-size: 13px; color: var(--muted); }
.bh-modal__acts { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 14px; }
.bh-modal__skip { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; }

/* ------------------------------------------------ WPIS: zdjęcie z tytułem na gradiencie */
.bh-post-hero--img { border-bottom: 0; padding: 28px 0 8px; }
.bh-post-hero--img .bh-post-hero__box { position: relative; overflow: hidden; border-radius: 18px; min-height: clamp(320px, 42vw, 520px); display: flex; align-items: flex-end; background: var(--ink); }
.bh-post-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-post-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 27, 25, 0) 30%, rgba(28, 27, 25, .35) 60%, rgba(28, 27, 25, .82) 100%); }
.bh-post-hero--img .bh-post-hero__text { position: relative; z-index: 1; padding: clamp(22px, 4vw, 44px); max-width: 900px; }
.bh-post-hero--img h1 { color: #fff; margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.bh-post-hero--img .bh-post-hero__lead { color: rgba(255, 255, 255, .88); }
.bh-post-hero--img .bh-guide__tag { background: rgba(255, 255, 255, .92); color: var(--accent-dark); }
.bh-post-hero .bh-guide__tag { text-decoration: none; }
.bh-post-hero .bh-guide__tag:hover { background: #fff; color: var(--accent); }

/* baner: treść do prawej */
.bh-banner.is-right .bh-banner__content { margin-left: auto; text-align: right; }
.bh-banner.is-right .bh-banner__sub { margin-left: auto; }
@media (max-width: 860px) { .bh-banner.is-right .bh-banner__content { text-align: left; margin-left: 0; } }

/* banery: treść bliżej krawędzi zdjęcia i większe litery */
.bh-banner__wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 88px); box-sizing: border-box; }
.bh-banner__content { max-width: 760px; }
.bh-banner__title { font-size: clamp(36px, 5.4vw, 76px); }
.bh-banner__sub { font-size: clamp(17px, 1.5vw, 22px); max-width: 44ch; }
.bh-banner__kicker { font-size: 13px; padding: 6px 16px; }
.bh-banner .bh-btn { font-size: 17px; padding: 17px 38px; }
.bh-banner--strip .bh-banner__title { font-size: clamp(22px, 2.8vw, 34px); }

/* strona główna bez siatki produktów: pusty kontener nie zostawia odstępu */
.bh-shop--front:not(:has(.bh-front-banner)) { display: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
