.cookie-consent {
  position: fixed;
  z-index: 10000;
  left: clamp(16px, 4vw, 32px);
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cookie-consent.is-hiding {
  opacity: 0;
  transform: translateY(8px);
}

.cookie-consent__content {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(47, 93, 44, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(24, 31, 24, 0.18);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.cookie-consent__content p {
  margin: 0;
  color: #4d554d;
  font-size: 0.94rem;
  line-height: 1.55;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.cookie-consent__btn {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(47, 93, 44, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #2f5d2c;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cookie-consent__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 93, 44, 0.12);
}

.cookie-consent__btn--primary {
  border-color: #2f5d2c;
  background: #2f5d2c;
  color: #fff;
}

.cookie-consent__link {
  color: #2f5d2c;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.cookie-consent__link:hover {
  text-decoration: underline;
}

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

  .cookie-consent__content {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 20px;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__btn {
    flex: 1 1 120px;
  }
}
