.cw-consent {
  position: fixed;
  z-index: 10000;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px;
  width: min(440px, calc(100% - 32px));
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  color: #132633;
  box-shadow: 0 8px 36px #13263330;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

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

.cw-consent h2 {
  margin: 0 0 8px;
  font-family: Sora, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.cw-consent p {
  margin: 0 0 14px;
}

.cw-consent a {
  color: #1456ac;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cw-consent__actions {
  display: flex;
  gap: 10px;
}

.cw-consent__button {
  flex: 1;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #1456ac;
  border-radius: 3px;
  background: #fff;
  color: #1456ac;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cw-consent__button:hover {
  background: #edf4ff;
}

.cw-consent__button:disabled {
  border-color: #687781;
  color: #687781;
  cursor: not-allowed;
}

.cw-cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.cw-cookie-settings:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cw-consent :focus-visible,
.cw-cookie-settings:focus-visible {
  outline: 2px solid #1456ac;
  outline-offset: 4px;
}

@media (max-width: 480px) {
  .cw-consent {
    padding: 16px;
    font-size: 12px;
  }
}
