.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner__box {
  width: min(100%, 960px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(24, 33, 27, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 10px 30px rgba(18, 31, 24, 0.10),
    0 2px 10px rgba(18, 31, 24, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}

.cookie-banner__box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #2a342d;
  max-width: 680px;
}

.cookie-banner__box a {
  color: #0d5c46;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 92, 70, 0.28);
  transition: color .2s ease, border-color .2s ease;
}

.cookie-banner__box a:hover {
  color: #084936;
  border-color: rgba(8, 73, 54, 0.45);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#cookie-accept,
#cookie-decline {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

#cookie-accept {
  color: #ffffff;
  background: linear-gradient(180deg, #0d5c46 0%, #084936 100%);
  box-shadow: 0 8px 20px rgba(13, 92, 70, 0.18);
}

#cookie-accept:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #11684f 0%, #073d2d 100%);
}

#cookie-decline {
  color: #2a342d;
  background: #f6f7f4;
  border-color: rgba(24, 33, 27, 0.10);
}

#cookie-decline:hover {
  transform: translateY(-1px);
  background: #eef1ec;
  border-color: rgba(24, 33, 27, 0.16);
}

#cookie-accept:focus-visible,
#cookie-decline:focus-visible,
.cookie-banner__box a:focus-visible {
  outline: 2px solid rgba(13, 92, 70, 0.45);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .cookie-banner__box {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
    border-radius: 18px;
  }

  .cookie-banner__box p {
    max-width: none;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  #cookie-accept,
  #cookie-decline {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner__box {
    padding: 14px;
    border-radius: 16px;
  }

  .cookie-banner__box p {
    font-size: 13px;
    line-height: 1.5;
  }

  #cookie-accept,
  #cookie-decline {
    min-height: 42px;
    font-size: 13px;
    padding: 0 14px;
  }
}