/* Cookie & RODO banner (PCM_Consent) – Kurka look, slides up from the bottom */
.pcm-cc {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99990;
    display: flex; justify-content: center; pointer-events: none;
    font-family: "Nunito", system-ui, sans-serif;
}
.pcm-cc[hidden], .pcm-cc [hidden] { display: none !important; }
.pcm-cc-card {
    pointer-events: auto; position: relative;
    display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
    width: min(760px, 100%); padding: 22px 24px; border-radius: 26px;
    background: #faf6ee; color: #2b2b33; box-shadow: 0 18px 50px rgba(31, 77, 58, .25), 0 2px 0 rgba(31, 77, 58, .06);
    border: 2px solid #e3f0e4;
    transform: translateY(130%) scale(.96); opacity: 0;
    transition: transform .55s cubic-bezier(.2, 1.3, .4, 1), opacity .35s ease;
}
.pcm-cc.is-in .pcm-cc-card { transform: none; opacity: 1; }
.pcm-cc.is-out .pcm-cc-card { transform: translateY(130%); opacity: 0; transition-duration: .4s; transition-timing-function: ease-in; }
.pcm-cc-cookie { width: 64px; height: 64px; }
.pcm-cc.is-in .pcm-cc-cookie { animation: pcm-cc-wobble 1.1s .45s ease-in-out both; }
@keyframes pcm-cc-wobble { 0% { transform: rotate(0) scale(.6); } 40% { transform: rotate(-14deg) scale(1.08); } 70% { transform: rotate(8deg); } 100% { transform: rotate(0) scale(1); } }
.pcm-cc h2 { margin: 2px 0 6px; font-family: "Fraunces", Georgia, serif; font-size: 21px; line-height: 1.2; color: #1f4d3a; }
.pcm-cc p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #4a5550; }
.pcm-cc p a { color: #1f4d3a; font-weight: 800; }
.pcm-cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pcm-cc .pcm-k-btn { font-size: 15px; padding: 11px 20px; border-radius: 999px; cursor: pointer; border: 2px solid transparent; font-weight: 800; font-family: inherit; line-height: 1.1; }
.pcm-cc .pcm-k-btn-coral { background: #e0533d; color: #fff; }
.pcm-cc .pcm-k-btn-coral:hover { background: #c9442f; }
.pcm-cc .pcm-k-btn-ghost { background: #fff; color: #1f4d3a; border-color: #cfe3cd; }
.pcm-cc .pcm-k-btn-ghost:hover { border-color: #1f4d3a; }
.pcm-cc-link { background: none; border: 0; padding: 6px 4px; color: #1f4d3a; font: 700 14px/1 inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pcm-cc-more { display: grid; gap: 8px; margin: 0 0 14px; }
.pcm-cc-more.is-open .pcm-cc-opt { animation: pcm-cc-drop .35s ease both; }
.pcm-cc-more.is-open .pcm-cc-opt:nth-child(2) { animation-delay: .06s; }
.pcm-cc-more.is-open .pcm-cc-opt:nth-child(3) { animation-delay: .12s; }
@keyframes pcm-cc-drop { from { opacity: 0; transform: translateY(-8px); } }
.pcm-cc-opt { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; cursor: pointer; }
.pcm-cc-opt.is-locked { cursor: default; opacity: .85; }
.pcm-cc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pcm-cc-opt b { display: block; color: #1f4d3a; font-size: 15px; }
.pcm-cc-opt small { display: block; color: #6f7c75; font-size: 13px; line-height: 1.35; }
.pcm-cc-switch { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #d9d5cc; transition: background .25s; }
.pcm-cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.pcm-cc-opt input:checked + .pcm-cc-switch { background: #4f9a6b; }
.pcm-cc-opt input:checked + .pcm-cc-switch::after { transform: translateX(20px); }
.pcm-cc-opt input:focus-visible + .pcm-cc-switch { outline: 3px solid #f2c14e; outline-offset: 2px; }

/* Small cookie button to change the choice later */
.pcm-cc-reopen {
    position: fixed; left: 16px; bottom: 16px; z-index: 99980;
    width: 46px; height: 46px; padding: 8px; border-radius: 50%; border: 2px solid #e3f0e4;
    background: #faf6ee; box-shadow: 0 6px 18px rgba(31, 77, 58, .2); cursor: pointer;
    transition: transform .25s ease;
}
.pcm-cc-reopen[hidden] { display: none; }
.pcm-cc-reopen svg { width: 100%; height: 100%; display: block; }
.pcm-cc-reopen:hover { transform: rotate(-12deg) scale(1.08); }
.pcm-cc-reopen.is-pop { animation: pcm-cc-pop .5s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes pcm-cc-pop { from { transform: scale(0); } }

/* Google Form waiting for consent */
.pcm-consent-embed-ph { padding: 26px; border-radius: 20px; background: #eef5ec; text-align: center; }
.pcm-consent-embed-ph p { margin: 0 0 14px; color: #3d4a44; }
.pcm-consent-embed iframe { width: 100%; min-height: 900px; border: 0; }
.pcm-rodo-note { margin: 10px 0 0; font-size: .82em; line-height: 1.45; color: #6f7c75; }

@media (max-width: 600px) {
    .pcm-cc { left: 10px; right: 10px; bottom: 10px; }
    .pcm-cc-card { grid-template-columns: 1fr; padding: 18px; gap: 6px; border-radius: 22px; }
    .pcm-cc-cookie { width: 46px; height: 46px; position: absolute; top: -20px; right: 18px; }
    .pcm-cc h2 { font-size: 19px; padding-right: 44px; }
    .pcm-cc p { font-size: 14px; }
    .pcm-cc-actions .pcm-k-btn { flex: 1 1 100%; text-align: center; }
    .pcm-cc-link { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .pcm-cc-card, .pcm-cc-switch::after { transition: none !important; }
    .pcm-cc-cookie, .pcm-cc-opt, .pcm-cc-reopen { animation: none !important; }
}
