/* Cookie banner (see assets/js/consent.js) — Packo brand colours */
.pk-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(680px, calc(100% - 32px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: #111;
  color: #f7f4ec;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  font: 400 14px/1.5 "Inter", system-ui, sans-serif;
}
.pk-consent[hidden] { display: none; }
.pk-consent__text { margin: 0; flex: 1; }
.pk-consent__text a { color: #ffd100; }
.pk-consent__actions { display: flex; gap: 10px; flex: none; }
.pk-consent__btn {
  font: 600 14px/1 "Inter", system-ui, sans-serif;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity .2s, background-color .2s;
}
/* Same visual weight for both choices, as the Garante requires */
.pk-consent__btn--reject { background: transparent; color: #f7f4ec; border: 1px solid #f7f4ec; }
.pk-consent__btn--reject:hover { background: #f7f4ec; color: #111; }
.pk-consent__btn--accept { background: #ffd100; color: #111; border: 1px solid #ffd100; }
.pk-consent__btn--accept:hover { opacity: .9; }
.pk-consent__btn:focus-visible { outline: 2px solid #ffd100; outline-offset: 2px; }

@media (max-width: 600px) {
  .pk-consent { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; }
  .pk-consent__actions .pk-consent__btn { flex: 1; }
}

/* Footer "Cookie settings" link: only when analytics is configured */
.pk-cookie-link { display: none; color: inherit; text-decoration: underline; cursor: pointer; }
.pk-consent-enabled .pk-cookie-link { display: inline; }
.pk-cookie-sep { display: none; }
.pk-consent-enabled .pk-cookie-sep { display: inline; }

/* Footer credit link (home) — inherits the footer text style */
.pk-credit { color: inherit; text-decoration: underline; }
