/**
 * goyka.pl: wygląd banera DEDE Cookie Consent.
 * Ładowany z inc/dede-cookies.php (wp_enqueue_style, wersja = filemtime).
 * Główna strona: font dziedziczony z body (Poppins), akcent #dd3333 z ustawień wtyczki.
 */
/*
 * Trydo ustawia html{font-size:62.5%}, więc 1rem = 10px i baner wtyczki maleje (przyciski 30px, tekst 10px).
 * Poniżej te same selektory co w dcc.css wtyczki 0.2.3, rem przeliczone na px (baza 16).
 * Wygenerowane skryptem rem2px.py. Do usunięcia, gdy wtyczka przestanie zależeć od rozmiaru rem.
 */
.dcc,
.dcc-placeholder {
	font-size: 16px;
}
.dcc .dcc-title {
	font-size: 20px;
}
.dcc .dcc-subtitle {
	margin: 0 0 12px;
	font-size: 17px;
}
.dcc .dcc-btn,
.dcc-placeholder .dcc-btn {
	min-height: 48px;
	min-width: 44px;
	padding: 10px 20px;
	border-radius: var(--dcc-btn-radius, 6px);
	font-size: 16px;
}
.dcc .dcc-actions {
	gap: 12px;
}
.dcc-settings-link {
	min-height: 44px;
}
.dcc .dcc-banner {
	padding: 20px;
	box-shadow: var(--dcc-shadow-bar, 0 -8px 32px rgba(0, 0, 0, 0.14), 0 -1px 0 rgba(0, 0, 0, 0.08));
}
.dcc[data-dcc-position="bottom"] .dcc-banner__inner {
	gap: 12px 40px;
	max-width: 1216px;
}
.dcc[data-dcc-position="bottom-left"] .dcc-banner,
.dcc[data-dcc-position="bottom-right"] .dcc-banner {
	bottom: 16px;
	width: min(448px, calc(100% - 32px));
	border-radius: var(--dcc-radius, 8px);
	box-shadow: var(--dcc-shadow, 0 12px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08));
}
.dcc[data-dcc-position="bottom-left"] .dcc-banner {
	left: 16px;
}
.dcc[data-dcc-position="bottom-right"] .dcc-banner {
	right: 16px;
}
.dcc .dcc-banner__inner {
	gap: 12px;
}
.dcc .dcc-banner .dcc-actions {
	margin-top: 8px;
}
.dcc .dcc-banner--modal {
	width: min(576px, calc(100% - 32px));
	max-height: calc(100dvh - 32px);
	padding: 24px;
	border-radius: var(--dcc-radius, 8px);
	box-shadow: var(--dcc-shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.25));
}
@media (min-width: 64em) {
.dcc[data-dcc-position="bottom"] .dcc-banner {
	padding: 24px 32px;
}
.dcc[data-dcc-position="bottom"] .dcc-banner .dcc-actions {
	width: 256px;
}
}
.dcc .dcc-modal {
	width: min(928px, calc(100% - 32px));
	max-height: calc(100dvh - 32px);
	border-radius: var(--dcc-radius, 8px);
	box-shadow: var(--dcc-shadow-lg, 0 20px 56px rgba(0, 0, 0, 0.28));
}
.dcc .dcc-modal__head {
	gap: 16px;
	padding: 16px 16px 16px 24px;
}
.dcc .dcc-modal__head .dcc-title {
	font-size: 24px;
}
.dcc .dcc-close {
	width: 44px;
	height: 44px;
	border-radius: var(--dcc-btn-radius, 6px);
}
.dcc .dcc-modal__body {
	gap: 32px;
	padding: 24px;
}
.dcc .dcc-cats__grid {
	grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
	gap: 12px;
}
.dcc .dcc-cat {
	gap: 10px;
	min-height: 176px;
	padding: 20px 12px 16px;
	border-radius: var(--dcc-radius, 8px);
}
.dcc .dcc-cat__icon {
	width: 56px;
	height: 56px;
}
.dcc .dcc-cat__control {
	gap: 4px;
}
.dcc .dcc-cat input[type="checkbox"] {
	width: 24px;
	height: 24px;
}
.dcc .dcc-cat__note {
	font-size: 14px;
}
.dcc .dcc-summary {
	gap: 24px 40px;
	padding-top: 24px;
}
.dcc .dcc-summary__list {
	gap: 12px;
}
.dcc .dcc-summary__list li {
	padding-left: 20px;
}
.dcc .dcc-summary__list li::before {
	width: 10px;
}
.dcc .dcc-modal__foot {
	padding: 16px 24px;
}
@media (min-width: 40em) {
.dcc .dcc-modal__foot .dcc-btn {
	min-width: 176px;
}
}
@media (max-width: 39.99em) {
.dcc .dcc-modal__body {
	padding: 20px 16px;
}
.dcc .dcc-modal__head {
	padding-left: 16px;
}
.dcc .dcc-modal__head .dcc-title {
	font-size: 20px;
}
.dcc .dcc-modal__foot {
	padding: 12px 16px;
}
.dcc .dcc-cat {
	min-height: 152px;
}
}
.dcc .dcc-status.is-visible {
	bottom: 24px;
	max-width: calc(100% - 32px);
	padding: 12px 20px;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.dcc-placeholder {
	gap: 16px;
	min-height: 192px;
	margin: 0 0 16px;
	padding: 24px;
	border-radius: var(--dcc-radius, 8px);
}
.dcc-placeholder .dcc-placeholder__actions {
	gap: 8px 20px;
}

.dcc,
.dcc-placeholder {
	--dcc-btn-radius: 6px;
}

/* LP świąteczna i strona podziękowania: zieleń i Fraunces jak w LP. */
.lp-swiateczna-body .dcc,
.lp-swiateczna-body .dcc-placeholder {
	--dcc-accent: #245046;
	--dcc-on-accent: #ffffff;
	--dcc-accent-hover: #1a3b34;
	--dcc-heading-font: Fraunces, Georgia, serif;
	--dcc-heading-weight: 600;
	--dcc-btn-radius: 100px;
}

/* Link „Ustawienia cookies” w stopkach: wygląda jak sąsiednie linki. */
.footer-widget .menu .dcc-settings-link,
.footer__legal .dcc-settings-link {
	color: inherit;
	font-size: inherit;
	text-align: left;
}
