.cookie-consent {
  position: fixed;
  z-index: 1000;
  left: max(14px, env(safe-area-inset-left));
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(920px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid #d4e4dc;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.98);
  color: #111a20;
  box-shadow: 0 24px 65px rgba(17, 26, 32, 0.16);
  font-family: "Calibri Regular", "Segoe UI", system-ui, sans-serif;
}

.cookie-consent__copy {
  min-width: 0;
}

.cookie-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Calibri Bold", "Segoe UI Semibold", "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
}

.cookie-consent__copy p {
  margin: 0;
  color: #5f6f78;
  font-size: 0.94rem;
  line-height: 1.5;
}

.cookie-consent__copy a {
  color: #05673d;
  font-weight: 700;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-consent__button {
  min-width: 146px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #07884f;
  border-radius: 999px;
  background: #07884f;
  color: #ffffff;
  font: 700 0.92rem/1 "Calibri Semibold", "Segoe UI Semibold", "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(7, 136, 79, 0.18);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cookie-consent__button:hover {
  border-color: #05673d;
  background: #05673d;
  transform: translateY(-1px);
}

.cookie-consent__button--secondary {
  background: #ffffff;
  color: #05673d;
  box-shadow: none;
}

.cookie-consent__button--secondary:hover {
  background: #f5faf7;
}

.cookie-consent__button:focus-visible,
.cookie-consent__copy a:focus-visible {
  outline: 3px solid rgba(7, 136, 79, 0.28);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

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

  .cookie-consent__button {
    min-width: 0;
    font-size: 0.9rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__button {
    transition: none;
  }
}
