.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 20px);
    width: 90%;
    max-width: 600px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
    font-family: sans-serif;

    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cookie-banner .close {
    position: absolute;
    right: 8px;
    top: 4px;
    font-size: 12px;   /* крупнее */
    font-weight: 300;  /* тоньше */
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.cookie-banner .close:hover {
    color: #000;
}

.cookie-buttons {
    margin-top: 16px; /* больше отступ сверху */
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons button {
  flex: 1;
  min-width: 110px;
  padding: 10px 16px;
  border-radius: 5px;
   border: 1px solid #ccc;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  background: transparent;          /* фон убрали */
  color: #333;               /* тёмно-серый текст */
  transition: background 0.2s ease;
  display: inline-block; /* важно для transform */
  transform-origin: center; /* центрируем масштабирование */
  animation: pulseBtn 6s ease-in-out infinite; /* пульсация */
}

.cookie-buttons button:hover {
  border-color: #888;        /* лёгкий ховер */
  color: #000;
}

#btn-accept,
#modal-accept {
  background: #2e7dff;
  border-color: transparent;
  color: #fff;
}

#btn-accept:hover,
#modal-accept:hover {
  background: #1c5ed9;
}

@keyframes pulseBtn {
  0%, 30%, 100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  15% {
    transform: scale(1.02);
    opacity: 0.85;
  }
}

.cookie-view.hidden {
    display: none;
}

.cookie-buttons button:nth-child(1) {
  animation-delay: 0s;
}
.cookie-buttons button:nth-child(2) {
  animation-delay: 2s;
}
.cookie-buttons button:nth-child(3) {
  animation-delay: 4s;
}