/**
 * Zgoda na cookies - pelnoekranowy komunikat po pierwszym wejsciu.
 *
 * Reszta witryny jest przygaszona i rozmyta, zeby gosc podjal decyzje
 * zanim zacznie czytac oferte.
 */

.cs-cc {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 18px;
	opacity: 0;
	transition: opacity .28s ease;
}

.cs-cc[hidden] {
	display: none;
}

.cs-cc.is-visible {
	opacity: 1;
}

.cs-cc__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 32, 56, .82);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
}

.cs-cc__card {
	position: relative;
	z-index: 1;
	width: min(700px, 94vw);
	max-height: 92vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	color: var(--cs-ink, #1b2430);
	border-top: 4px solid var(--cs-gold, #d49f58);
	border-radius: 4px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
	padding: 44px 48px 34px;
	text-align: center;
	transform: translateY(18px) scale(.98);
	transition: transform .32s cubic-bezier(.2, .8, .3, 1);
}

.cs-cc.is-visible .cs-cc__card {
	transform: none;
}

.cs-cc__logo {
	display: block;
	height: 46px;
	margin: 0 auto 22px;
	color: var(--cs-navy, #0d2038);
}

.cs-cc__logo svg {
	display: block;
	height: 100%;
	width: auto;
	margin: 0 auto;
}

/* Znak ma wpisany bialy kolor pod ciemna belke - na jasnej karcie
   przestawiamy sam napis, zlote akcenty zostaja. */
.cs-cc__logo svg [fill="#ffffff"] {
	fill: var(--cs-navy, #0d2038);
}

.cs-cc__title {
	margin: 0 0 10px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 30px;
	line-height: 1.2;
	color: var(--cs-navy, #0d2038);
}

.cs-cc__lead {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--cs-gold-dark, #a87534);
}

.cs-cc__msg {
	margin: 0 auto 20px;
	max-width: 56ch;
	font-size: 15px;
	line-height: 1.65;
	color: var(--cs-muted, #6b7683);
}

.cs-cc__list {
	list-style: none;
	margin: 0 auto 26px;
	padding: 18px 22px;
	max-width: 56ch;
	text-align: left;
	background: #f7f9fb;
	border-radius: 6px;
}

.cs-cc__list li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 20px;
	font-size: 14px;
	line-height: 1.55;
}

.cs-cc__list li:last-child {
	margin-bottom: 0;
}

.cs-cc__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cs-gold, #d49f58);
}

.cs-cc__list strong {
	color: var(--cs-navy, #0d2038);
}

.cs-cc__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.cs-cc__btn {
	flex: 1 1 210px;
	max-width: 270px;
	min-height: 52px;
	border: 0;
	cursor: pointer;
	padding: 15px 26px;
	border-radius: 6px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	transition: background .2s, color .2s, border-color .2s;
}

.cs-cc__btn--accept {
	background: var(--cs-gold, #d49f58);
	color: #fff;
}

.cs-cc__btn--accept:hover {
	background: var(--cs-gold-dark, #a87534);
}

.cs-cc__btn--ghost {
	background: transparent;
	color: var(--cs-navy, #0d2038);
	border: 1px solid rgba(13, 32, 56, .28);
}

.cs-cc__btn--ghost:hover {
	background: #f5f7f9;
	border-color: rgba(13, 32, 56, .5);
}

.cs-cc__btn:focus-visible {
	outline: 2px solid var(--cs-navy, #0d2038);
	outline-offset: 3px;
}

.cs-cc__note {
	margin: 20px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--cs-muted, #6b7683);
}

.cs-cc__note a {
	color: var(--cs-gold-dark, #a87534);
	text-decoration: underline;
	margin-left: 4px;
}

/* Strona pod spodem nie ma sie przewijac, dopoki decyzja nie zapadnie. */
html.cs-cc-lock,
html.cs-cc-lock body {
	overflow: hidden !important;
}

@media (max-width: 640px) {
	.cs-cc { padding: 14px 12px; }
	.cs-cc__card { width: 100%; max-height: 94vh; padding: 30px 22px 26px; }
	.cs-cc__logo { height: 38px; margin-bottom: 18px; }
	.cs-cc__title { font-size: 24px; }
	.cs-cc__lead { font-size: 15px; }
	.cs-cc__list { padding: 16px 18px; }
	.cs-cc__actions { flex-direction: column; }
	.cs-cc__btn { width: 100%; max-width: none; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
	.cs-cc,
	.cs-cc__card { transition: none; }
}
