.cookie {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  width: min(440px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 3px solid #C3233A;
  background: #212121;
  color: #F5F5F5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  font-family: Arial, sans-serif;
  text-align: left;
}

.cookie__text {
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.cookie__text a {
  color: #FFC5CD;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookiebtnblock {
  display: flex;
  gap: 12px;
}

.cookie__btn {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid #C3233A;
  border-radius: 0;
  background: #C3233A;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.cookie__btn:hover {
  background: #A51D31;
  border-color: #A51D31;
}

.cookie__btn.declineBtnn {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.cookie__btn.declineBtnn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cookie :is(a, button):focus-visible {
  outline: 2px solid #9CA3AF;
  outline-offset: 3px;
}

@media (max-width: 576px) {
  .cookie {
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 18px;
    gap: 16px;
  }
}
