/* SPDX-License-Identifier: MIT; Copyright 2026 PK <pk@pk.sk> */
#pk-cookie-banner,#pk-cookie-panel{font-family:inherit;font-size:1rem;line-height:1.55;color:#25382b;background:#fffdf9;border:1px solid #697960;box-shadow:0 6px 28px #13291f35;border-radius:.65rem;padding:1.25rem;box-sizing:border-box}
#pk-cookie-banner[hidden]{display:none!important}
#pk-cookie-banner{position:relative;margin:1rem auto;width:min(64rem,calc(100% - 2rem));z-index:10}
#pk-cookie-banner h2,#pk-cookie-panel h2{font-size:1.4rem;margin:.4rem 0 .75rem;color:#25382b}
#pk-cookie-panel h3{font-size:1.15rem;color:#25382b;margin:1rem 0 .5rem}
#pk-cookie-panel h4{font-size:1rem;color:#25382b;margin:.75rem 0 .4rem}
#pk-cookie-panel{width:min(43rem,calc(100% - 1.5rem));max-height:calc(100dvh - 2rem);margin:auto;overflow:auto;overscroll-behavior:contain}
#pk-cookie-panel::backdrop{background:#16291fd1}
.pk-cmp-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:.75rem 0}
.pk-cmp-button{font:inherit;font-weight:600;line-height:1.3;min-height:44px;padding:.75rem 1rem;background:#2f513a;color:white;border:2px solid #2f513a;border-radius:.35rem;cursor:pointer;white-space:normal;text-align:center}
.pk-cmp-button:hover{background:#213c2b;border-color:#213c2b;color:white}
.pk-cmp-button:disabled{opacity:.65;cursor:wait}
#pk-cookie-banner a{color:#294d36;text-decoration:underline}
#pk-cookie-panel [data-pk-close]{display:block;margin-left:auto;background:#fffdf9;color:#25382b}
#pk-cookie-panel .pk-cmp-category{margin:1rem 0;border-top:1px solid #9da895;padding:.9rem 0 0}
#pk-cookie-panel label{display:flex;align-items:center;gap:.75rem;font-weight:700;min-height:44px;color:#25382b;cursor:pointer}
#pk-cookie-panel input[type=checkbox]{appearance:auto;width:1.35rem;height:1.35rem;accent-color:#2f513a;margin:0;flex-shrink:0}
#pk-cookie-panel p,#pk-cookie-banner p{margin:.7rem 0;overflow-wrap:anywhere}
#pk-cmp-record{font-size:.875rem}
#pk-cookie-panel :focus-visible,#pk-cookie-banner :focus-visible,.pk-cookie-account-link a:focus-visible{outline:3px solid #7f4b12;outline-offset:4px}
@media(max-width:480px){#pk-cookie-panel,#pk-cookie-banner{padding:1rem}.pk-cmp-actions{flex-direction:column}.pk-cmp-actions .pk-cmp-button{width:100%}}
@media(prefers-reduced-motion:reduce){#pk-cookie-panel,#pk-cookie-banner{scroll-behavior:auto}}

#pk-cookie-panel summary{cursor:pointer}
#pk-cookie-panel details{font-size:.875rem}
