/* ==========================================================================
   Stopka amazfitpolska.pl – odwzorowanie stopki Elementora (post 16606)
   Breakpointy jak w Elementorze: mobile ≤767, tablet 768–1024, desktop ≥1025
   ========================================================================== */

.bsk-footer {
	--bf-text: #000;
	--bf-title-acc: #1f2124;
	--bf-divider: #f7f7f7;
	--bf-gap: 24px;
	--bf-max-width: 1350px;
	--bf-side-padding: 20px;

	color: var(--bf-text);
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.bsk-footer *,
.bsk-footer *::before,
.bsk-footer *::after {
	box-sizing: border-box;
}

.bsk-footer a {
	color: var(--bf-text);
	text-decoration: none;
}

.bsk-footer a:hover,
.bsk-footer a:focus {
	color: var(--bf-text);
	opacity: .7;
}

.bsk-footer p {
	margin: 0 0 .9rem;
}


/* ==========================================================================
   Wyróżnienia / 5 ikon
   ========================================================================== */

.bf-badges {
	margin-top: 50px;
	padding: 0 var(--bf-side-padding);
}

.bf-badges__inner {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: var(--bf-max-width);
	margin: 0 auto;
}

.bf-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--bf-gap);
	width: 20%;
}

.bf-badge__img {
	display: block;
	width: 80%;
	height: auto;
	max-width: 100%;
}

.bf-badge__text {
	margin-top: -20px !important;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}


/* ==========================================================================
   Główne kolumny stopki
   ========================================================================== */

.bf-main {
	margin-top: 30px;
	padding: 0 var(--bf-side-padding);
}

.bf-main__inner {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: var(--bf-max-width);
	margin: 0 auto;
}

.bf-col {
	width: 25%;
}

.bf-col:nth-child(3) {
	width: 19.266%;
}

.bf-col--newsletter {
	width: 29.832%;
}


/* ==========================================================================
   Nagłówki kolumn
   ========================================================================== */

.bf-col__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	cursor: default;
}

.bf-col__title::-webkit-details-marker {
	display: none;
}

.bf-col__title::marker {
	content: "";
}

.bf-col__title h2 {
	margin: 0 0 var(--bf-gap);
	color: var(--bf-text);
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: none;
}

.bf-col__icon {
	display: none;
}

.bf-col__body {
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}


/* ==========================================================================
   Desktop
   ========================================================================== */

@media (min-width: 1025px) {

	.bf-col::details-content {
		content-visibility: visible;
		display: contents;
	}

}


/* ==========================================================================
   Newsletter / MailPoet
   ========================================================================== */

.bf-newsletter .mailpoet_form,
.bf-newsletter form.mailpoet_form {
	padding: 0 !important;
	margin: 0;
}

.bf-newsletter .mailpoet_form {
	margin-top: 4px;
}

.bf-newsletter .mailpoet_paragraph {
	margin: 0 0 20px;
	line-height: 20px;
}

.bf-newsletter .mailpoet_text {
	display: block;
	width: 100% !important;
	height: 36px;
	padding: 5px !important;
	border: 1px solid #666;
	border-radius: 3px;
	background: #fff;
	color: #000;
	font: 400 16px/1.4 "Poppins", sans-serif;
}

.bf-newsletter .mailpoet_submit {
	display: block;
	width: 100% !important;
	padding: 5px !important;
	border: 1px solid #000 !important;
	border-radius: 30px;
	background: #000;
	color: #fff;
	font: 500 1.1rem/1.4 "Poppins", sans-serif;
	cursor: pointer;
}

.bf-newsletter .mailpoet_submit:hover {
	opacity: .85;
}

.bf-newsletter fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.bf-newsletter .mailpoet_checkbox_label {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.bf-newsletter .mailpoet_checkbox_label a {
	text-decoration: underline;
}


/* ==========================================================================
   Linia oddzielająca
   ========================================================================== */

.bf-divider {
	width: calc(100% - (var(--bf-side-padding) * 2));
	max-width: var(--bf-max-width);
	height: 0;
	margin: 15px auto;
	border: 0;
	border-top: 1px solid var(--bf-divider);
}


/* ==========================================================================
   Social media
   ========================================================================== */

.bf-social {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bf-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
}

.bf-social svg {
	width: 18px;
	height: 18px;
	fill: #000;
}


/* ==========================================================================
   Copyright
   ========================================================================== */

.bf-copy {
	width: calc(100% - (var(--bf-side-padding) * 2));
	max-width: var(--bf-max-width);
	margin: 0 auto .9rem;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
	text-align: right;
}

.bf-copy small {
	font-size: .8em;
}


/* ==========================================================================
   Tablet + mobile ≤1024px
   Kolumny zamieniają się w akordeon
   ========================================================================== */

@media (max-width: 1024px) {

	.bsk-footer {
		--bf-side-padding: 20px;
	}

	.bf-col,
	.bf-col:nth-child(3),
	.bf-col--newsletter {
		width: 100%;
	}

	.bf-col__title {
		padding: 10px;
		cursor: pointer;
	}

	.bf-col__title h2 {
		margin: 0;
		color: var(--bf-title-acc);
	}

	.bf-col__icon {
		display: flex;
		padding: 6px;
		background: #fff;
	}

	.bf-ico {
		width: 11px;
		height: 11px;
		fill: var(--bf-title-acc);
	}

	.bf-col .bf-ico--minus,
	.bf-col[open] .bf-ico--plus {
		display: none;
	}

	.bf-col[open] .bf-ico--minus {
		display: block;
	}

	.bf-col__body {
		padding: 0 10px;
	}

}


/* ==========================================================================
   Mobile ≤767px
   ========================================================================== */

@media (max-width: 767px) {

	.bsk-footer {
		--bf-side-padding: 15px;
	}

	.bf-badge {
		width: 50%;
	}

	.bf-col[open] > .bf-col__title {
		margin-bottom: 20px;
	}

	.bf-col--newsletter .bf-col__body > p {
		margin-right: 20px;
	}

	.bf-copy {
		text-align: center;
	}

}