.wmp-cookie {
  position: fixed;
  left: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  right: auto;
  z-index: 10000;
  width: min(22.5rem, calc(100vw - 2rem));
  pointer-events: none;
}

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

.wmp-cookie__panel {
  pointer-events: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(15, 15, 15, 0.12);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 15, 15, 0.16);
  color: #0f0f0f;
}

.wmp-cookie__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wmp-cookie__text {
  margin: 0.35rem 0 0;
  max-width: none;
  font-size: 13px;
  line-height: 1.5;
  color: #5a6b64;
}

.wmp-cookie__text a {
  color: #0f0f0f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wmp-cookie__text a:hover {
  color: #E04E00;
}

.wmp-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.wmp-cookie__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 9999px;
  padding: 0.65rem 1.1rem;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.wmp-cookie__btn--ghost {
  background: #f2f3f4;
  color: #0f0f0f;
}

.wmp-cookie__btn--ghost:hover {
  background: #e6e8ea;
}

.wmp-cookie__btn--primary {
  background: #FF5C00;
  color: #fff;
}

.wmp-cookie__btn--primary:hover {
  background: #E04E00;
}
