.pnevmat-cookie-banner[hidden],
.pnevmat-cookie-modal[hidden] {
	display: none !important;
}

.pnevmat-cookie-banner {
	position: fixed;
	z-index: 100000;
	right: 16px;
	bottom: 16px;
	left: 16px;
	color: #f7f7f7;
	background: #1d1e23;
	border: 1px solid #3a3b42;
	border-radius: 8px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.pnevmat-cookie-banner__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px;
}

.pnevmat-cookie-banner h2,
.pnevmat-cookie-modal h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 22px;
	line-height: 1.25;
}

.pnevmat-cookie-banner p {
	margin: 0;
	color: #e5e5e5;
	line-height: 1.5;
}

.pnevmat-cookie-banner a,
.pnevmat-legal-footer a,
.pnevmat-link-button {
	color: #fea526;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pnevmat-cookie-actions,
.pnevmat-cookie-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: 0 0 auto;
}

.pnevmat-cookie-button {
	min-height: 42px;
	padding: 10px 16px;
	color: #111;
	font: inherit;
	font-weight: 600;
	background: #fea526;
	border: 1px solid #fea526;
	border-radius: 4px;
	cursor: pointer;
}

.pnevmat-cookie-button:hover,
.pnevmat-cookie-button:focus {
	background: #fe8905;
	border-color: #fe8905;
}

.pnevmat-cookie-button--secondary {
	color: #fff;
	background: transparent;
	border-color: #777980;
}

.pnevmat-cookie-button--secondary:hover,
.pnevmat-cookie-button--secondary:focus {
	color: #fff;
	background: #343539;
	border-color: #aaa;
}

.pnevmat-cookie-modal {
	position: fixed;
	z-index: 100001;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.pnevmat-cookie-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.pnevmat-cookie-modal__panel {
	position: relative;
	z-index: 1;
	width: min(620px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 26px;
	color: #e5e5e5;
	background: #1d1e23;
	border: 1px solid #3a3b42;
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}

.pnevmat-cookie-modal__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.pnevmat-cookie-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 15px 0;
	border-top: 1px solid #3a3b42;
}

.pnevmat-cookie-option span {
	display: grid;
	gap: 4px;
}

.pnevmat-cookie-option small {
	color: #c3c3c3;
	line-height: 1.4;
}

.pnevmat-cookie-option input {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	accent-color: #fea526;
}

.pnevmat-cookie-modal__actions {
	justify-content: flex-end;
	margin-top: 18px;
}

body.pnevmat-cookie-modal-open {
	overflow: hidden;
}

.pnevmat-legal-footer {
	position: relative;
	z-index: 2;
	color: #e5e5e5;
	background: #17181c;
	border-top: 1px solid #343539;
}

.pnevmat-legal-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 28px;
	width: min(1170px, calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0;
}

.pnevmat-legal-footer__details,
.pnevmat-legal-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	line-height: 1.45;
}

.pnevmat-legal-footer__details {
	max-width: 720px;
}

.pnevmat-legal-footer__links {
	justify-content: flex-end;
}

.pnevmat-link-button {
	padding: 0;
	font: inherit;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.pnevmat-external-placeholder {
	padding: 24px;
	text-align: center;
	background: #f2f2f2;
	border: 1px solid #d8d8d8;
}

.pnevmat-privacy-consent label,
.comment-form-pnevmat-consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.45;
}

.pnevmat-privacy-consent input,
.comment-form-pnevmat-consent input {
	margin-top: 4px;
	flex: 0 0 auto;
}

.pnevmat-legal-document {
	color: #333;
	line-height: 1.65;
}

.pnevmat-legal-document h2,
.pnevmat-legal-document h3,
.pnevmat-legal-document h4,
.pnevmat-legal-document h5,
.pnevmat-legal-document h6 {
	color: #242424;
	opacity: 1;
	text-shadow: none;
}

.pnevmat-legal-document h2 {
	margin-top: 1.5em;
}

.pnevmat-legal-document strong,
.pnevmat-legal-document b {
	color: #333;
	opacity: 1;
}

.pnevmat-legal-document a {
	color: #7a1f1f !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.pnevmat-legal-document a:hover,
.pnevmat-legal-document a:focus {
	color: #4d1111 !important;
}

.pnevmat-legal-document table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	-webkit-overflow-scrolling: touch;
}

.pnevmat-legal-document th,
.pnevmat-legal-document td {
	padding: 10px;
	text-align: left;
	vertical-align: top;
	border: 1px solid #d7d7d7;
}

@media (max-width: 900px) {
	.pnevmat-cookie-banner__content,
	.pnevmat-legal-footer__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.pnevmat-cookie-actions,
	.pnevmat-legal-footer__links {
		justify-content: flex-start;
	}
}

@media (max-width: 560px) {
	.pnevmat-cookie-banner {
		right: 8px;
		bottom: 8px;
		left: 8px;
	}

	.pnevmat-cookie-banner__content,
	.pnevmat-cookie-modal__panel {
		padding: 18px;
	}

	.pnevmat-cookie-actions,
	.pnevmat-cookie-modal__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.pnevmat-cookie-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pnevmat-cookie-banner *,
	.pnevmat-cookie-modal * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
