/* PetCore Toolkit: cookie notice. */
.pcr-cookie { --pcr-ck-bg: #0f172a; --pcr-ck-fg: #e2e8f0; --pcr-ck-title: #fff; position: fixed; z-index: 990; inset-block-end: 1rem; font-size: .92rem; }
.pcr-cookie[hidden] { display: none; }
.pcr-cookie--light { --pcr-ck-bg: #fff; --pcr-ck-fg: #475569; --pcr-ck-title: #0f172a; }
.pcr-cookie--brand { --pcr-ck-bg: var(--pcr-primary, #1d4ed8); --pcr-ck-fg: rgba(255, 255, 255, .88); --pcr-ck-title: #fff; }
.pcr-cookie__box { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; padding: 1.25rem 1.4rem; border: 1px solid rgba(148, 163, 184, .2); border-radius: var(--pcr-radius, 14px); background: var(--pcr-ck-bg); color: var(--pcr-ck-fg); box-shadow: 0 24px 60px -20px rgba(2, 6, 23, .45); }
.pcr-cookie__icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(var(--pcr-accent-rgb, 245, 158, 11), .16); color: var(--pcr-accent, #f59e0b); }
.pcr-cookie--brand .pcr-cookie__icon { background: rgba(255, 255, 255, .15); color: #fff; }
.pcr-cookie__body { flex: 1 1 18rem; min-width: 0; }
.pcr-cookie__title { margin: 0 0 .2rem; color: var(--pcr-ck-title); font-family: var(--pcr-font-heading, inherit); font-size: 1.02rem; font-weight: 700; }
.pcr-cookie__text { margin: 0; line-height: 1.55; }
.pcr-cookie__text a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pcr-cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.pcr-cookie__btn { padding: .7em 1.3em; font-size: .9rem; }
.pcr-cookie--dark .pcr-btn--outline, .pcr-cookie--brand .pcr-btn--outline { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.pcr-cookie--brand .pcr-cookie__btn[data-pcr-cookie="accepted"] { background: #fff; color: var(--pcr-primary, #1d4ed8); }

.pcr-cookie--bar { inset-inline: 1rem; }
.pcr-cookie--bar .pcr-cookie__box { max-width: var(--pcr-container, 1240px); margin-inline: auto; }
.pcr-cookie--box { inset-inline-start: 1rem; width: min(26rem, calc(100% - 2rem)); }
.pcr-cookie--box.pcr-cookie--right { inset-inline: auto 1rem; }
.pcr-cookie--box .pcr-cookie__actions, .pcr-cookie--modal .pcr-cookie__actions { flex: 1 1 100%; }
.pcr-cookie--box .pcr-cookie__btn, .pcr-cookie--modal .pcr-cookie__btn { flex: 1 1 auto; }
.pcr-cookie--modal { inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(2, 6, 23, .55); backdrop-filter: blur(3px); }
.pcr-cookie--modal .pcr-cookie__box { width: min(30rem, 100%); flex-direction: column; text-align: center; padding: 2rem; }
.pcr-cookie--modal .pcr-cookie__icon { width: 3.75rem; height: 3.75rem; }

.pcr-cookie.is-visible .pcr-cookie__box { animation: pcr-cookie-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.pcr-cookie.is-leaving { opacity: 0; transition: opacity .3s; }
@keyframes pcr-cookie-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pcr-cookie.is-visible .pcr-cookie__box { animation: none; } }
@media (max-width: 600px) { .pcr-cookie--bar .pcr-cookie__actions { flex: 1 1 100%; } .pcr-cookie--bar .pcr-cookie__btn { flex: 1 1 auto; } }
/* Light-scheme notice on a dark site: keep the outline button readable. */
[data-scheme="dark"] .pcr-cookie:not(.pcr-cookie--brand):not(.pcr-cookie--dark) .pcr-btn--outline { color: #1d2733; border-color: rgba(29, 39, 51, .3); background: transparent; }
