/**
 * Consent - banner, settings modal, blocked embeds, cookie policy tables.
 *
 * Layout and looks in one file: px-core is used with px-theme, which has no
 * consent styles of its own. Every colour, radius, size and gap comes from
 * the theme's --pc-* tokens (px-theme / px-shop-theme base.css), with a
 * neutral fallback for a theme that has none - so the banner matches the
 * site without a line of theme CSS.
 *
 * A theme tunes it with tokens, not with overrides:
 *
 *   --pc-consent-accent       buttons (outline, text), links, focus of the
 *                             banner; RGB triplet, default --pc-accent-deep
 *   --pc-consent-accent-fill  filled states - "Save choice", switch on,
 *                             "Allow" in an embed; default --pc-accent
 *
 *   :root { --pc-consent-accent: var(--pc-secondary); }
 *
 * The stylesheet is printed by PX_Consent::style_tag() before the theme's
 * stylesheets, so a theme rule of the same specificity wins without
 * !important. Selectors are single classes wherever possible.
 *
 * Accept / Reject / Settings share one appearance on purpose: refusing must
 * not look harder than accepting (EDPB 03/2022).
 *
 * Taken over from px-shop-core assets/consent.css (layout) and px-shop-theme
 * assets/css/consent.css (looks), merged - see README "Zladenie".
 *
 * @package PxCore
 */

/* Private shorthands, resolved on each root of the layer - the public
   tokens above are read from :root through inheritance. */
.px-consent,
.px-consent-modal,
.px-consent-embed,
.px-consent-embed-frame,
.px-cookie-policy {
	--pcc-accent: var(--pc-consent-accent, var(--pc-accent-deep, 13 82 122));
	--pcc-fill: var(--pc-consent-accent-fill, var(--pc-accent, 17 104 155));
	--pcc-on-fill: var(--pc-on-accent, 255 255 255);
	--pcc-paper: var(--pc-paper, 255 255 255);
	--pcc-ink: var(--pc-ink, 10 31 51);
	--pcc-muted: var(--pc-muted, 84 98 115);
	--pcc-line: var(--pc-line, 224 230 237);
	--pcc-soft: var(--pc-soft, 244 246 247);
	--pcc-sunk: var(--pc-sunk, 238 242 246);
	--pcc-focus: var(--pc-focus, var(--pcc-accent));
}

.px-consent[hidden],
.px-consent-modal[hidden],
.px-consent-group__body[hidden],
.px-consent-service__detail[hidden] {
	display: none !important;
}

.px-consent *,
.px-consent *::before,
.px-consent *::after,
.px-consent-modal *,
.px-consent-modal *::before,
.px-consent-modal *::after,
.px-consent-embed *,
.px-consent-embed *::before,
.px-consent-embed *::after {
	box-sizing: border-box;
}

/* Focus is visible on every control (WCAG 2.4.7). */
.px-consent :is(a, button, input, [tabindex]):focus-visible,
.px-consent-modal :is(a, button, input, [tabindex]):focus-visible,
.px-consent-embed :is(a, button, input, [tabindex]):focus-visible,
.px-cookie-policy :is(a, button, input, [tabindex]):focus-visible {
	outline: 2px solid rgb(var(--pcc-focus));
	outline-offset: 2px;
	border-radius: var(--pc-radius-xs, 0.35rem);
}

/* The banner itself takes focus when it appears (tabindex="-1") - a ring
   around the whole strip helps the keyboard user see where they are. */
.px-consent:focus-visible {
	outline: 2px solid rgb(var(--pcc-focus));
	outline-offset: -2px;
}

.px-consent:focus:not(:focus-visible) {
	outline: none;
}

/* =========================================================================
   BANNER (first layer)
   ========================================================================= */

.px-consent {
	position: fixed;
	z-index: var(--pc-z-toast, 2000);
	right: 0;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
	max-height: 80vh;
	overflow-y: auto;
	padding: var(--pc-space-4, 1rem);
	/* The home indicator of an iPhone covers the bottom of a fixed strip. */
	padding-bottom: calc(var(--pc-space-4, 1rem) + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid rgb(var(--pcc-line));
	background: rgb(var(--pcc-paper));
	color: rgb(var(--pcc-ink));
	box-shadow: 0 -0.5rem 2.5rem rgb(var(--pcc-ink) / 0.14);
	font-family: var(--pc-font-body, inherit);
	font-size: var(--pc-fs-md, 0.9375rem);
	line-height: 1.6;
}

.px-consent__inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-4, 1rem);
	align-items: center;
	justify-content: space-between;
	max-width: var(--pc-container, 76rem);
	margin: 0 auto;
}

.px-consent__body {
	flex: 1 1 20rem;
}

.px-consent__title {
	margin: 0 0 var(--pc-space-1, 0.25rem);
	font-family: inherit;
	font-size: var(--pc-fs-lg, 1.125rem);
	font-weight: 700;
	line-height: 1.3;
	color: rgb(var(--pcc-ink));
}

.px-consent__text {
	max-width: 62ch;
	margin: 0;
	font-size: var(--pc-fs-sm, 0.875rem);
	color: rgb(var(--pcc-muted));
}

.px-consent__link,
.px-consent-modal__link {
	color: rgb(var(--pcc-accent));
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.px-consent__link {
	white-space: nowrap;
}

.px-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-2, 0.5rem);
}

/* =========================================================================
   BUTTONS - one appearance for all three, they differ in text only.
   ========================================================================= */

.px-consent__btn {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-width: 8.5rem;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.6rem var(--pc-space-6, 1.5rem);
	border: 1px solid rgb(var(--pcc-accent));
	border-radius: var(--pc-radius-control, 9999px);
	background: rgb(var(--pcc-paper));
	color: rgb(var(--pcc-accent));
	font-family: inherit;
	font-size: var(--pc-fs-sm, 0.875rem);
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.px-consent__btn:hover {
	background: rgb(var(--pcc-accent));
	color: rgb(var(--pcc-on-fill));
}

.px-consent__btn:active {
	border-color: rgb(var(--pcc-fill));
	background: rgb(var(--pcc-fill));
	color: rgb(var(--pcc-on-fill));
}

/* "Save choice" is filled - it does not compete with the accept/reject pair
   (that stays equal), it only shows how the work in the modal ends. */
.px-consent__btn--save {
	border-color: rgb(var(--pcc-fill));
	background: rgb(var(--pcc-fill));
	color: rgb(var(--pcc-on-fill));
}

.px-consent__btn--save:hover {
	border-color: rgb(var(--pcc-accent));
	background: rgb(var(--pcc-accent));
}

/* Mobile: "Accept all" and "Reject all" side by side in two equal columns
   (the pair that must stay equal), "Settings" full width below. Three
   stacked rows took 37 % of a 390 x 844 screen (59 % at 320 x 568). */
@media (max-width: 639.98px) {
	.px-consent {
		padding-top: var(--pc-space-3, 0.75rem);
	}

	.px-consent__inner {
		gap: var(--pc-space-3, 0.75rem);
	}

	.px-consent__title {
		font-size: var(--pc-fs-md, 0.9375rem);
	}

	.px-consent__text {
		line-height: 1.5;
	}

	.px-consent__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.px-consent__btn {
		min-width: 0;
		padding-inline: var(--pc-space-2, 0.5rem);
	}

	.px-consent__btn--settings {
		grid-column: 1 / -1;
	}
}

/* =========================================================================
   MODAL (second layer)
   ========================================================================= */

.px-consent-open {
	overflow: hidden;
}

.px-consent-modal {
	position: fixed;
	z-index: var(--pc-z-modal, 10000);
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--pc-space-4, 1rem);
	font-family: var(--pc-font-body, inherit);
}

.px-consent-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgb(var(--pcc-ink) / 0.55);
}

.px-consent-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	max-width: 44rem;
	max-height: 90vh;
	/* For the radius - the head and the action strip have their own fill. */
	overflow: hidden;
	border-radius: var(--pc-radius-lg, 1rem);
	background: rgb(var(--pcc-paper));
	color: rgb(var(--pcc-ink));
	box-shadow: 0 1.5rem 3.5rem rgb(var(--pcc-ink) / 0.3);
	font-size: var(--pc-fs-md, 0.9375rem);
	line-height: 1.6;
}

.px-consent-modal__dialog:focus {
	outline: none;
}

.px-consent-modal__head,
.px-consent-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-2, 0.5rem);
	align-items: center;
	padding: var(--pc-space-4, 1rem);
	background: rgb(var(--pcc-paper));
}

.px-consent-modal__head {
	justify-content: space-between;
	border-bottom: 1px solid rgb(var(--pcc-line));
}

.px-consent-modal__title {
	margin: 0;
	font-family: inherit;
	font-size: var(--pc-fs-lg, 1.125rem);
	font-weight: 700;
	line-height: 1.3;
	color: rgb(var(--pcc-ink));
}

.px-consent-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--pc-radius-pill, 9999px);
	background: none;
	color: rgb(var(--pcc-muted));
	font: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.px-consent-modal__close:hover {
	background: rgb(var(--pcc-sunk));
	color: rgb(var(--pcc-ink));
}

.px-consent-modal__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: var(--pc-space-4, 1rem);
	background: rgb(var(--pcc-soft));
}

.px-consent-modal__intro {
	margin: 0 0 var(--pc-space-4, 1rem);
	font-size: var(--pc-fs-sm, 0.875rem);
	color: rgb(var(--pcc-muted));
}

.px-consent-modal__actions {
	border-top: 1px solid rgb(var(--pcc-line));
}

.px-consent-modal__actions .px-consent__btn {
	flex: 1 1 12rem;
}

/* =========================================================================
   CATEGORIES AND SERVICES
   ========================================================================= */

.px-consent-group {
	margin: 0 0 var(--pc-space-3, 0.75rem);
	padding: var(--pc-space-1, 0.25rem) var(--pc-space-4, 1rem) var(--pc-space-2, 0.5rem);
	border: 1px solid rgb(var(--pcc-line));
	border-radius: var(--pc-radius, 0.75rem);
	background: rgb(var(--pcc-paper));
}

.px-consent-group:last-child {
	margin-bottom: 0;
}

.px-consent-group__head,
.px-consent-service__head {
	display: flex;
	gap: var(--pc-space-3, 0.75rem);
	align-items: center;
	justify-content: space-between;
}

.px-consent-group__toggle,
.px-consent-service__more {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-2, 0.5rem);
	align-items: baseline;
	min-height: 2.75rem;
	margin: 0;
	padding: var(--pc-space-1, 0.25rem) 0;
	border: 0;
	background: none;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.px-consent-group__toggle {
	flex: 1 1 auto;
	color: rgb(var(--pcc-ink));
}

.px-consent-group__name {
	font-size: var(--pc-fs-md, 0.9375rem);
	font-weight: 700;
}

.px-consent-group__count {
	font-size: var(--pc-fs-xs, 0.8125rem);
	font-weight: 400;
	color: rgb(var(--pcc-muted));
}

/* The chevron is CSS, not an icon in the markup: purely decorative, the
   state is carried by aria-expanded. */
.px-consent-group__toggle::after,
.px-consent-service__more::after {
	content: '';
	align-self: center;
	width: 0.45rem;
	height: 0.45rem;
	margin-left: 0.15rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.px-consent-group__toggle[aria-expanded='true']::after,
.px-consent-service__more[aria-expanded='true']::after {
	transform: rotate(-135deg);
}

.px-consent-group__body {
	margin-top: var(--pc-space-1, 0.25rem);
	padding-top: var(--pc-space-3, 0.75rem);
	border-top: 1px solid rgb(var(--pcc-line));
}

.px-consent-group__desc {
	margin: 0 0 var(--pc-space-3, 0.75rem);
	font-size: var(--pc-fs-sm, 0.875rem);
	color: rgb(var(--pcc-muted));
}

.px-consent-services {
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-consent-service {
	padding: var(--pc-space-2, 0.5rem) 0;
	border-top: 1px solid rgb(var(--pcc-line));
}

.px-consent-service:first-child {
	border-top: 0;
}

.px-consent-service__name {
	font-size: var(--pc-fs-md, 0.9375rem);
	font-weight: 600;
}

.px-consent-service__more {
	color: rgb(var(--pcc-accent));
	font-size: var(--pc-fs-xs, 0.8125rem);
	font-weight: 600;
	text-decoration: none;
}

.px-consent-service__more:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.px-consent-service__detail {
	margin: var(--pc-space-1, 0.25rem) 0 var(--pc-space-3, 0.75rem);
	padding: var(--pc-space-3, 0.75rem) 0.875rem;
	border-radius: var(--pc-radius-sm, 0.5rem);
	background: rgb(var(--pcc-soft));
	font-size: var(--pc-fs-sm, 0.875rem);
	color: rgb(var(--pcc-muted));
}

.px-consent-service__purpose {
	margin: 0 0 var(--pc-space-2, 0.5rem);
}

.px-consent-service__provider {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-2, 0.5rem);
	margin: 0 0 var(--pc-space-2, 0.5rem);
	font-size: var(--pc-fs-xs, 0.8125rem);
}

.px-consent-service__privacy {
	color: rgb(var(--pcc-accent));
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* =========================================================================
   SWITCH - the state is the position of the knob, not only its colour
   (WCAG 1.4.1): left = off, middle = some services, right = on. The
   checkbox stays in the DOM and focusable; the ring is drawn on the track.
   ========================================================================= */

.px-consent-switch {
	position: relative;
	display: inline-flex;
	gap: 0.625rem;
	align-items: center;
	cursor: pointer;
}

.px-consent-switch__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Track and knob at least 3:1 against the background (WCAG 1.4.11) - hence
   the muted ink, not the light line colour: a switch is a control. */
.px-consent-switch__ui {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 2.75rem;
	height: 1.5rem;
	border: 1px solid rgb(var(--pcc-muted));
	border-radius: var(--pc-radius-pill, 9999px);
	background: rgb(var(--pcc-sunk));
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.px-consent-switch__ui::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0.125rem;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: var(--pc-radius-pill, 9999px);
	background: rgb(var(--pcc-muted));
	transform: translateY(-50%);
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.px-consent-switch__input:checked + .px-consent-switch__ui {
	border-color: rgb(var(--pcc-fill));
	background: rgb(var(--pcc-fill));
}

.px-consent-switch__input:checked + .px-consent-switch__ui::after {
	background: rgb(var(--pcc-on-fill));
	transform: translate(1.125rem, -50%);
}

/* A category with only some services allowed - knob in the middle; the
   checkbox is natively "mixed", so a screen reader hears it too. */
.px-consent-switch__input:indeterminate + .px-consent-switch__ui {
	border-color: rgb(var(--pcc-accent));
	background: rgb(var(--pcc-fill) / 0.28);
}

.px-consent-switch__input:indeterminate + .px-consent-switch__ui::after {
	background: rgb(var(--pcc-accent));
	transform: translate(0.5625rem, -50%);
}

.px-consent-switch__input:focus-visible + .px-consent-switch__ui {
	outline: 2px solid rgb(var(--pcc-focus));
	outline-offset: 2px;
}

.px-consent-switch:hover .px-consent-switch__input:not(:disabled) + .px-consent-switch__ui {
	border-color: rgb(var(--pcc-fill) / 0.6);
}

/* Necessary cookies cannot be switched off - the knob stays right but
   muted, so it does not promise a choice that does not exist. */
.px-consent-switch__input:disabled + .px-consent-switch__ui {
	border-color: rgb(var(--pcc-fill) / 0.5);
	background: rgb(var(--pcc-fill) / 0.28);
	cursor: not-allowed;
}

.px-consent-switch__input:disabled + .px-consent-switch__ui::after {
	background: rgb(var(--pcc-accent));
}

.px-consent-switch__state {
	font-size: var(--pc-fs-2xs, 0.75rem);
	color: rgb(var(--pcc-muted));
	white-space: nowrap;
}

.px-consent-switch__state:empty {
	display: none;
}

/* =========================================================================
   COOKIE TABLES - stay tables on mobile (column headers for screen readers)
   ========================================================================= */

.px-consent-cookies,
.px-cookie-policy__table {
	width: 100%;
	margin: var(--pc-space-2, 0.5rem) 0;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid rgb(var(--pcc-line));
	border-radius: var(--pc-radius-sm, 0.5rem);
	background: rgb(var(--pcc-paper));
	font-size: var(--pc-fs-xs, 0.8125rem);
	line-height: 1.5;
	color: rgb(var(--pcc-ink));
}

.px-consent-cookies th,
.px-consent-cookies td,
.px-cookie-policy__table th,
.px-cookie-policy__table td {
	padding: var(--pc-space-2, 0.5rem) 0.625rem;
	border: 0;
	border-top: 1px solid rgb(var(--pcc-line));
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.px-consent-cookies thead th,
.px-cookie-policy__table thead th {
	border-top: 0;
	background: rgb(var(--pcc-soft));
	font-size: var(--pc-fs-3xs, 0.6875rem);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgb(var(--pcc-muted));
	white-space: nowrap;
}

.px-consent-cookies code,
.px-cookie-policy__table code {
	padding: 0.0625rem 0.3125rem;
	border-radius: var(--pc-radius-xs, 0.35rem);
	background: rgb(var(--pcc-ink) / 0.06);
	font-size: var(--pc-fs-xs, 0.8125rem);
}

.px-consent-cookies td:first-child,
.px-cookie-policy__table td:first-child {
	white-space: nowrap;
}

@media (max-width: 479.98px) {
	.px-consent-cookies td:first-child,
	.px-cookie-policy__table td:first-child {
		white-space: normal;
	}
}

/* =========================================================================
   BLOCKED EMBED - the placeholder of a video keeps the 16:9 of what
   replaces it, so allowing it does not move the page (CLS).
   ========================================================================= */

.px-consent-embed {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 12rem;
	margin: var(--pc-space-6, 1.5rem) 0;
	padding: var(--pc-space-6, 1.5rem);
	border: 1px dashed rgb(var(--pcc-ink) / 0.22);
	border-radius: var(--pc-radius, 0.75rem);
	background: rgb(var(--pcc-soft));
	color: rgb(var(--pcc-ink));
	line-height: 1.6;
	text-align: center;
}

@media (min-width: 480px) {
	.px-consent-embed[data-px-consent-embed='youtube'] {
		aspect-ratio: 16 / 9;
	}
}

.px-consent-embed__inner {
	max-width: 32rem;
}

.px-consent-embed__title {
	margin: 0 0 var(--pc-space-2, 0.5rem);
	font-size: var(--pc-fs-base, 1rem);
	font-weight: 700;
}

.px-consent-embed__text {
	margin: 0;
	font-size: var(--pc-fs-sm, 0.875rem);
	color: rgb(var(--pcc-muted));
}

.px-consent-embed__actions {
	margin: var(--pc-space-3, 0.75rem) 0 var(--pc-space-1, 0.25rem);
}

.px-consent-embed__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.6rem var(--pc-space-6, 1.5rem);
	border: 1px solid rgb(var(--pcc-fill));
	border-radius: var(--pc-radius-control, 9999px);
	background: rgb(var(--pcc-fill));
	color: rgb(var(--pcc-on-fill));
	font: inherit;
	font-size: var(--pc-fs-sm, 0.875rem);
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.px-consent-embed__btn:hover {
	border-color: rgb(var(--pcc-accent));
	background: rgb(var(--pcc-accent));
}

.px-consent-embed__fallback {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-3, 0.75rem);
	justify-content: center;
	margin: 0;
	font-size: var(--pc-fs-xs, 0.8125rem);
	color: rgb(var(--pcc-muted));
}

.px-consent-embed__link,
.px-consent-embed__settings {
	padding: 0;
	border: 0;
	background: none;
	color: rgb(var(--pcc-accent));
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.px-consent-embed-frame {
	margin: var(--pc-space-6, 1.5rem) 0;
	overflow: hidden;
	border-radius: var(--pc-radius, 0.75rem);
	background: rgb(var(--pcc-ink) / 0.04);
}

.px-consent-embed-frame iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

.px-consent-embed-frame[data-px-consent-embed='youtube'] iframe {
	height: auto;
	aspect-ratio: 16 / 9;
}

/* =========================================================================
   COOKIE POLICY PAGE - output of [px_cookie_policy]; headings continue
   under the h1 of the page.
   ========================================================================= */

.px-cookie-policy {
	margin-top: var(--pc-space-8, 2rem);
	font-size: var(--pc-fs-md, 0.9375rem);
	line-height: 1.7;
}

.px-cookie-policy__group,
.px-cookie-policy__service {
	scroll-margin-top: 7rem;
}

.px-cookie-policy__group + .px-cookie-policy__group {
	margin-top: var(--pc-space-10, 2.5rem);
}

.px-cookie-policy__title {
	margin: 0 0 var(--pc-space-2, 0.5rem);
	padding-bottom: var(--pc-space-2, 0.5rem);
	border-bottom: 1px solid rgb(var(--pcc-line));
	font-size: var(--pc-fs-2xl, 1.375rem);
	font-weight: 700;
}

.px-cookie-policy__desc {
	margin: 0;
	color: rgb(var(--pcc-muted));
}

.px-cookie-policy__service {
	margin-top: var(--pc-space-4, 1rem);
	padding: var(--pc-space-5, 1.25rem);
	border: 1px solid rgb(var(--pcc-line));
	border-radius: var(--pc-radius, 0.75rem);
	background: rgb(var(--pcc-paper));
}

.px-cookie-policy__service-name {
	margin: 0 0 var(--pc-space-3, 0.75rem);
	font-size: var(--pc-fs-lg, 1.125rem);
	font-weight: 700;
}

.px-cookie-policy__meta {
	display: grid;
	gap: var(--pc-space-1, 0.25rem) var(--pc-space-4, 1rem);
	grid-template-columns: minmax(0, 1fr);
	margin: 0 0 var(--pc-space-4, 1rem);
	font-size: var(--pc-fs-sm, 0.875rem);
}

@media (min-width: 640px) {
	.px-cookie-policy__meta {
		grid-template-columns: 10rem minmax(0, 1fr);
	}
}

.px-cookie-policy__meta dt {
	font-weight: 600;
	color: rgb(var(--pcc-muted));
}

.px-cookie-policy__meta dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.px-cookie-policy__meta a {
	color: rgb(var(--pcc-accent));
	text-underline-offset: 0.2em;
}

.px-cookie-policy__caption {
	caption-side: top;
	padding-bottom: 0.375rem;
	font-size: var(--pc-fs-xs, 0.8125rem);
	font-weight: 600;
	color: rgb(var(--pcc-muted));
	text-align: left;
}

.px-cookie-policy__actions {
	margin: var(--pc-space-8, 2rem) 0 0;
}

.px-cookie-policy__actions .px-consent__btn {
	flex: 0 0 auto;
}

/* =========================================================================
   UTILITIES, MOTION, PRINT
   ========================================================================= */

.px-consent-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.px-consent:not([hidden]) {
	animation: px-consent-in 0.25s ease-out both;
}

.px-consent-modal:not([hidden]) .px-consent-modal__overlay {
	animation: px-consent-fade 0.2s ease-out both;
}

.px-consent-modal:not([hidden]) .px-consent-modal__dialog {
	animation: px-consent-dialog-in 0.2s ease-out both;
}

@keyframes px-consent-in {
	from {
		opacity: 0;
		transform: translateY(1rem);
	}
}

@keyframes px-consent-fade {
	from {
		opacity: 0;
	}
}

@keyframes px-consent-dialog-in {
	from {
		opacity: 0;
		transform: translateY(0.75rem) scale(0.98);
	}
}

@media (prefers-reduced-motion: reduce) {

	.px-consent:not([hidden]),
	.px-consent-modal:not([hidden]) .px-consent-modal__overlay,
	.px-consent-modal:not([hidden]) .px-consent-modal__dialog {
		animation: none;
	}

	.px-consent__btn,
	.px-consent-embed__btn,
	.px-consent-modal__close,
	.px-consent-group__toggle::after,
	.px-consent-service__more::after,
	.px-consent-switch__ui,
	.px-consent-switch__ui::after {
		transition: none;
	}
}

@media print {

	.px-consent,
	.px-consent-modal {
		display: none !important;
	}
}
