body.home {
	--bt-home-navy: #0b3156;
	--bt-home-blue: #15517f;
	--bt-home-amber: #ffb400;
	--bt-home-ink: #142e4b;
	--bt-home-muted: #62778d;
}

/* Prosty nagłówek bez zdublowanego menu i atrap promocji. */
body.home .site-header-item[data-section="base_customizer_header_toggle_widget"] {
	display: none !important;
}

/* Awaryjnie ukryj każdą starą sekcję oprócz nawigatora zastosowań. */
body.home .elementor-element-25ef18f,
body.home .elementor-element-d86be71,
body.home .elementor-element-ee36b9b,
body.home .elementor-element-6dee8ed,
body.home .elementor-element-1ae15db,
body.home .elementor-element-70b3d25,
body.home .elementor-element-eb90dd3,
body.home .elementor-element-afa8557,
body.home .elementor-element-c9f71ab,
body.home .elementor-element-cb3edae,
body.home .elementor-element-a7a6824 {
	display: none !important;
}

.bt-home-purchase-steps,
.bt-home-guides,
.bt-home-purchase-steps *,
.bt-home-guides * {
	box-sizing: border-box;
}

.bt-home-purchase-steps,
.bt-home-guides {
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
}

.bt-home-wide {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding-right: clamp(20px, 4vw, 72px);
	padding-left: clamp(20px, 4vw, 72px);
}

/* Rzeczywisty poradnik zamawiania pokazany na prawdziwych ekranach sklepu. */
.bt-home-purchase-steps {
	overflow: hidden;
	padding: 86px 0 78px;
	background:
		radial-gradient(circle at 9% 8%, rgba(255, 180, 0, .18), transparent 26%),
		linear-gradient(135deg, #082b4d 0%, #104e7c 52%, #0a365f 100%);
	color: #fff;
}

.bt-home-purchase-steps::before {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 50%;
	width: clamp(150px, 18vw, 280px);
	height: 5px;
	border-radius: 0 0 7px 7px;
	background: var(--bt-home-amber);
	box-shadow: 0 5px 15px rgba(255, 180, 0, .2);
	content: "";
	pointer-events: none;
	transform: translateX(-50%);
}

.bt-home-purchase-steps > .bt-home-wide {
	position: relative;
	z-index: 1;
}

.bt-home-section-heading {
	max-width: 820px;
	margin: 0 auto 38px;
	text-align: center;
}

.bt-home-section-heading > p {
	margin: 0 0 9px;
	color: #8a6200;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
}

.bt-home-section-heading h2 {
	margin: 0;
	color: var(--bt-home-ink);
	font-size: clamp(32px, 3vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.03em;
}

.bt-home-section-heading > span {
	display: block;
	margin-top: 13px;
	color: var(--bt-home-muted);
	font-size: 17px;
	line-height: 1.55;
}

.bt-home-purchase-steps .bt-home-section-heading > p {
	color: #ffc33d;
}

.bt-home-purchase-steps .bt-home-section-heading h2 {
	color: #fff;
}

.bt-home-purchase-steps .bt-home-section-heading > span {
	color: #dce9f5;
}

.bt-home-order-guide {
	max-width: 1320px;
	margin: 0 auto;
}

.bt-home-order-step {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
	align-items: center;
	gap: clamp(34px, 5vw, 74px);
	padding: 52px 0;
	border-top: 1px solid rgba(255, 255, 255, .17);
}

.bt-home-order-step:first-child {
	padding-top: 14px;
	border-top: 0;
}

.bt-home-order-step:nth-child(even) .bt-home-order-step__visual {
	order: 2;
}

.bt-home-order-step:nth-child(even) {
	grid-template-columns: minmax(300px, .85fr) minmax(0, 1.65fr);
}

.bt-home-order-step:nth-child(even) .bt-home-order-step__content {
	order: 1;
}

.bt-home-order-step__visual {
	overflow: hidden;
	border: 0;
	border-radius: 18px;
	background: #071f38;
	box-shadow: 0 24px 54px rgba(0, 17, 34, .34);
}

.bt-home-browser-bar {
	display: flex;
	height: 40px;
	align-items: center;
	gap: 7px;
	padding: 0 15px;
	background: #071f38;
	color: #b8cce0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
}

.bt-home-browser-bar i {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffb400;
}

.bt-home-browser-bar i:nth-child(2) {
	background: #ecf4fa;
}

.bt-home-browser-bar i:nth-child(3) {
	margin-right: 5px;
	background: #4f84b2;
}

.bt-home-order-step__visual img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	aspect-ratio: 8 / 5;
	object-fit: cover;
}

.bt-home-order-step__visual--full-quote img {
	aspect-ratio: 6 / 5;
	background: #fff;
	object-fit: contain;
}

.bt-home-order-step__content {
	position: relative;
	min-width: 0;
	padding: 18px 0;
}

.bt-home-order-step__number {
	position: absolute;
	top: -18px;
	right: 0;
	color: rgba(255, 255, 255, .09);
	font-size: 96px;
	font-weight: 800;
	line-height: 1;
}

.bt-home-order-step__eyebrow {
	position: relative;
	margin: 0 0 10px;
	color: #ffc33d;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
}

.bt-home-order-step h3 {
	position: relative;
	margin: 0;
	color: #fff;
	font-size: clamp(26px, 2.35vw, 36px);
	font-weight: 800;
	line-height: 1.17;
	letter-spacing: -.025em;
}

.bt-home-order-step__content > p:not(.bt-home-order-step__eyebrow) {
	position: relative;
	margin: 16px 0 0;
	color: #d8e5f1;
	font-size: 16px;
	line-height: 1.7;
}

.bt-home-order-step ul {
	position: relative;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.bt-home-order-step li {
	position: relative;
	margin-top: 9px;
	padding-left: 27px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.bt-home-order-step li::before {
	position: absolute;
	top: 1px;
	left: 0;
	display: flex;
	width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--bt-home-amber);
	content: "✓";
	color: #172a3f;
	font-size: 11px;
	font-weight: 800;
}

.bt-home-order-cta {
	display: flex;
	max-width: 1320px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 10px auto 0;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, .17);
}

.bt-home-order-cta strong {
	color: #fff;
	font-size: 20px;
	font-weight: 800;
}

.bt-home-order-cta a {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 10px;
	background: var(--bt-home-amber);
	color: #172a3f;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

/* Wszystkie poradniki w natywnym, przewijanym rzędzie. */
.bt-home-guides {
	padding: 78px 0 76px;
	border-top: 1px solid #d6e3ed;
	background:
		linear-gradient(rgba(15, 67, 108, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 67, 108, .035) 1px, transparent 1px),
		#f3f7fa;
	background-size: 42px 42px, 42px 42px, auto;
}

.bt-home-guides::before {
	position: absolute;
	z-index: 2;
	top: -1px;
	left: 50%;
	width: clamp(150px, 18vw, 280px);
	height: 5px;
	border-radius: 0 0 7px 7px;
	background: var(--bt-home-amber);
	box-shadow: 0 5px 15px rgba(255, 180, 0, .16);
	content: "";
	pointer-events: none;
	transform: translateX(-50%);
}

.bt-home-guides-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.bt-home-guides .bt-home-section-heading {
	max-width: 820px;
	margin: 0;
	text-align: left;
}

.bt-home-guides-controls {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

.bt-home-guides-controls button {
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--bt-home-navy);
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 23px;
	font-weight: 800;
	cursor: pointer;
}

.bt-home-guides-controls button:disabled {
	opacity: .35;
	cursor: default;
}

.bt-home-guides-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 72px) / 4);
	gap: 24px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 4px 2px 22px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--bt-home-amber) #dce7f0;
	scrollbar-width: thin;
}

.bt-home-guide {
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(11, 49, 86, .1);
	scroll-snap-align: start;
}

.bt-home-guide__image {
	display: block;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #e5edf4;
	color: var(--bt-home-navy);
	text-decoration: none;
}

.bt-home-guide__image img,
.bt-home-guide__image > span {
	display: block;
	width: 100%;
}

.bt-home-guide__image img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .35s ease;
}

.bt-home-guide--walls .bt-home-guide__image img {
	object-position: left center;
}

.bt-home-guide:hover .bt-home-guide__image img {
	transform: none;
}

/*
 * Nowe poradniki korzystają ze zdjęć produktowych, których źródłowe pliki
 * zawierają duże białe marginesy. Kontrolowane przybliżenie usuwa puste pasy
 * z kafelka, bez zmiany proporcji puszki i bez wpływu na starsze banery 3:2.
 */
.bt-home-guide--seo-expanded .bt-home-guide__image img,
.bt-home-guide--seo-expanded:hover .bt-home-guide__image img {
	transform: scale(1.22);
	transform-origin: center;
}

.bt-home-guide--custom-banner .bt-home-guide__image img,
.bt-home-guide--custom-banner:hover .bt-home-guide__image img {
	transform: none;
}

.bt-home-guide__image > span {
	display: flex;
	height: 100%;
	min-height: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background:
		radial-gradient(circle at 18% 20%, rgba(255, 180, 0, .25), transparent 28%),
		linear-gradient(135deg, #0b3156, #15517f);
	color: #fff;
	font-size: 23px;
	font-weight: 800;
}

.bt-home-guide__image > span small {
	color: #ffc33d;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .14em;
}

.bt-home-guide__body {
	display: flex;
	min-height: 205px;
	flex: 1;
	flex-direction: column;
	padding: 19px 20px 18px;
}

.bt-home-guide h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
}

.bt-home-guide h3 a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--bt-home-ink);
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.bt-home-guide__body p {
	display: -webkit-box;
	min-height: 46px;
	margin: 10px 0 13px;
	overflow: hidden;
	color: var(--bt-home-muted);
	font-size: 14px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.bt-home-guide__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--bt-home-blue);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 1100px) {
	.bt-home-guides-track {
		grid-auto-columns: calc((100% - 40px) / 3);
		gap: 20px;
	}
}

@media (max-width: 780px) {
	.bt-home-purchase-steps {
		padding-top: 70px;
		padding-bottom: 52px;
	}

	.bt-home-purchase-steps::before {
		width: 130px;
		height: 4px;
	}

	.bt-home-guides {
		padding-top: 70px;
		padding-bottom: 52px;
	}

	.bt-home-guides::before {
		width: 130px;
		height: 4px;
	}

	.bt-home-order-step {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 38px 0;
	}

	.bt-home-order-step:nth-child(even) .bt-home-order-step__visual,
	.bt-home-order-step:nth-child(even) .bt-home-order-step__content {
		order: initial;
	}

	.bt-home-order-step:nth-child(even) {
		grid-template-columns: 1fr;
	}

	.bt-home-order-step__content {
		padding: 0 3px;
	}

	.bt-home-guides-track {
		grid-auto-columns: calc((100% - 18px) / 2);
		gap: 18px;
	}
}

@media (max-width: 560px) {
	.bt-home-section-heading {
		margin-bottom: 30px;
	}

	.bt-home-section-heading h2 {
		font-size: 32px;
	}

	.bt-home-section-heading > span {
		font-size: 15px;
	}

	.bt-home-purchase-steps {
		padding-top: 68px;
		padding-bottom: 54px;
	}

	.bt-home-order-step:first-child {
		padding-top: 2px;
	}

	.bt-home-order-step__visual {
		border-radius: 12px;
	}

	.bt-home-browser-bar {
		height: 34px;
		padding: 0 11px;
	}

	.bt-home-order-step__number {
		font-size: 72px;
	}

	.bt-home-order-step h3 {
		font-size: 27px;
	}

	.bt-home-order-step__content > p:not(.bt-home-order-step__eyebrow) {
		font-size: 15px;
	}

	.bt-home-order-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.bt-home-guides-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.bt-home-guides-controls {
		align-self: flex-end;
	}

	.bt-home-guides-track {
		grid-auto-columns: 84%;
		gap: 14px;
	}

	.bt-home-guide--seo-expanded .bt-home-guide__image img,
	.bt-home-guide--seo-expanded:hover .bt-home-guide__image img {
		transform: scale(1.18);
	}

	.bt-home-guide--custom-banner .bt-home-guide__image img,
	.bt-home-guide--custom-banner:hover .bt-home-guide__image img {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bt-home-guides-track {
		scroll-behavior: auto;
	}

	.bt-home-guide__image img {
		transition: none;
	}
}
