.cookie-consent {
  position: fixed;
  top: auto !important;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 9999;
  display: none;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  pointer-events: none;
}

.cookie-consent.is-visible {
  display: flex;
}

.cookie-consent__panel {
  width: min(100%, 760px);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  color: #f7f4ee;
  background: rgba(13, 13, 13, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  pointer-events: auto;
  backdrop-filter: blur(12px);
}

.cookie-consent__title {
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.cookie-consent__text {
  margin: 0;
  color: rgba(247, 244, 238, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

.cookie-consent__text a {
  color: #f7f4ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.cookie-consent__button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  color: #f7f4ee;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  outline: none;
}

.cookie-consent__button--accept {
  color: #111;
  background: #f7f4ee;
  border-color: #f7f4ee;
}

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

  .cookie-consent__panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cookie-consent__button {
    width: 100%;
  }
}
