.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  border-top: 1px solid #bfd8ea;
  background: var(--cookie-consent-background, #ffffff);
  box-shadow: 0 -10px 26px rgba(12, 56, 99, 0.14);
  color: var(--cookie-consent-text, #123b66);
}

.cookie-consent[hidden] { display: none; }

.cookie-consent__inner {
  width: min(1800px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 22px 0;
}

.cookie-consent__notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.cookie-consent__preferences { display: none; }
.cookie-consent[data-mode="preferences"] .cookie-consent__notice { display: none; }
.cookie-consent[data-mode="preferences"] .cookie-consent__preferences { display: grid; gap: 18px; }

.cookie-consent__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--cookie-consent-accent, #0e7abf);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.cookie-consent__copy > p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #496a89;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent__policy-link {
  display: inline-block;
  margin-top: 7px;
  color: var(--cookie-consent-accent, #0e7abf);
  font-size: 13px;
  font-weight: 700;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-consent__actions button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--cookie-consent-accent, #0e7abf);
  border-radius: 5px;
  background: #ffffff;
  color: var(--cookie-consent-accent, #0e7abf);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.cookie-consent__actions button[data-cookie-accept],
.cookie-consent__actions button[data-cookie-save] {
  background: var(--cookie-consent-accent, #0e7abf);
  color: #ffffff;
}

.cookie-consent__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cookie-consent__choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #d8e5ef;
  border-radius: 5px;
  cursor: pointer;
}

.cookie-consent__choice input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--cookie-consent-accent, #0e7abf);
}

.cookie-consent__choice strong,
.cookie-consent__choice small { display: block; }
.cookie-consent__choice strong { font-size: 14px; }

.cookie-consent__choice small {
  margin-top: 3px;
  color: #59758f;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .cookie-consent__inner {
    width: calc(100vw - 32px);
    padding: 18px 0;
  }

  .cookie-consent__notice { grid-template-columns: 1fr; gap: 16px; }
  .cookie-consent__actions { justify-content: stretch; }
  .cookie-consent__actions button { flex: 1 1 132px; }
  .cookie-consent__choices { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .cookie-consent__actions { display: grid; grid-template-columns: 1fr; }
}
