.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
  position: fixed;
  z-index: 110;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 23px 26px;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 20px;
  background: #f9fcfd;
  color: var(--ink, #13252d);
  box-shadow: 0 20px 75px rgb(11 28 36 / 24%);
}
.cookie-banner-copy { max-width: 620px; }
.cookie-eyebrow {
  display: block;
  color: var(--brand-deep, #237da9);
  font: 750 10px/1.3 ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cookie-banner h2 { margin: 6px 0 7px; font-size: clamp(18px, 2vw, 22px); line-height: 1.25; letter-spacing: -.025em; }
.cookie-banner p { margin: 0; color: var(--ink-soft, #52636b); font-size: 12px; line-height: 1.65; }
.cookie-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-button {
  min-height: 43px;
  padding: 10px 14px;
  border: 1px solid #bfd1da;
  border-radius: 10px;
  background: white;
  color: #13252d;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.cookie-button:hover { background: #eaf4f9; border-color: #7fb5d2; }
.cookie-button-primary { background: #193642; border-color: #193642; color: #fff; }
.cookie-button-primary:hover { background: #275367; border-color: #275367; }
.cookie-button:focus-visible, .cookie-settings-link:focus-visible, .cookie-dialog-close:focus-visible {
  outline: 3px solid #4fabe4;
  outline-offset: 3px;
}
.cookie-settings-link {
  margin-left: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #c2d0d5;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-settings-link:hover { color: #83cff7; }
.cookie-dialog {
  width: min(570px, calc(100% - 28px));
  max-width: none;
  max-height: min(90vh, 760px);
  max-height: min(90dvh, 760px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  border: 1px solid #dae5ea;
  border-radius: 20px;
  background: #fff;
  color: #13252d;
  box-shadow: 0 24px 90px rgb(11 28 36 / 24%);
}
.cookie-dialog::backdrop { background: rgb(6 21 30 / 68%); backdrop-filter: blur(4px); }
.cookie-dialog-inner { padding: 29px; }
.cookie-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cookie-dialog-header h2 { margin: 6px 0 0; font-size: 27px; letter-spacing: -.045em; }
.cookie-dialog-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid #dae5ea;
  border-radius: 10px;
  background: #f4f8fa;
  color: #13252d;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.cookie-dialog-intro { margin: 15px 0 20px; color: #52636b; font-size: 13px; line-height: 1.7; }
.cookie-category-list { display: grid; gap: 10px; }
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 16px;
  border: 1px solid #dce4e7;
  border-radius: 12px;
  background: #f8fbfc;
}
.cookie-category-copy { display: grid; gap: 6px; }
.cookie-category-copy strong { font-size: 14px; }
.cookie-category-copy small { max-width: 410px; color: #52636b; font-size: 12px; line-height: 1.55; }
.cookie-category-state { flex: 0 0 auto; color: #237da9; font-size: 11px; font-weight: 700; }
.cookie-category input[type="checkbox"] { width: 21px; height: 21px; flex: 0 0 auto; accent-color: #237da9; cursor: pointer; }
.cookie-dialog-note { margin: 16px 0 0; color: #52636b; font-size: 11px; line-height: 1.6; }
.cookie-dialog-note a { color: #237da9; text-decoration: underline; }
.cookie-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
body.cookie-banner-visible .whatsapp-float { bottom: calc(max(22px, env(safe-area-inset-bottom)) + var(--cookie-banner-offset, 0px)); }
@media (max-width: 900px) {
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 16px; }
  .cookie-banner-copy { max-width: none; }
  .cookie-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .cookie-banner { width: calc(100% - 24px); padding: 18px; gap: 14px; border-radius: 16px; }
  .cookie-banner h2 { font-size: 19px; }
  .cookie-banner p { font-size: 12px; }
  .cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-actions .cookie-button-primary { grid-column: 1 / -1; }
  .cookie-button { min-width: 0; padding: 11px 9px; }
  .cookie-dialog-inner { padding: 22px 18px; }
  .cookie-dialog-header h2 { font-size: 23px; }
  .cookie-category { align-items: flex-start; padding: 14px; }
  .cookie-dialog-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-dialog-actions .cookie-button-primary { grid-column: 1 / -1; }
  body.cookie-banner-visible .whatsapp-float { bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--cookie-banner-offset, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-button { transition: none; }
}
