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

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 14px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.cookie-consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  color: #1f2328;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cookie-consent__title {
  font-weight: 700;
  margin-bottom: 4px;
}

.cookie-consent__desc {
  font-size: 14px;
  line-height: 1.35;
}

.cookie-consent__link {
  color: inherit;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
}

/* Важно для комплаенса: кнопки одинаковые по весу/размеру */
.cookie-consent__btn {
  min-width: 160px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #1f2328;
  background: #ffffff;
  color: #1f2328;
  cursor: pointer;
  font-weight: 600;
}

.cookie-consent__btn:hover {
  background: #f3f4f6;
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__actions {
    grid-auto-flow: row;
  }

  .cookie-consent__btn {
    width: 100%;
    min-width: 0;
  }
}

