.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  display: none;
  width: min(560px, calc(100% - 48px));
  padding: 25px;
  color: #ffffff;
  background: #0d1e30;
  border-top: 4px solid #c9a86b;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .3);
}
.cookie-banner.show { display: block; }
.cookie-banner h2 { margin: 0 0 8px; color: #ffffff; font: 600 19px/1.3 "Montserrat", sans-serif; letter-spacing: -.01em; }
.cookie-banner p { margin: 0; color: rgba(255,255,255,.73); font: 400 14px/1.55 "Lato", sans-serif; }
.cookie-banner p a { color: #c9a86b; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.cookie-button { min-height: 42px; padding: 0 16px; border: 1px solid rgba(255,255,255,.48); border-radius: 1px; color: #ffffff; background: transparent; font: 700 10px/1 "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.cookie-button.accept { color: #0d1e30; background: #c9a86b; border-color: #c9a86b; }
.cookie-button:hover { border-color: #c9a86b; }
.cookie-preferences {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(5,15,26,.78);
  backdrop-filter: blur(6px);
}
.cookie-preferences.show { display: grid; }
.cookie-panel { position: relative; width: min(620px,100%); max-height: calc(100vh - 44px); overflow: auto; padding: 38px; color: #2e2e2e; background: #ffffff; box-shadow: 0 24px 65px rgba(0,0,0,.36); }
.cookie-panel h2 { margin: 0 0 10px; color: #0d1e30; font: 600 30px/1.15 "Montserrat", sans-serif; letter-spacing: -.03em; }
.cookie-panel > p { margin: 0 0 24px; color: #6f747a; font: 400 15px/1.6 "Lato", sans-serif; }
.cookie-close { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; border: 1px solid rgba(13,30,48,.15); color: #0d1e30; background: white; font-size: 23px; cursor: pointer; }
.cookie-category { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(13,30,48,.12); }
.cookie-category strong { display: block; margin-bottom: 5px; color: #0d1e30; font: 600 14px/1.3 "Montserrat", sans-serif; }
.cookie-category p { margin: 0; color: #6f747a; font: 400 13px/1.55 "Lato", sans-serif; }
.cookie-switch { position: relative; width: 48px; height: 26px; }
.cookie-switch input { position: absolute; opacity: 0; }
.cookie-slider { position: absolute; inset: 0; border-radius: 26px; background: #aeb4b9; cursor: pointer; transition: .2s; }
.cookie-slider::after { content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: .2s; }
.cookie-switch input:checked + .cookie-slider { background: #c9a86b; }
.cookie-switch input:checked + .cookie-slider::after { transform: translateX(22px); }
.cookie-switch input:disabled + .cookie-slider { opacity: .68; cursor: not-allowed; }
.cookie-panel-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(13,30,48,.12); }
.cookie-panel-actions button { min-height: 45px; padding: 0 18px; border: 1px solid #0d1e30; color: #0d1e30; background: white; font: 700 10px/1 "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.cookie-panel-actions .save { color: white; background: #0d1e30; }
[data-cookie-settings] { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
[data-cookie-settings]:hover { color: #c9a86b; }
.footer-bottom a[href="/privacy"] { color: inherit; text-decoration: none; }
.footer-bottom a[href="/privacy"]:hover { color: #c9a86b; text-decoration: none; }
.powered-by { display: inline-flex; align-items: center; gap: 7px; color: #ffffff; font-weight: 700; white-space: nowrap; }
.powered-by a { display: inline-flex; align-items: center; }
.powered-by img { display: block; width: auto; height: 24px; mix-blend-mode: screen; }
.powered-by a:hover { opacity: .84; }
@media (max-width: 600px) {
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 21px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions .accept { grid-column: 1 / -1; grid-row: 1; }
  .cookie-button { width: 100%; }
  .cookie-panel { padding: 34px 20px 24px; }
  .cookie-panel h2 { padding-right: 34px; font-size: 27px; }
  .cookie-panel-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .powered-by { justify-content: flex-start; }
}
