/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  border-top: 1px solid #e8e7e0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 2rem;
  display: none;
  /* Mostrato via JS */
  animation: cookieSlideUp 0.4s cubic-bezier(.22, 1, .36, 1) forwards;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #5a5850;
}

.cookie-banner-text a {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  opacity: 0.6;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: #0e0e0e;
  color: #fafaf8;
  border: 1.5px solid #0e0e0e;
}

.cookie-btn-accept:hover {
  background: #333;
  border-color: #333;
}

.cookie-btn-reject {
  background: transparent;
  color: #0e0e0e;
  border: 1.5px solid #d0cfc7;
}

.cookie-btn-reject:hover {
  background: #0e0e0e;
  color: #fafaf8;
  border-color: #0e0e0e;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 1.2rem 1.2rem;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-banner-text {
    font-size: 0.82rem;
    min-width: 0;
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 0.55rem 1rem;
  }
}
