.cookie-banner {
  position: fixed;
  z-index: 80;
  bottom: 16px;
  left: 24px;
  right: 24px;
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: #fff;
  color: #102f48;
  border: 1px solid #cbdce8;
  border-radius: 16px;
  box-shadow: 0 8px 40px #102f4826;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner h2,
.cookie-dialog h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}
.cookie-banner a,
.cookie-dialog a {
  color: #155a9f;
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-actions button {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid #195e9e;
  border-radius: 7px;
  background: #fff;
  color: #155a9f;
  cursor: pointer;
}
.cookie-actions button:hover {
  background: #edf7fd;
}
.cookie-banner .cookie-actions {
  max-width: 345px;
}
.cookie-banner [data-cookie="settings"] {
  flex-basis: 100%;
}
.cookie-dialog {
  max-width: 560px;
  width: calc(100% - 32px);
  max-height: 85dvh;
  overflow: auto;
  border: 1px solid #cbdce8;
  border-radius: 18px;
  padding: 28px;
  color: #102f48;
  background: #fff;
}
.cookie-dialog::backdrop {
  background: #102f4866;
}
.cookie-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.cookie-dialog p {
  font-size: 0.9375rem;
  line-height: 1.65;
}
.cookie-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid #cbdce8;
  border-radius: 50%;
  background: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
.cookie-dialog section {
  border-top: 1px solid #d9e5ed;
  padding-top: 18px;
  margin-top: 18px;
}
.cookie-dialog h3 {
  font-size: 1rem;
  margin: 0 0 5px;
}
.cookie-toggle {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
}
.cookie-toggle input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0;
  flex: none;
  accent-color: #195e9e;
}
.cookie-toggle strong {
  font-size: 1rem;
}
.cookie-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.cookie-preferences {
  background: transparent;
  border: 0;
  padding: 5px 0;
  color: #c7d5df;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner button:focus-visible,
.cookie-dialog button:focus-visible,
.cookie-preferences:focus-visible {
  outline: 3px solid #195e9e;
  outline-offset: 3px;
}
body {
  padding-bottom: var(--cookie-height, 0px);
}
.floating-wa {
  bottom: calc(23px + var(--cookie-height, 0px));
}
@media (max-width: 800px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
    display: block;
    max-height: 65dvh;
    overflow: auto;
  }
  .cookie-banner .cookie-actions {
    margin-top: 14px;
    max-width: none;
  }
  .cookie-actions button {
    flex: 1;
  }
  .cookie-dialog {
    padding: 22px;
  }
  .cookie-dialog .cookie-actions {
    flex-direction: column;
  }
}
