.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 720px;
  margin-inline: auto;
  padding: 20px 22px;
  border-radius: 12px;
  background: #fcf6f0;
  border: 1px solid rgba(81, 18, 27, 0.2);
  box-shadow: 0 12px 40px rgba(64, 66, 88, 0.18);
  color: #404258;
  font-family: 'Manrope', system-ui, sans-serif;
}

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

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

.cookie-banner__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
  color: #30302f;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn--primary {
  background: #51121b;
  color: #fff;
}

.cookie-banner__btn--primary:hover {
  background: #3d0d14;
}

.cookie-banner__btn--ghost {
  background: transparent;
  border-color: rgba(81, 18, 27, 0.35);
  color: #51121b;
}

.cookie-banner__btn--ghost:hover {
  background: rgba(81, 18, 27, 0.06);
}

.cookie-banner__btn--link {
  background: transparent;
  color: #51121b;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: auto;
  padding: 8px 4px;
  font-weight: 500;
}

.cookie-banner__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.cookie-banner__check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #51121b;
}

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

  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__btn--link {
    text-align: center;
    padding: 10px;
  }
}
