/* ===================================
   Cookie Banner + SEO styles
   =================================== */

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 0 24px 24px;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.25);
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-banner__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 250px;
}

.cookie-banner__text a {
  color: var(--pink);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.cookie-banner__btn--accept {
  background: var(--pink);
  color: white;
}
.cookie-banner__btn--accept:hover {
  background: var(--pink-hover);
}

.cookie-banner__btn--decline {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}
.cookie-banner__btn--decline:hover {
  background: rgba(255,255,255,0.14);
  color: white;
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; text-align: center; }
}

/* ── Skip to content (доступность) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--pink);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
