/* Baner zgody w kolorach Fundacji Dzięki Tobie */
.dtz-okno {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 2147483000;
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 540px;
	max-height: calc(100vh - 32px);
	padding: 22px 24px 20px;
	overflow-y: auto;
	background: #fff;
	border-top: 4px solid #961228;
	border-radius: 4px;
	box-shadow: 0 14px 44px rgba(40, 8, 14, .28);
	color: #333;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
}

.dtz-okno [hidden] {
	display: none !important;
}

.dtz-okno .dtz-tytul {
	margin: 0 0 8px;
	padding: 0;
	color: #961228;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.dtz-okno .dtz-opis {
	margin: 0 0 8px;
	padding: 0;
	color: #444;
}

.dtz-okno .dtz-link {
	color: #961228;
	font-weight: 600;
	text-decoration: underline;
}

.dtz-lista {
	margin-top: 14px;
	border-top: 1px solid #ecdfe1;
}

.dtz-kategoria {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #ecdfe1;
	font-weight: 400;
	cursor: pointer;
}

.dtz-kategoria input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: #961228;
}

.dtz-kategoria b,
.dtz-kategoria small {
	display: block;
}

.dtz-kategoria b {
	color: #222;
}

.dtz-kategoria small {
	color: #666;
	font-size: 13px;
	line-height: 1.5;
}

.dtz-przyciski {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 16px;
}

.dtz-okno .dtz-przycisk {
	margin: 0;
	padding: 11px 18px;
	background: #961228;
	border: 2px solid #961228;
	border-radius: 3px;
	color: #fff;
	font: 700 13px/1.2 'Open Sans', Arial, sans-serif;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.dtz-okno .dtz-przycisk:hover,
.dtz-okno .dtz-przycisk:focus-visible {
	background: #6b1420;
	border-color: #6b1420;
}

.dtz-okno .dtz-przycisk.dtz-drugi {
	background: #fff;
	color: #961228;
}

.dtz-okno .dtz-przycisk.dtz-drugi:hover,
.dtz-okno .dtz-przycisk.dtz-drugi:focus-visible {
	background: #f7eef0;
	border-color: #961228;
	color: #6b1420;
}

.dtz-okno .dtz-wiecej {
	margin: 0;
	padding: 4px 2px;
	background: none;
	border: 0;
	color: #961228;
	font: 600 13px/1.2 'Open Sans', Arial, sans-serif;
	text-decoration: underline;
	cursor: pointer;
}

.dtz-okno :focus-visible,
.dtz-zmien:focus-visible {
	outline: 2px solid #961228;
	outline-offset: 2px;
}

/* Mały przycisk do zmiany decyzji, widoczny po zapisaniu wyboru */
.dtz-zmien {
	position: fixed;
	left: 14px;
	bottom: 14px;
	z-index: 2147482000;
	margin: 0;
	padding: 6px 12px;
	background: #fff;
	border: 1px solid #961228;
	border-radius: 20px;
	box-shadow: 0 3px 12px rgba(40, 8, 14, .18);
	color: #961228;
	font: 600 12px/1.2 'Open Sans', Arial, sans-serif;
	cursor: pointer;
	opacity: .85;
}

.dtz-zmien:hover {
	opacity: 1;
}

@media (max-width: 600px) {
	.dtz-okno {
		left: 0;
		bottom: 0;
		width: 100%;
		max-height: 100vh;
		border-radius: 0;
	}

	.dtz-okno .dtz-przycisk {
		flex: 1 1 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dtz-okno .dtz-przycisk {
		transition: none;
	}
}
