.cookie-consent,
.cookie-settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none
}

.cookie-consent[hidden],
.cookie-settings-backdrop[hidden] {
  display: none
}

.cookie-banner {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 1180px;
  margin: auto;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 22px;
  background: #0a182d;
  color: #fff;
  box-shadow: 0 24px 70px rgba(5, 14, 29, .3);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: auto
}

.cookie-copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 720px
}

.cookie-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #c99a51;
  color: #0c1a2e;
  font-size: 21px
}

.cookie-copy h2,
.cookie-settings-modal h2 {
  margin: 0 0 5px;
  font: 800 20px/1.2 Manrope, sans-serif
}

.cookie-copy h2 {
  color: #fff
}

.cookie-copy p {
  margin: 0 0 5px;
  color: #eef3f8;
  font-size: 15px;
  line-height: 1.55
}

.cookie-copy a {
  color: #f4cf8d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline
}

.cookie-actions,
.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap
}

.cookie-banner .btn {
  white-space: nowrap;
  min-height: 44px
}

.cookie-banner .btn-gold {
  border-color: #e9bd68;
  background: #e2aa45;
  color: #071120
}

.cookie-banner .btn-ghost {
  border-color: #fff;
  background: #fff;
  color: #0a182d
}

.cookie-settings-link {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px
}

.cookie-banner button:focus-visible,
.cookie-banner a:focus-visible,
.cookie-settings-modal button:focus-visible,
.cookie-settings-modal input:focus-visible {
  outline: 3px solid #f4c976;
  outline-offset: 3px
}

.cookie-settings-backdrop {
  background: rgba(5, 14, 29, .58);
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: auto
}

.cookie-settings-modal {
  position: relative;
  width: min(560px, 100%);
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  color: #152238;
  box-shadow: 0 28px 80px rgba(5, 14, 29, .35)
}

.cookie-settings-modal>p {
  color: #4d596b;
  margin: 0 0 22px
}

.cookie-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f5;
  cursor: pointer;
  font-size: 22px
}

.cookie-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid #e7e5df
}

.cookie-choice div {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.cookie-choice small {
  color: #4d596b
}

.cookie-choice input {
  width: 22px;
  height: 22px;
  accent-color: #c99a51
}

.cookie-modal-actions {
  margin-top: 22px
}

@media(max-width:760px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: stretch;
    flex-direction: column;
    padding: 18px
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .cookie-actions .cookie-settings-link {
    grid-column: 1/-1
  }

  .cookie-copy {
    gap: 10px
  }

  .cookie-icon {
    width: 36px;
    height: 36px
  }

  .cookie-settings-modal {
    padding: 26px 20px
  }

  .cookie-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr
  }
}
