.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  width: min(420px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(34, 49, 40, 0.12);
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 18px 50px rgba(34, 49, 40, 0.18);
  color: #223128;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.cookie-consent strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.3;
}

.cookie-consent p {
  margin: 0;
  color: #4e6255;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent a {
  color: #447a57;
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cookie-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(94, 155, 115, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #447a57;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-actions button:first-child {
  background: #5e9b73;
  color: #fff;
  border-color: #5e9b73;
}

.footer-cookie-settings {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 640px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    border-radius: 14px;
  }
}
