/* Cookies consent card (inc/p-consent.php) — bottom-left card on desktop, bottom sheet on phones. */
.x6c {
	position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 2147483001; box-sizing: border-box;
	max-width: 30rem; max-height: calc(100vh - 1.5rem); overflow-y: auto; padding: 1.25rem 1.25rem 1rem;
	font-family: var(--p-font, system-ui, sans-serif); color: #212121; background: #fff;
	border: 1px solid #e3e8f2; border-radius: 1.125rem; box-shadow: 0 18px 50px rgba(10, 30, 70, .28);
	opacity: 0; transform: translateY(1.5rem); transition: opacity .25s ease, transform .25s ease;
}
.x6c.is-in { opacity: 1; transform: none; }
.x6c *, .x6c *::before, .x6c *::after { box-sizing: border-box; }
.x6c__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.x6c__ico svg { display: block; width: 2.75rem; height: 2.75rem; animation: x6c-wobble 2.4s ease-in-out 1s 2; }
@keyframes x6c-wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } }
.x6c__title { margin: 0; font-size: 1.125rem; font-weight: 800; line-height: 1.25; color: #0a3d91; }
.x6c__text { margin: 0 0 1rem; font-size: .875rem; line-height: 1.5; color: #424242; }
.x6c__text a { color: #0a3d91; font-weight: 600; text-decoration: underline; }
.x6c__cats { display: none; margin: 0 0 1rem; border: 1px solid #edf0f5; border-radius: .75rem; overflow: hidden; }
.x6c.is-settings .x6c__cats { display: block; }
.x6c__cat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .875rem; cursor: pointer; border-top: 1px solid #edf0f5; }
.x6c__cat:first-child { border-top: 0; cursor: default; }
.x6c__cat-txt { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.x6c__cat-txt strong { font-size: .9375rem; }
.x6c__cat-txt small { font-size: .8125rem; line-height: 1.4; color: #616161; }
.x6c__sw { position: relative; flex: 0 0 auto; width: 2.75rem; height: 1.5rem; }
.x6c__sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.x6c__knob { position: absolute; inset: 0; border-radius: 1rem; background: #cfd6e3; transition: background .2s; pointer-events: none; }
.x6c__knob::after { content: ""; position: absolute; top: .1875rem; left: .1875rem; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.x6c__sw input:checked + .x6c__knob { background: #1fbf8f; }
.x6c__sw input:checked + .x6c__knob::after { transform: translateX(1.25rem); }
.x6c__sw input:disabled + .x6c__knob { opacity: .6; }
.x6c__sw input:focus-visible + .x6c__knob { outline: 3px solid #ffb703; outline-offset: 2px; }
.x6c__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.x6c__btn { flex: 1 1 auto; min-height: 2.75rem; padding: .625rem 1rem; font: inherit; font-size: .9375rem; font-weight: 700; color: #0a3d91; background: #fff; border: 1.5px solid #0a3d91; border-radius: .625rem; cursor: pointer; transition: filter .15s, background .15s; }
.x6c__btn:hover { background: #f2f6fe; }
.x6c__btn--primary { color: #fff; background: #1fbf8f; border-color: #1fbf8f; }
.x6c__btn--primary:hover { background: #1fbf8f; filter: brightness(.95); }
.x6c__btn--link { flex: 0 0 auto; border-color: transparent; text-decoration: underline; }
.x6c__btn:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
.x6c__save { display: none; }
.x6c.is-settings .x6c__save { display: block; flex-basis: 100%; }
.x6c.is-settings .x6c__btn--link { display: none; }
@media screen and (min-width: 48em) { .x6c { left: 1.25rem; right: auto; bottom: 1.25rem; padding: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .x6c, .x6c__ico svg { transition: none; animation: none; } }
